[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253881

Dimitry Andric <dim_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|toolchain_at_FreeBSD.org       |dim_at_FreeBSD.org
             Status|New                         |In Progress

--- Comment #4 from Dimitry Andric <dim_at_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.
Received on Sun Aug 15 2021 - 17:47:49 UTC

Original text of this message