https://bugs.freedesktop.org/show_bug.cgi?id=41579
Summary: R300 Segfaults when using mupen64plus Product: Mesa Version: 7.11 Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: krthurow@gmail.com
Created an attachment (id=52103) --> (https://bugs.freedesktop.org/attachment.cgi?id=52103) Backtrace from r300 segfault when running mupen64plus.
When starting up the emulator mupen64plus with a ROM, it crashes before loading the ROM, showing a segfault. Video card is a Mobility Radeon X1700.
Using gdb I traced the segfault back to r300_dri.so The issues seems to be at line 864 of src/gallium/drivers/r300/r300_emit.c 'buf' is getting set to 0 instead of a proper address.
My backtrace is attached.
https://bugs.freedesktop.org/show_bug.cgi?id=41579
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52103|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41579
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/DRI/r300 |Drivers/Gallium/r300
--- Comment #1 from Michel Dänzer michel@daenzer.net 2011-10-10 04:30:23 PDT --- Does this still happen with current Git?
https://bugs.freedesktop.org/show_bug.cgi?id=41579
--- Comment #2 from krthurow@gmail.com 2011-10-11 12:19:20 PDT --- (In reply to comment #1)
Does this still happen with current Git?
Just tested current Git, and it seems to be working.
https://bugs.freedesktop.org/show_bug.cgi?id=41579
--- Comment #3 from Michel Dänzer michel@daenzer.net 2011-10-12 02:59:21 PDT --- (In reply to comment #2)
Just tested current Git, and it seems to be working.
Great. If it's still broken with the current 7.11 branch, and you can isolate the change that fixed it, maybe we can backport it.
https://bugs.freedesktop.org/show_bug.cgi?id=41579
--- Comment #4 from Marek Olšák maraeo@gmail.com 2011-11-07 12:03:14 PST --- Type on master: git log origin/7.11..origin/master -- src/mesa/state_tracker/st_draw.c
(assuming origin is the main mesa repo)
I am 99.9% sure one of those commits fixes it. :) Please try to find the fix by guess. There are only 7 of them.
I don't have r300 or r500 in my machine right now.
https://bugs.freedesktop.org/show_bug.cgi?id=41579
Tomasz P. son_of_the_osiris@interia.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
dri-devel@lists.freedesktop.org