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

"SourceForge.net" <[email protected]> Sun, 19 Jul 2009 02:37:29 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2333002, was opened at 2008-11-23 08:59
Message generated for change (Comment added) made by mcfletch
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: Closed
>Resolution: Fixed
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: Mike C. Fletcher (mcfletch)
Date: 2009-07-18 22:37

Message:
GLUT Error checking has been disabled for PyOpenGL 3.0.1 (upcoming).

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

Comment By: Evgeni Golov (sargentd)
Date: 2008-11-24 15: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 15: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 11: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 09: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

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net