Skip to contentSkip to conversation

New: Segfault in Yo Frankie!

Bug 31907 [email protected] 1 participant 4 messages Nov 24, 2010 – Dec 7, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: Segfault in Yo Frankie!
Product: Mesa
Version: git
Platform: Other
URL: http://www.yofrankie.org/
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=40560)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40560)
Backtrace

As mentioned in bug 28860, I'm getting a segfault in the game Yo Frankie if shaders are enabled:

Program received signal SIGSEGV, Segmentation fault. 0xb6fc2bfc in translate_dst (t=<value optimized out>,
inst=<value optimized out>) at state_tracker/st_mesa_to_tgsi.c:193
193 return t->outputs[t->outputMapping[index]];

Bisecting leads to this commit:

adf35e80d3b3d37b97f0608a5a2f221dbd8c0d64 is the first bad commit commit adf35e80d3b3d37b97f0608a5a2f221dbd8c0d64

Author: Brian Paul <[email protected]>
Date:   Thu Oct 21 19:03:38 2010 -0600

gallium: new CAP, state for primitive restart

:040000 040000 dad0765228ba7c91fb6bd5b13d36dba74da0b2d8
256dec454d077a85a1d9a5e1892dea68a04a07c3 M src

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: e9928fe036e9382fd7bc353f3f05531445f08977 -- xserver: 1.9.0.902 (1.9.1 RC 2)
-- mesa: 1197393faa285bee0d99409a1c82f575dbcbc708 -- drm: 2.4.22
-- kernel: 2.6.36

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 31907] Segfault in Yo Frankie!

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

--- Comment #1 from Marek Olšák <[email protected]> 2010-12-07 00:56:22 PST --- I have just tried it here and it didn't crash. Could you please re-test the game on your machine?

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 31907] Segfault in Yo Frankie!

In reply to [email protected]

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

--- Comment #2 from Sven Arvidsson <[email protected]> 2010-12-07 09:37:25 PST --- It's still crashing on the same line.

But I just noticed that I get the same crash in softpipe and llvmpipe, so I guess this bug should be reassigned to Mesa core?

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

[Bug 31907] [SEGFAULT] state_tracker/st_mesa_to_tgsi.c:193: return t->outputs[t->outputMapping[index]];

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

            Summary|Segfault in Yo Frankie!     |[SEGFAULT]
                   |                            |state_tracker/st_mesa_to_tg
                   |                            |si.c:193: return
                   |                            |t->outputs[t->outputMapping
                   |                            |[index]];
          Component|Drivers/Gallium/r300        |Mesa core
         AssignedTo|[email protected] |[email protected].
                   |.org                        |org

--- Comment #3 from Marek Olšák <[email protected]> 2010-12-07 10:15:03 PST --- Yeah, reassigning to Mesa core.

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