<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crashes on run with Segmentation Fault"
href="http://llvm.org/bugs/show_bug.cgi?id=20319">20319</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crashes on run with Segmentation Fault
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>peterhull90@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>