[lldb-dev] [Bug 34532] New: A few rough corners related to post-mortem debugging (core/minidump)
via lldb-dev
lldb-dev at lists.llvm.org
Fri Sep 8 15:56:28 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34532
Bug ID: 34532
Summary: A few rough corners related to post-mortem debugging
(core/minidump)
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mosescu at google.com
CC: llvm-bugs at lists.llvm.org
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
--
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/20170908/1db503b0/attachment.html>
More information about the lldb-dev
mailing list