[lldb-dev] [Bug 20352] New: test_stop_hook_multiple_threads_with_dwarf hangs on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 17 17:58:19 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20352

            Bug ID: 20352
           Summary: test_stop_hook_multiple_threads_with_dwarf hangs on
                    Linux
           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: tfiala at google.com
    Classification: Unclassified

This test is sometimes failing on Linux.  When it fails, it's really timing
out, and still running.

Attaching to it, here's the call stack.  It's busy waiting on whatever it's
doing, because it's still accumulating run time at this point (7 minutes in
when I attached to it).

Attaching to program: /mnt/ssd/work/macosx.sync/mbp-svn/build-debug/bin/lldb,
process 30321
warning: Unable to find libthread_db matching inferior's thread library, thread
debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread
debugging will not be available.
0x00007fa486c5dc33 in select () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0x00007fa486c5dc33 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa48977634d in
lldb_private::ConnectionFileDescriptor::BytesAvailable (this=0x24dc608,
timeout_usec=4294967295, error_ptr=0x0)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp:775
#2  0x00007fa489775c3d in lldb_private::ConnectionFileDescriptor::Read
(this=0x24dc608, dst=0x7fff98fca5e3, dst_len=1, timeout_usec=4294967295, 
    status=@0x7fff98fca5e4: lldb::eConnectionStatusSuccess, error_ptr=0x0)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Core/ConnectionFileDescriptor.cpp:454
#3  0x00007fa489764676 in lldb_private::Editline::GetCharFromInputFileCallback
(e=0x24eac00, c=0x7fff98fca66b "\211\244\177")
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Host/common/Editline.cpp:746
#4  0x00007fa4878cf4bc in el_getc () from
/usr/lib/x86_64-linux-gnu/libedit.so.2
#5  0x00007fa4878cf701 in el_gets () from
/usr/lib/x86_64-linux-gnu/libedit.so.2
#6  0x00007fa489764b31 in lldb_private::Editline::PrivateGetLine
(this=0x24dc550, line="")
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Host/common/Editline.cpp:311
#7  0x00007fa489764eb8 in lldb_private::Editline::GetLine (this=0x24dc550,
line="", interrupted=@0x7fff98fca9af: false)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Host/common/Editline.cpp:370
#8  0x00007fa48921beea in lldb_private::IOHandlerEditline::GetLine
(this=0x24eaaf0, line="", interrupted=@0x7fff98fca9af: false)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Core/IOHandler.cpp:386
#9  0x00007fa48921c875 in lldb_private::IOHandlerEditline::Run (this=0x24eaaf0)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Core/IOHandler.cpp:606
#10 0x00007fa489200fbc in lldb_private::Debugger::ExecuteIOHanders
(this=0x23bf3c0)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Core/Debugger.cpp:872
#11 0x00007fa48931108b in
lldb_private::CommandInterpreter::RunCommandInterpreter (this=0x23c3340,
auto_handle_events=true, spawn_thread=false)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp:3164
#12 0x00007fa4895f46da in lldb::SBDebugger::RunCommandInterpreter
(this=0x7fff98fcd118, auto_handle_events=true, spawn_thread=false)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/source/API/SBDebugger.cpp:974
#13 0x00000000004071a9 in Driver::MainLoop (this=0x7fff98fcd0f8) at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/tools/driver/Driver.cpp:967
#14 0x000000000040760b in main (argc=3, argv=0x7fff98fcd2d8,
envp=0x7fff98fcd2f8)
    at
/mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/tools/driver/Driver.cpp:1066
(gdb)

-- 
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/20140718/06c87aaf/attachment.html>


More information about the lldb-dev mailing list