Skip to contentSkip to conversation

New: [r300g] xscreensaver hack "endgame" crashes

Bug 28656 [email protected] 1 participant 5 messages Jun 21, 2010 – Jun 26, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: [r300g] xscreensaver hack "endgame" crashes
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=36409)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36409)
Backtrace from endgame crash

The OpenGL xscreensaver hack "endgame" crashes almost immediately with Gallium from git. I have a Radeon RV350 running with Fedora 13's Xserver and the xorg-ati-drv from git.

The backtrace is attached: it looks like heap corruption.

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 28656] [r300g] xscreensaver hack "endgame" crashes

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

--- Comment #1 from Chris Rankin <[email protected]> 2010-06-21 16:57:01 PDT --- And it looks like I do need to include the "-fps" command line parameter to trigger the crash.

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

[Bug 28656] [r300g] xscreensaver hack "endgame" crashes

In reply to [email protected]

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

--- Comment #2 from Chris Rankin <[email protected]> 2010-06-22 12:24:20 PDT --- Created an attachment (id=36422)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36422)
Output from valgrind

This looks like the important part:

==10496== Invalid write of size 8
==10496== at 0x5005289: ???
==10496== by 0x4667387: fetch_pipeline_generic
(draw_pt_fetch_shade_pipeline.c:188)
==10496== by 0x4667577: fetch_pipeline_run
(draw_pt_fetch_shade_pipeline.c:312)

==10496==    by 0x46692E0: vcache_run_extras (draw_pt_vcache.c:80)
==10496==    by 0x4665EAC: draw_arrays_instanced (draw_pt.c:127)
==10496==    by 0x4666025: draw_arrays (draw_pt.c:310)
==10496==    by 0x4649C20: st_feedback_draw_vbo (st_draw_feedback.c:257)
==10496==    by 0x464430C: st_RasterPos (st_cb_rasterpos.c:254)
==10496==    by 0x4596C37: rasterpos (rastpos.c:63)
==10496==    by 0x4597168: _mesa_RasterPos2f (rastpos.c:76)
==10496==    by 0x80513E5: get_gl_visual (visual-gl.c:65)
==10496==    by 0x8051FD0: make_random_colormap (colors.c:649)

==10496== Address 0x4d819e0 is not stack'd, malloc'd or (recently) free'd

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 28656] [Gallium/Draw][r300g] xscreensaver hack "endgame" crashes

In reply to [email protected]

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

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

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

            Summary|[r300g] xscreensaver hack   |[Gallium/Draw][r300g]
                   |"endgame" crashes           |xscreensaver hack "endgame"
                   |                            |crashes

--- Comment #3 from Marek Olšák <[email protected]> 2010-06-22 14:20:57 PDT --- Another bug in Draw.

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

[Bug 28656] [Gallium/Draw][r300g] xscreensaver hack "endgame" crashes

In reply to [email protected]

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

Chris Rankin <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Chris Rankin <[email protected]> 2010-06-26 04:30:08 PDT --- I've just updated to the following revision:

commit 4503bd33dac04bb925780852e49f2ffa501ebc0a

Author: Zack Rusin <[email protected]>
Date:   Fri Jun 25 20:06:53 2010 -0400

draw: deleted by mistake

and this bug is no longer present. (I have no idea which commit has actually fixed it though.)

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.