Re: JVM Crash with SIGSEGV
Posted by
jmaasing on
Jul 29, 2016; 2:21pm
URL: https://forum.jogamp.org/JVM-Crash-with-SIGSEGV-tp4036967p4037004.html
Xerxes Rånby wrote
It is highly likely that the crash huy1912 experience is caused by not calling AWT + Swing methods from the event dispatch thread.
Very good guess. I think you are not even allowed to close windows in other threads than the Swing EDT. That means if you have a shutdown hook that calls setVisible(false) or similiar you are breaking the threading contract of AWT/Swing and 'unexpected' behaviour is actually to be expected.