<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1257</bug_id>
          
          <creation_ts>2015-10-23 11:54:48 +0200</creation_ts>
          <short_desc>VM crash with FATAL ERROR in native method: Nativewindow X11 IOError: Display ...</short_desc>
          <delta_ts>2019-03-30 06:23:48 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Nativewindow</product>
          <component>x11</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pramod Patil">pramodd.patil</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5457</commentid>
    <comment_count>0</comment_count>
    <who name="Pramod Patil">pramodd.patil</who>
    <bug_when>2015-10-23 11:54:48 +0200</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5459</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-10-23 19:25:00 +0200</bug_when>
    <thetext>Please provide detailed information of your machine:
  &lt;http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing&gt;
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5460</commentid>
    <comment_count>2</comment_count>
    <who name="Pramod Patil">pramodd.patil</who>
    <bug_when>2015-10-26 05:28:31 +0100</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6155</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-03-30 03:19:20 +0100</bug_when>
    <thetext>(In reply to Pramod Patil from comment #2)
&gt; The issue is random and i am not able to reproduce it for second time.
&gt; Its more about native method. For me it looks like display device was broken
&gt; at that moment. I can provede the version of jogl which is : 2.1.3. It would
&gt; be good if some one from NativeWindow can investigate on what might be the
&gt; reason.

Note: &quot;Nativewindow X11 IOError: Display 0x9b6fc40 (:0.0): Broken pipe&quot;
indicated that the X11 display connection has been closed or is invalid.
I cannot think of any case where this issue lies in our implementation.

We need a simple standalone test case.
Please reopen if bug still persist and reproducable w/ that test case.
I walk the bug list currently and I cannot work with the given information.
Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>