Bug 89112

Summary: u_atomic_test: u_atomic_test.c:124: test_atomic_8bits_bool: Assertion `r == 65 && "p_atomic_add"' failed.
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: Jose Fonseca <jfonseca>
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: major    
Priority: medium CC: brianp, jfonseca, sroland
Version: gitKeywords: bisected, regression
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2015-02-13 00:35:42 UTC
mesa: 55a57834bf912916a5e07486b32f1778b35657f6 (master 10.6.0-devel)

$ make check
[...]
u_atomic_test: u_atomic_test.c:124: test_atomic_8bits_bool: Assertion `r == 65 && "p_atomic_add"' failed.


d2438f5920b95a880e9146882a58bf37ec57bad5 is the first bad commit
commit d2438f5920b95a880e9146882a58bf37ec57bad5
Author: Jose Fonseca <jfonseca@vmware.com>
Date:   Wed Feb 11 15:21:25 2015 +0000

    util/u_atomic: Test p_atomic_add() for 8bit integers.

    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Roland Scheidegger <sroland@vmware.com>

:040000 040000 81921bb0ca3ae39f1183d80ce34b8d9a2cb4c83e 9f06b9a346a7105c00ab91f93e8dbc15325c207d M      src
bisect run success
Comment 1 Jose Fonseca 2015-02-13 07:06:01 UTC
Ah, we want to test u_atomic with (u)int8, but not bool...

I'll fix this.
Comment 2 Jose Fonseca 2015-02-13 19:40:46 UTC
Thanks for letting me know.

Should be fixed with b09f25428ff5e908aefc03b8f9931599c3afd6d2

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.