New: util_blit_pixels_writemask: crash in line 322 of src/gallium/auxiliary/util/u_blit.c
https://bugs.freedesktop.org/show_bug.cgi?id=35483
Summary: util_blit_pixels_writemask: crash in line 322 of
src/gallium/auxiliary/util/u_blit.c
Product: Mesa
Version: 7.10
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=44648)
--> (https://bugs.freedesktop.org/attachment.cgi?id=44648)
Backtrace of the crash (Tropico with Wine 1.3.16)
When switching to (or starting a game when the last setting was) the hardware accelerated mode in Tropico, the game immediately crashes with the attached backtrace.
Please note, that I wasn't able to attach an GDB to Wine/Tropic, if I do, I get tons of SIGSEGVs in Tropico before I get anywhere close to this bug. So I fear the Wine-generated backtrace must do. If you need further information, beyond the following, please let me know.
DDX: 6.14.0
X.org: 1.9.4.901 (1.9.5 RC 1)
Kernel: 2.6.38
libdrm2: 2.4.24
Mesa: 7.10
The "Severity" was set in accordance with
<https://bugs.freedesktop.org/page.cgi?id=fields.html#bug_severity> where a crash is named as critical.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35483] util_blit_pixels_writemask: crash in line 322 of src/gallium/auxiliary/util/u_blit.c
https://bugs.freedesktop.org/show_bug.cgi?id=35483
--- Comment #1 from Henri Verbeet <[email protected]> 2011-03-21 02:28:04 PDT --- Created an attachment (id=44652)
View: https://bugs.freedesktop.org/attachment.cgi?id=44652
Review: https://bugs.freedesktop.org/review?bug=35483&attachment=44652
patch
You can't tell from the backtrace, but I think I know what this is. Wine sometimes does FBO blits directly to the front buffer. This currently tends to crash due to the front buffer surface not being created yet. The attached patch should help with the crash, but it may not be enough to make the actual blit work correctly.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35483] util_blit_pixels_writemask: crash in line 322 of src/gallium/auxiliary/util/u_blit.c
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35483
--- Comment #2 from Kai <[email protected]> 2011-03-21 04:41:34 PDT --- (In reply to comment #1)
Quoted 5 lines
You can't tell from the backtrace, but I think I know what this is. Wine sometimes does FBO blits directly to the front buffer. This currently tends to crash due to the front buffer surface not being created yet. The attached patch should help with the crash, but it may not be enough to make the actual blit work correctly.
Your guess was right, the patch from attachment 44652 fixes the bug. Tropico works perfectly now with hardware 3D acceleration enabled (though it's a little bit slow).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 35483] util_blit_pixels_writemask: crash in line 322 of src/gallium/auxiliary/util/u_blit.c
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=35483
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #3 from Marek Olšák <[email protected]> 2011-03-29 15:53:57 PDT --- Fixed by Henri's commit 5d7c27f5ec2f30c264dc2d53c4980970b3a13ee5. I am cherry-picking it to the 7.9 and 7.10 branches. Closing.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel