<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 --- - SB API GetValueDidChange() returns false although value did change, on FreeBSD"
href="http://llvm.org/bugs/show_bug.cgi?id=21620">21620</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SB API GetValueDidChange() returns false although value did change, on FreeBSD
</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>FAIL: test_with_dwarf_and_process_launch_api
(TestValueVarUpdate.HelloWorldTestCase)
Test SBValue::GetValueDidChange
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 331, in
wrapper
return func(self, *args, **kwargs)
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/python_api/value_var_update/TestValueVarUpdate.py",
line 28, in test_with_dwarf_and_process_launch_api
self.do_test()
File
"/tank/emaste/src/llvm/tools/lldb/test/python_api/value_var_update/TestValueVarUpdate.py",
line 61, in do_test
self.assertTrue(i.GetValueDidChange(), "GetValueDidChange() is
saying a lie")
AssertionError: False is not True : GetValueDidChange() is saying a lie
Config=x86_64-/usr/bin/clang
The two assertions here are:
self.assertTrue(i_val != i.GetValueAsUnsigned(0), "GetValue()
is saying a lie")
self.assertTrue(i.GetValueDidChange(), "GetValueDidChange() is
saying a lie")
which is a bit odd: GetValueAsUnsigned shows that the variable's value
has been updated, but that's not reflected in GetValueDidChange. It
fails both with parallel tests (8 CPUs) and without parallelism.
However, if I invoke this test in isolation (though python dotest.py
-f ...) it passes.</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>