[lldb-dev] [Bug 20933] New: LLDB crashes on exit
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 13 02:53:22 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20933
Bug ID: 20933
Summary: LLDB crashes on exit
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: octoploid at yandex.com
Classification: Unclassified
e.g.:
~ % gdb --args lldb ./a.out
Reading symbols from lldb...(no debugging symbols found)...done.
(gdb) set follow-fork-mode parent
(gdb) run
Starting program: /usr/local/bin/lldb ./a.out
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7ffff2a56700 (LWP 24683)]
(lldb) target create "./a.out"
Current executable set to './a.out' (x86_64).
[Thread 0x7ffff2a56700 (LWP 24683) exited]
[New Thread 0x7ffff2a56700 (LWP 24684)]
(lldb) b foo
Breakpoint 1: where = a.out`foo + 4 at anon_namesp.cpp:1, address =
0x000000000040058a
(lldb) run
[New Thread 0x7ffff1e40700 (LWP 24691)]
[New Thread 0x7ffff163f700 (LWP 24693)]
[New Thread 0x7ffff0e3e700 (LWP 24694)]
Process 24692 launching
[New Thread 0x7fffe3fff700 (LWP 24695)]
Process 24692 launched: './a.out' (x86_64)
Process 24692 stopped
* thread #1: tid = 24692, 0x00007ffff7ddbc80, name = 'a.out', stop reason =
trace
frame #0: 0x00007ffff7ddbc80
-> 0x7ffff7ddbc80: movq %rsp, %rdi
0x7ffff7ddbc83: callq 0x7ffff7ddfb00
0x7ffff7ddbc88: movq %rax, %r12
0x7ffff7ddbc8b: movl 0x2210df(%rip), %eax
Process 24692 stopped
* thread #1: tid = 24692, 0x000000000040058a a.out`foo + 4 at
anon_namesp.cpp:1, name = 'a.out', stop reason = breakpoint 1.1
frame #0: 0x000000000040058a a.out`foo + 4 at anon_namesp.cpp:1
-> 1 namespace { int foo (void) { return 0; } } int main() { return foo ();
}
error: No auto repeat.
(lldb) q
Quitting LLDB will kill one or more processes. Do you really want to proceed:
[Y/n]
[Thread 0x7ffff2a56700 (LWP 24684) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff47ce520 in pthread_join () from /lib/libpthread.so.0
(gdb) bt
#0 0x00007ffff47ce520 in pthread_join () from /lib/libpthread.so.0
#1 0x00007ffff76aede1 in lldb_private::HostThreadPosix::Join(void**) () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#2 0x00007ffff76acc0d in lldb_private::HostThread::Join(void**) () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#3 0x00007ffff77fece3 in
lldb_private::Process::ControlPrivateStateThread(unsigned int) () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#4 0x00007ffff78095f6 in lldb_private::Process::Destroy() () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#5 0x00007ffff780cd73 in lldb_private::Process::Finalize() () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#6 0x00007ffff79ca8c9 in ProcessPOSIX::Finalize() () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#7 0x00007ffff76b8511 in lldb_private::Debugger::Clear() () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#8 0x00007ffff76b85fb in
lldb_private::Debugger::Destroy(std::shared_ptr<lldb_private::Debugger>&) ()
from /usr/local/bin/../lib/liblldb.so.3.6.0
#9 0x00007ffff7956a9f in lldb::SBDebugger::Destroy(lldb::SBDebugger&) () from
/usr/local/bin/../lib/liblldb.so.3.6.0
#10 0x0000000000403ca0 in Driver::MainLoop() ()
#11 0x000000000040300e in main ()
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140913/8288009e/attachment.html>
More information about the lldb-dev
mailing list