On 28 September 2012 14:15, Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 09/28/2012 01:55 PM, Paul Berry wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 5 September 2012 15:09, Ian Romanick <<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a><br></div><div class="im">
<mailto:<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>>> wrote:<br>
<br>
From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com" target="_blank">ian.d.romanick@intel.com</a><br></div>
<mailto:<a href="mailto:ian.d.romanick@intel.com" target="_blank">ian.d.romanick@intel.<u></u>com</a>>><div class="im"><br>
<br>
This test is only built when shared-glapi is used. Because of changes<br>
elsewhere in the tree that were necessary to make shared-glapi work<br>
correct with GLX, it's not feasible to make the test function both ways.<br>
<br>
Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com" target="_blank">ian.d.romanick@intel.com</a><br></div>
<mailto:<a href="mailto:ian.d.romanick@intel.com" target="_blank">ian.d.romanick@intel.<u></u>com</a>>><div class="im"><br>
<br>
<br>
This test is failing on my system when I run "make check":<br>
<br>
[----------] 1 test from DispatchSanity_test<br>
[ RUN ] DispatchSanity_test.GLES2<br>
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn<br>
compression/decompression unavailable<br>
dispatch_sanity.cpp:122: Failure<br>
Value of: table[i]<br>
Actual: 0x4de54e<br>
Expected: (_glapi_proc) _mesa_generic_nop<br>
Which is: 0x41af72<br>
i = 321<br>
[ FAILED ] DispatchSanity_test.GLES2 (4 ms)<br>
[----------] 1 test from DispatchSanity_test (4 ms total)<br>
<br>
Is anybody else getting this problem?<br>
</div></blockquote>
<br>
Can you put the following in the SET_by_offset macro (src/mesa/main/dispatch.h in your build directory):<br>
<br>
if (offset == 321) abort(); \<br>
<br>
then backtrace to see what API function is at fault?</blockquote><div><br>Argh, for reasons I haven't figured out yet, the failure only happens when I run "make check". It doesn't happen when I run the test directly from the command line (or in the debugger), which makes backtracing difficult :)<br>
<br>Probably there is something wrong with my build environment. I'll troubleshoot some more on my own and get back to you if I don't get anywhere.<br></div></div>