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@cs.uiuc.edu
          Reporter: mjohn...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to