<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - memory read assertion failure with -f a -s 32"
   href="http://llvm.org/bugs/show_bug.cgi?id=21736">21736</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>memory read assertion failure with -f a -s 32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mjohnlnl@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</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>