[lldb-dev] [Bug 21736] New: memory read assertion failure with -f a -s 32

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 3 15:19:30 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21736

            Bug ID: 21736
           Summary: memory read assertion failure with -f a -s 32
           Product: lldb
           Version: 3.2
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: mjohnlnl at gmail.com
    Classification: Unclassified

Steps to reproduce:

from the terminal:

1. open a binary;
2. breakpoint set -name main
3. r
4. memory read -f a -s 32 `$rbp` `$rbp + 0x30`

Crashes lldb and reports:

Assertion failed: ("GetMax64 unhandled case!" == NULL), function GetMaxU64,
file /SourceCache/lldb/lldb-320.4.156/source/Core/DataExtractor.cpp, line 692.
Abort trap: 6

memory read -f a -s 32 `$rbp` `$rbp + 0x30`
Assertion failed: ("GetMax64 unhandled case!" == NULL), function GetMaxU64,
file /SourceCache/lldb/lldb-320.4.156/source/Core/DataExtractor.cpp, line 692.
Abort trap: 6

Commentary:

the combination -f a -s 32 is probably nonsensical(?) but changing the value of
the rbp offset to, say, 0x10, returns nothing and does not abort with an
assertion failure.

-- 
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/20141203/afc4f8d3/attachment.html>


More information about the lldb-dev mailing list