Login  Register

Re: Crash in native code - dispatch_wglMakeCurrent1

Posted by Wade Walker on Oct 28, 2011; 9:21pm
URL: https://forum.jogamp.org/Crash-in-native-code-dispatch-wglMakeCurrent1-tp3279419p3462101.html

Fixed. The problem was caused by an NVIDIA driver change that greatly increased its stack usage -- a single function call inside the driver consumes 300 KB of stack! Increasing the JVM's C stack size with -Xss fixes the problem.

See the bug page at https://jogamp.org/bugzilla/show_bug.cgi?id=513 for more details, and to laugh at how many bizarre and difficult things I tried before finding the (retrospectively obvious) answer .