Bug 883 - NEWT: Crash on 'manual' triggered Window closing due to 'gone JVM'
Summary: NEWT: Crash on 'manual' triggered Window closing due to 'gone JVM'
Status: RESOLVED DUPLICATE of bug 882
Alias: None
Product: Newt
Classification: JogAmp
Component: macosx (show other bugs)
Version: 1
Hardware: All macosx
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-10-31 23:01 CET by Sven Gothel
Modified: 2013-10-31 23:05 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
JVM crash log (35.26 KB, text/x-log)
2013-10-31 23:01 CET, Sven Gothel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-10-31 23:01:34 CET
Created attachment 533 [details]
JVM crash log

http://forum.jogamp.org/2-1-2-rc-20131031-tp4030438p4030446.html

Reporter: jmaasing

OSX 10.9 

public static void main(String[] args) {
                final GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL4));
                caps.setBackgroundOpaque(true);
                caps.setDoubleBuffered(true);
                caps.setDepthBits(16);
                GLWindow glWindow = GLWindow.create(caps);
                glWindow.addGLEventListener(new GLEventListener() {
                        @Override
                        public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {
                        }

                        @Override
                        public void init(GLAutoDrawable drawable) {
                                System.out.println("init: " + drawable);
                        }

                        @Override
                        public void dispose(GLAutoDrawable drawable) {
                                System.out.println("dispose: " + drawable);
                        }

                        @Override
                        public void display(GLAutoDrawable drawable) {
                        }
                });
                glWindow.setTitle("Test");
                glWindow.setSize(1024, 768);
                glWindow.setUndecorated(false);
                glWindow.setPointerVisible(true);
                glWindow.setVisible(true);
                glWindow.setFullscreen(false);
                glWindow.setDefaultCloseOperation(WindowClosingProtocol.WindowClosingMode.DISPOSE_ON_CLOSE);

                Animator animator = new Animator(glWindow);
                animator.start();
        }

It works, the NEWT window is opened and the animator runs (same result when using GLProfile.GL3). There is a crash when closing the window. Attached log.
Let me know if you want a bug report in bugzilla.
Comment 1 Sven Gothel 2013-10-31 23:03:37 CET
*** Bug 882 has been marked as a duplicate of this bug. ***
Comment 2 Sven Gothel 2013-10-31 23:05:04 CET
closing _my_ duplicate - duh!

*** This bug has been marked as a duplicate of bug 882 ***