[ pyopengl-Bugs-2333002 ] segmentation fault with Mesa 7.2

"SourceForge.net" <[email protected]> Mon, 24 Nov 2008 20:36:08 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2333002, was opened at 2008-11-23 14:59
Message generated for change (Comment added) made by sargentd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2333002&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GLUT
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evgeni Golov (sargentd)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault with Mesa 7.2

Initial Comment:
Hi,

I'm running Debian Sid with Mesa 7.2 from experimental (needed for Direct Rendering to work with my card [ATI Radeon X1400]).

The following snippet produces a segfault:
from OpenGL.GLUT import *
glutInit(["test"])
glutInitDisplayMode(GLUT_RGB)

When I downgrade Mesa to 7.0.3, I have no DRI anymore, but also the segfault goes away.
I attach a backtrace from gdb, in the hope that helps somehow -- if you need more info, please ask :)

Regards
Evgeni

----------------------------------------------------------------------

>Comment By: Evgeni Golov (sargentd)
Date: 2008-11-24 21:36

Message:
\o/
That works!

Btw, you can find the Debian Bugreport here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483043

----------------------------------------------------------------------

Comment By: lman (l_man)
Date: 2008-11-24 21:10

Message:
Here is sthing I found on the net. Hope it helps:
http://asleepfromday.wordpress.com/2008/08/20/bug-in-python-opengl-mesa/
It basically suggests to turn off opengl error checking. It solves the
issue


----------------------------------------------------------------------

Comment By: lman (l_man)
Date: 2008-11-23 17:19

Message:
I downgraded to mesa 7.0.3 and still get segmentation fault. tried it with
b6 and b5 too. If i downgrade the pyopengl package to 2.0.1 everything
works fine.

----------------------------------------------------------------------

Comment By: Evgeni Golov (sargentd)
Date: 2008-11-23 15:08

Message:
Forgot to mention, this is with pyopengl 3.0.0b6

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2333002&group_id=5988

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net