[lldb-dev] [Bug 20319] New: Crashes on run with Segmentation Fault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 16 01:07:21 PDT 2014


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

            Bug ID: 20319
           Summary: Crashes on run with Segmentation Fault
           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: peterhull90 at gmail.com
    Classification: Unclassified

I have installed lldb-3.5 from the ubuntu package repository but it always
crashes when I run the debuggee.

Typical session: (me.c is just 'hello world' - behaviour is the same for any
program) 
$ clang -O0 -g me.c -o me
$ lldb me
Current executable set to 'me' (i386).
(lldb) run
Process 13850 launching
Segmentation fault (core dumped)

Reproducible:
always

Using gdb I can get a backtrace:
#0  0xb7b587e7 in POSIXThread::WatchNotify(ProcessMessage const&) ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#1  0xb7b505a2 in LinuxThread::TraceNotify(ProcessMessage const&) ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#2  0xb7b593af in POSIXThread::Notify(ProcessMessage const&) ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#3  0xb7b5c5fb in ProcessPOSIX::RefreshStateAfterStop() ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#4  0xb70b0bc3 in
lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) () from
/usr/lib/i386-linux-gnu/liblldb.so
#5  0xb70b0f79 in
lldb_private::Process::HandlePrivateEvent(std::shared_ptr<lldb_private::Event>&)
() from /usr/lib/i386-linux-gnu/liblldb.so
#6  0xb70b8442 in
lldb_private::Process::Launch(lldb_private::ProcessLaunchInfo&) () from
/usr/lib/i386-linux-gnu/liblldb.so
#7  0xb70d8de2 in lldb_private::Target::Launch(lldb_private::Listener&,
lldb_private::ProcessLaunchInfo&) () from /usr/lib/i386-linux-gnu/liblldb.so
#8  0xb6d2b1d3 in ?? () from /usr/lib/i386-linux-gnu/liblldb.so
#9  0xb6eac942 in lldb_private::CommandObjectParsed::Execute(char const*,
lldb_private::CommandReturnObject&) () from /usr/lib/i386-linux-gnu/liblldb.so
#10 0xb6ea9f68 in lldb_private::CommandInterpreter::HandleCommand(char const*,
lldb_private::LazyBool, lldb_private::CommandReturnObject&,
lldb_private::ExecutionContext*, bool, bool) () from
/usr/lib/i386-linux-gnu/liblldb.so
#11 0xb6eaabbb in
lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_
private::IOHandler&, std::string&) () from /usr/lib/i386-linux-gnu/liblldb.so
#12 0xb6daf5fb in lldb_private::IOHandlerEditline::Run() ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#13 0xb6d9069f in lldb_private::Debugger::ExecuteIOHanders() ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#14 0xb6e9d934 in lldb_private::CommandInterpreter::RunCommandInterpreter(bool,
bool) () from /usr/lib/i386-linux-gnu/liblldb.so
#15 0xb6c88a0d in lldb::SBDebugger::RunCommandInterpreter(bool, bool) ()
   from /usr/lib/i386-linux-gnu/liblldb.so
#16 0x0804be9a in Driver::MainLoop() ()
#17 0x0804afa6 in main ()

Versions:
$ lldb --version
lldb version 3.5 ( revision )
$ uname -a
Linux peter-VirtualBox 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:43:42 UTC
2014 i686 i686 i686 GNU/Linux
I am running Ubuntu 14.04 under VirtualBox 4.3.12 with a Windows 8.1 x64 host

I have also sent a crash report to Ubuntu.

-- 
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/20140716/94ec9124/attachment.html>


More information about the lldb-dev mailing list