[Bug 253881] /usr/bin/lldb: Unable to backtrace a core dump

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Aug 2021 17:47:49 UTC

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
           Assignee|toolchain@FreeBSD.org       |dim@FreeBSD.org
             Status|New                         |In Progress

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
Created attachment 227227
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227227&action=edit
Fix lldb sometimes throwing a 'unhandled Error'

I've identified the problem, which only occurs when LLVM assertions are off
(this is default on -STABLE and -RELEASE branches, but it can be turned off on
-CURRENT using WITHOUT_LLVM_ASSERTSIONS too), and submitted a fix to upstream
as: https://reviews.llvm.org/D108088

Meanwhile, can you please try the attached patch on a recent FreeBSD 14.0 or
13.0 source tree, and see if it resolves the problem for you? (This probably
won't apply cleanly on a stable/12 tree.)

You are receiving this mail because:
You are the assignee for the bug.