[GEM-dev] [ pd-gem-Bugs-2842959 ] [print( message to [gemwin] may crash

SourceForge.net noreply at sourceforge.net
Wed Sep 23 04:20:57 CEST 2009


Bugs item #2842959, was opened at 2009-08-23 08:06
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2842959&group_id=64325

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: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Nobody/Anonymous (nobody)
Summary: [print(  message to [gemwin] may crash

Initial Comment:
sending a [print( message to [gemwin] will usually display a lot of information about the openGL system (like driver-version)

however, if no openGL-context has been established yet (e.g. because no one [create(d a window yet), this might crash.

the reason is that glGetString() crashes.
the function pointer is NOT set to NULL.


this happened with current svn on debian, while testing indirect rendering on my eee (using mesa on a i945GME)

proposed fix: use a static variable that indicates whether the context has been initialized properly and don't call glGetString() unless this has happened...


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

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-09-23 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-09-08 10:01

Message:
fixed with revision 2870

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2842959&group_id=64325




More information about the GEM-dev mailing list