You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When looking at a crashdump with gdb I cannot even print a backtrace:
(gdb) bt
Python Exception <class 'gdb.error'>: Dwarf Error: Cannot find DIE at 0x0 referenced from DIE at 0x574a80 [in module /home/michals/gdb-15.1/System.Globalization.Tests.dbg]
Dwarf Error: Cannot find DIE at 0x0 referenced from DIE at 0x574a8d [in module /home/michals/gdb-15.1/System.Globalization.Tests.dbg]
Looking around on the internet, I found that clang recently took a change under LLDB tuning to generate debug info that GDB cannot even parse: llvm/llvm-project#124790.
We compile native code with -glldb (LLDB tuning of debug info):
@MichalStrehovsky presumably it works if you install lldb from Ubuntu repos right?
It "works". I'm running lldb --core core.from.helix ExecutableFileName. It takes good 2 minutes to launch, I haven't root caused that one, so I wanted to switch to gdb and that's when I hit this one (that was easier to root cause).
(I'm looking at runfo get-helix-payload -j 4151bc93-6412-4a3d-81c5-148e9a0efd70 -w System.Globalization.Tests -o c:\hellix\4151bc93-6412-4a3d-81c5-148e9a0efd70\System.Globalization.Tests\ if anyone wants to play along.)
looks like we switched to -glldb in #90873 to fix some other issue...
I went through the repro steps of the associated issue #90791 with clang-18. I can no longer repro the issue -glldb was previously working around. The repro steps work fine with -g and clang-18. This looked like a clang/LLVM bug and looks like the clang/LLVM bug was fixed. We should just revert. Revert at #130296.
Activity
dotnet-policy-service commentedon Jul 7, 2026
Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.
akoeplinger commentedon Jul 7, 2026
looks like we switched to -glldb in #90873 to fix some other issue...
/cc @filipnavara in case you have ideas
akoeplinger commentedon Jul 7, 2026
@MichalStrehovsky presumably it works if you install
lldbfrom Ubuntu repos right?MichalStrehovsky commentedon Jul 7, 2026
It "works". I'm running
lldb --core core.from.helix ExecutableFileName. It takes good 2 minutes to launch, I haven't root caused that one, so I wanted to switch to gdb and that's when I hit this one (that was easier to root cause).(I'm looking at
runfo get-helix-payload -j 4151bc93-6412-4a3d-81c5-148e9a0efd70 -w System.Globalization.Tests -o c:\hellix\4151bc93-6412-4a3d-81c5-148e9a0efd70\System.Globalization.Tests\if anyone wants to play along.)MichalStrehovsky commentedon Jul 7, 2026
I went through the repro steps of the associated issue #90791 with clang-18. I can no longer repro the issue
-glldbwas previously working around. The repro steps work fine with-gand clang-18. This looked like a clang/LLVM bug and looks like the clang/LLVM bug was fixed. We should just revert. Revert at #130296.Do not tune debug info for LLDB (#130296)
Do not tune debug info for LLDB (#130296)