<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 - A few rough corners related to post-mortem debugging (core/minidump)"
href="https://bugs.llvm.org/show_bug.cgi?id=34532">34532</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>A few rough corners related to post-mortem debugging (core/minidump)
</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@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mosescu@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>1. attempting to resume execution on a core/minidump target (process continue)
reports an error (good) but it still changes the process state to running (bad)
resulting in a inconsistent debugger overall state:
(lldb) target create --core "core"
Core file '/usr/local/google/home/mosescu/work/crash/lldb/linux-joshua/core'
(x86_64) was loaded.
(lldb) c
error: Failed to resume process: error: elf-core does not support resuming
processes.
(lldb) bt
error: invalid thread
2. "thread info" hits an access violation:
(lldb) thread info
Stack dump:
0. HandleCommand(command = "thread info")
Segmentation fault (core dumped)
3. step commands silently fail on core/minidumps
4. quit will incorrectly warn when debugging core dumps (minidumps ok in this
case)
(lldb) target create --core "core"
Core file '/usr/local/google/home/mosescu/work/crash/lldb/linux-joshua/core'
(x86_64) was loaded.
(lldb) q
Quitting LLDB will kill one or more processes. Do you really want to proceed:
[Y/n] y</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>