[llvm-bugs] [Bug 34532] New: A few rough corners related to post-mortem debugging (core/minidump)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 8 15:56:28 PDT 2017


            Bug ID: 34532
           Summary: A few rough corners related to post-mortem debugging
           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
(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

(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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170908/57e49cc5/attachment.html>

More information about the llvm-bugs mailing list