<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:emaste@freebsd.org" title="emaste@freebsd.org">emaste@freebsd.org</a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - inferior process exits due to SIGTRAP on FreeBSD after detach, or exiting LLDB"
href="http://llvm.org/bugs/show_bug.cgi?id=18894">bug 18894</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>lldb-dev@cs.uiuc.edu
</td>
<td>emaste@freebsd.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - inferior process exits due to SIGTRAP on FreeBSD after detach, or exiting LLDB"
href="http://llvm.org/bugs/show_bug.cgi?id=18894#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - inferior process exits due to SIGTRAP on FreeBSD after detach, or exiting LLDB"
href="http://llvm.org/bugs/show_bug.cgi?id=18894">bug 18894</a>
from <span class="vcard"><a class="email" href="mailto:emaste@freebsd.org" title="emaste@freebsd.org">emaste@freebsd.org</a>
</span></b>
<pre>quitting while stopped at a breakpoint looks like this (with log enable freebsd
ptrace & lldb process):
(lldb) quit
Quitting LLDB will kill one or more processes. Do you really want to proceed:
[Y/n] y
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=400480 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 182
PT_IO: op=WRITE_D offs=400480 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=400480 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=4005b0 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 182
PT_IO: op=WRITE_D offs=4005b0 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=4005b0 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=800602d20 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 182
PT_IO: op=WRITE_D offs=800602d20 size=1
ptrace(PT_IO, 74686, 0x7fffff9fce08, 0) called from file
../tools/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp line 166
PT_IO: op=READ_D offs=800602d20 size=1
Process::SetPrivateState (exited)
Process::SetPrivateState (exited) stop_id = 5
Process::ControlPrivateStateThread (signal = 1)
Sending control event of type: 1.
Process::ShouldBroadcastEvent (0x808cdee20) => new state: exited, last
broadcast state: exited - YES
Process::HandlePrivateEvent (pid = 74686) broadcasting new state exited (old
state stopped) to public
Process::RunPrivateStateThread (arg = 0x808aed500, pid = 74686) about to exit
with internal state exited...
Process::RunPrivateStateThread (arg = 0x808aed500, pid = 74686) thread
exiting...
The control event killed the private state thread without having to cancel.
<pause here for a moment>
Went to stop the private state thread, but it was already invalid.</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>