Skip to contentSkip to conversation

New: R300 Segfaults when using mupen64plus

Bug 41579 [email protected] 1 participant 7 messages Oct 8, 2011 – Dec 5, 2012

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

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.
#1 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

https://bugs.freedesktop.org/show_bug.cgi?id=41579

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #52103|application/octet-stream    |text/plain
          mime type|                            |
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
#2 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41579

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Drivers/Gallium/r300

--- Comment #1 from Michel Dänzer <[email protected]> 2011-10-10 04:30:23 PDT --- Does this still happen with current Git?

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
#3 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41579

--- Comment #2 from [email protected] 2011-10-11 12:19:20 PDT --- (In reply to comment #1)

Quoted 1 line

Does this still happen with current Git?

Just tested current Git, and it seems to be working.

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.
#4 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41579

--- Comment #3 from Michel Dänzer <[email protected]> 2011-10-12 02:59:21 PDT --- (In reply to comment #2)

Quoted 1 line

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.

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
#5 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41579

--- Comment #4 from Marek Olšák <[email protected]> 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.

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
#6 lore raw

[Bug 41579] R300 Segfaults when using mupen64plus

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41579

Tomasz P. <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
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