Linux workaround

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03ii+ejGFCbgSqfd=B1+QCfX=Qi=jTJUzsE+By8LN5Z_=g@mail.gmail.com>
Now that I was able to work on the Linux crashes, I immediately found
that the crash occurs on the following statement in the realize
routine in src/core/display_kernel.cpp:

// The test is a hack so that subclasses not bothering to implement
getProcAddress just
		//   don't get any extensions.
		if (getProcAddress("display_kernel::getProcAddress") != notImplemented)
			glext.init( *this );

If this statement is commented out, VPython runs on the latest Ubuntu,
but there are no materials. I'll look deeper into this, but if you're
capable of building from source you can have a working VPython just by
compiling without the offending statement. The comment "The test is a
hack" suggests something that might well go bad with a system change,
though this hasn't been a problem on Windows or Mac.

Bruce Sherwood

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.