<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - debugserver: Assertion Failed in GetRegisterContext"
href="https://bugs.llvm.org/show_bug.cgi?id=36968">36968</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>debugserver: Assertion Failed in GetRegisterContext
</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>MacOS X
</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@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alessandro.arzilli@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Hi,
I'm a maintainer of Delve [1] a debugger for the Go [2] programming language.
On macOS we are using debugserver as our backend and starting with a recent
update of the Command Line Tools our users are reporting a systematic crash of
debugserver [3][4], specifically:
Assertion failed: (bytes_written == size), function GetRegisterContext, file
/Library/Caches/com.apple.xbs/Sources/lldb/lldb-902.0.79.2/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp,
line 2689.
This happens in response to us sending the g command for the first time. To me
this sounds like a bug in debugserver.
[1] <a href="http://github.com/derekparker/delve/">http://github.com/derekparker/delve/</a>
[2] <a href="https://golang.org/">https://golang.org/</a>
[3] <a href="https://github.com/derekparker/delve/issues/1015#issuecomment-377595278">https://github.com/derekparker/delve/issues/1015#issuecomment-377595278</a>
[4] <a href="https://github.com/derekparker/delve/issues/1165">https://github.com/derekparker/delve/issues/1165</a></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>