Login  Register

Re: Multiple Newt-Windows crashes since jogl-2.0-b18

Posted by Wade Walker on Jan 19, 2011; 9:11pm
URL: https://forum.jogamp.org/Multiple-Newt-Windows-crashes-since-jogl-2-0-b18-tp2289695p2290476.html

It looks like GLProfile has a multithreading bug. To try to work around it, you might try calling GLProfile.initSingleton(true) in a static code block in your main class; this may initialize the member that's coming up null.

To submit a unit test for this bug via GitHub, there are instructions at http://jogamp.org/wiki/index.php/Contributing_a_new_feature_or_fix. Essentially all you have to do is turn your class into a unit test and submit a pull request. If we can get this in as a unit test as well as a bug report, it will greatly increase the chances of it getting fixed

Or for a more lightweight bug report, you can do the normal procedure at http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing. The link at
http://jogamp.org/wiki/index.php/Contributing_a_new_feature_or_fix#Create_an_enhancement_request_or_bug_report tells how to work around a minor Bugzilla login problem.

Thanks for your help, and sorry about this bug -- I guess most users haven't tried one window per thread yet