llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.32k stars 11.69k forks source link

lldb crash in llvm::sys::PrintStackTrace #96542

Open devsnek opened 3 months ago

devsnek commented 3 months ago
(lldb) run
Process 331504 launched: '/home/snek/code/v8/v8/out/x64.debug/d8' (i386)
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
 #0 0x00007c2305d7bcb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/libLLVM-17.so+0x77bcb0)
 #1 0x00007c2305d78f1d (/usr/lib/libLLVM-17.so+0x778f1d)
 #2 0x00007c2305050ae0 (/usr/lib/libc.so.6+0x3cae0)
 #3 0x00007c230518e35c (/usr/lib/libc.so.6+0x17a35c)
 #4 0x00007c230dcac11e (/usr/lib/liblldb.so.17+0x4ac11e)
 #5 0x00007c230df6cc50 (/usr/lib/liblldb.so.17+0x76cc50)
 #6 0x00007c230df73789 (/usr/lib/liblldb.so.17+0x773789)
 #7 0x00007c230dbd2142 (/usr/lib/liblldb.so.17+0x3d2142)
 #8 0x00007c2305cf9849 llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/usr/lib/libLLVM-17.so+0x6f9849)
 #9 0x00007c2305cfa302 (/usr/lib/libLLVM-17.so+0x6fa302)
#10 0x00007c23050a6ded (/usr/lib/libc.so.6+0x92ded)
#11 0x00007c230512a0dc (/usr/lib/libc.so.6+0x1160dc)
LLDB diagnostics will be written to /tmp/diagnostics-8182bc
Please include the directory content when filing a bug report

diagnostics.log is empty

EugeneZelenko commented 3 months ago

Could you please try 18 or main branch?

llvmbot commented 3 months ago

@llvm/issue-subscribers-lldb

Author: snek (devsnek)

``` (lldb) run Process 331504 launched: '/home/snek/code/v8/v8/out/x64.debug/d8' (i386) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. #0 0x00007c2305d7bcb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/libLLVM-17.so+0x77bcb0) #1 0x00007c2305d78f1d (/usr/lib/libLLVM-17.so+0x778f1d) #2 0x00007c2305050ae0 (/usr/lib/libc.so.6+0x3cae0) #3 0x00007c230518e35c (/usr/lib/libc.so.6+0x17a35c) #4 0x00007c230dcac11e (/usr/lib/liblldb.so.17+0x4ac11e) #5 0x00007c230df6cc50 (/usr/lib/liblldb.so.17+0x76cc50) #6 0x00007c230df73789 (/usr/lib/liblldb.so.17+0x773789) #7 0x00007c230dbd2142 (/usr/lib/liblldb.so.17+0x3d2142) #8 0x00007c2305cf9849 llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/usr/lib/libLLVM-17.so+0x6f9849) #9 0x00007c2305cfa302 (/usr/lib/libLLVM-17.so+0x6fa302) #10 0x00007c23050a6ded (/usr/lib/libc.so.6+0x92ded) #11 0x00007c230512a0dc (/usr/lib/libc.so.6+0x1160dc) LLDB diagnostics will be written to /tmp/diagnostics-8182bc Please include the directory content when filing a bug report ``` diagnostics.log is empty
devsnek commented 3 months ago

@EugeneZelenko this crash only happened once and I've never seen it again. My distro also only provides 17. Sorry I don't have any better information.