Bug 1257 - VM crash with FATAL ERROR in native method: Nativewindow X11 IOError: Display ...
Summary: VM crash with FATAL ERROR in native method: Nativewindow X11 IOError: Display...
Alias: None
Product: Nativewindow
Classification: JogAmp
Component: x11 (show other bugs)
Version: 2.4.0
Hardware: All linux
: P3 blocker
Assignee: Sven Gothel
Depends on:
Reported: 2015-10-23 11:54 CEST by Pramod Patil
Modified: 2015-10-26 05:28 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Pramod Patil 2015-10-23 11:54:48 CEST
A random crash, observed only once. Need to find out the root cause.

Nativewindow X11 IOError: Display 0x9b6fc40 (:0.0): Broken pipe
Nativewindow X11 IOError: Display 0x9b6fc40 (:0.0): Broken pipe
FATAL ERROR in native method: Nativewindow X11 IOError: Display 0x9b6fc40 (:0.0): Broken pipe
at jogamp.nativewindow.jawt.JAWT_DrawingSurface.GetDrawingSurfaceInfo0(Native Method)
136 d0
at jogamp.nativewindow.jawt.JAWT_DrawingSurface.GetDrawingSurfaceInfo(JAWT_DrawingSurface.java:58)
at jogamp.nativewindow.jawt.x11.X11JAWTWindow.lockSurfaceImpl(X11JAWTWindow.java:91)
at com.jogamp.nativewindow.awt.JAWTWindow.lockSurface(JAWTWindow.java:500)
at jogamp.opengl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:309)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:528)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:519)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1089)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1291)
at javax.media.opengl.Threading.invoke(Threading.java:193)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:75)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:416)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:170)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
136 d1
Comment 1 Sven Gothel 2015-10-23 19:25:00 CEST
Please provide detailed information of your machine:
i.e. the test_dbg.log, best to be compressed and attached here.

Then we need a test case which is able to reproduce this issue,
best if it is an already existing unit test of JOGL.
Otherwise, pls write a unit test,
a small piece of code, you may start using one of our unit tests.
Comment 2 Pramod Patil 2015-10-26 05:28:31 CET
The issue is random and i am not able to reproduce it for second time.
Its more about native method. For me it looks like display device was broken at that moment. I can provede the version of jogl which is : 2.1.3. It would be good if some one from NativeWindow can investigate on what might be the reason.