Created attachment 52103 [details] 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.
Does this still happen with current Git?
(In reply to comment #1) > Does this still happen with current Git? Just tested current Git, and it seems to be working.
(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.
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.
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.