<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 --- - lldb reports values for null pointers on FreeBSD -- test_expr_null (TestAnonymous.AnonymousTestCase)"
   href="http://llvm.org/bugs/show_bug.cgi?id=21550">21550</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb reports values for null pointers on FreeBSD -- test_expr_null (TestAnonymous.AnonymousTestCase)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </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>emaste@freebsd.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This test started failing:

FAIL: test_expr_null (TestAnonymous.AnonymousTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 382, in
wrapper
    return func(self, *args, **kwargs)
  File
"/tank/emaste/src/llvm/tools/lldb/test/lang/c/anonymous/TestAnonymous.py", line
71, in test_expr_null
    self.expr_null()
  File
"/tank/emaste/src/llvm/tools/lldb/test/lang/c/anonymous/TestAnonymous.py", line
152, in expr_null
    self.expect("expression *(type_z *)pz", error = True)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1849, in
expect
    "Command '" + str + "' is expected to fail!")
AssertionError: True is not False : Command 'expression *(type_z *)pz' is
expected to fail!

Reproducing manually:


(lldb) expression pz
(type_z *) $1 = 0x0000000000000000
(lldb) expression *pz
(type_z) $2 = {
  y = (dummy = 0)
}
(lldb) expression *(int *)0
(int) $3 = 0

The test has the comment # This should fail because pz is 0, but it succeeds on
OS/X.</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>