<?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>781</bug_id>
          
          <creation_ts>2013-07-12 00:00:46 +0200</creation_ts>
          <short_desc>JAWTWindow.java Random Freeze on lockSurfaceImpl</short_desc>
          <delta_ts>2013-07-17 03:40:55 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>x11</component>
          <version>2</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="MarkT">nightst4r</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>2799</commentid>
    <comment_count>0</comment_count>
    <who name="MarkT">nightst4r</who>
    <bug_when>2013-07-12 00:00:46 +0200</bug_when>
    <thetext>Running Fedora Core 14 x64.

The AWT Thread is stuck at:

&quot;AWT-EventQueue-0&quot; prio=10 tid=0x00007f213011f800 nid=0x5422 runnable [0x00007f20af82f000]
   java.lang.Thread.State: RUNNABLE
	at jogamp.nativewindow.jawt.JAWT_DrawingSurface.GetDrawingSurfaceInfo0(Native Method)
	at jogamp.nativewindow.jawt.JAWT_DrawingSurface.GetDrawingSurfaceInfo(JAWT_DrawingSurface.java:58)
	at jogamp.nativewindow.jawt.x11.X11JAWTWindow.lockSurfaceImpl(X11JAWTWindow.java:95)
	at com.jogamp.nativewindow.awt.JAWTWindow.lockSurface(JAWTWindow.java:293)
	at jogamp.opengl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:208)
	at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:385)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:415)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:364)
	at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:923)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)

GDB connection to JVM shows a BT of:

[Switching to thread 664 (Thread 0x7f20af831700 (LWP 21538))]#0 0x0000003cbd0d7283 in poll () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003cbd0d7283 in poll () from /lib64/libc.so.6
0000001 0x000000307ee09e1a in ?? () from /usr/lib64/libxcb.so.1
#2 0x000000307ee0b377 in ?? () from /usr/lib64/libxcb.so.1
0000003 0x000000307ee0b579 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
0000004 0x000000307ea42e6d in _XReply () from /usr/lib64/libX11.so.6
0000005 0x000000307ea295f2 in _XGetWindowAttributes () from /usr/lib64/libX11.so.6
0000006 0x000000307ea29761 in XGetWindowAttributes () from /usr/lib64/libX11.so.6
0000007 0x00007f20e23bf6b2 in ?? () from /usr/java/jre/lib/amd64/xawt/libmawt.so
0000008 0x00007f20af506b01 in Java_jogamp_nativewindow_jawt_JAWT_1DrawingSurface_GetDrawingSurfaceInfo0__Ljava_nio_ByteBuffer_2 () from 


GBD Connection to X shows a BT of:
(gdb) info threads
  2 Thread 0x7f7b4729b700 (LWP 21346) 0x0000003cbd0d9093 in select () from /lib64/libc.so.6
* 1 Thread 0x7f7b4a0a98a0 (LWP 21248) 0x0000003cbd0d8997 in ioctl () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003cbd0d8997 in ioctl () from /lib64/libc.so.6
0000001 0x0000003084203838 in drmIoctl () from /usr/lib64/libdrm.so.2
#2 0x0000003084205b36 in drmCommandNone () from /usr/lib64/libdrm.so.2
0000003 0x00007f7b491812be in ?? () from /usr/lib64/xorg/modules/drivers/intel_drv.so
0000004 0x00000000004ae7c7 in ?? ()
0000005 0x0000000000436930 in BlockHandler ()
0000006 0x000000000056736a in WaitForSomething ()
0000007 0x00000000004326a2 in ?? ()
0000008 0x000000000042171a in _start ()

System is running 
xf86-video-intel-2.19.0
Intel HD 4000 GPU.

JOGL Version is:
Specification-Title: Java Bindings for OpenGL API Specification
Specification-Version: 2.0
Specification-Vendor: JogAmp Community
Implementation-Title: Java Bindings for OpenGL Runtime Environment
Implementation-Version: 2.0.2-rc-20130710
Implementation-Build: 2.0-bmanual-20130710
Implementation-Branch: master
Implementation-Commit: 2b6f60f67e470da2217dfc8ea9ddd566357715d4
Implementation-Vendor: JogAmp Community
Implementation-URL: http://jogamp.org/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2800</commentid>
    <comment_count>1</comment_count>
    <who name="MarkT">nightst4r</who>
    <bug_when>2013-07-12 00:08:59 +0200</bug_when>
    <thetext>JDK 1.6.0_04</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2801</commentid>
    <comment_count>2</comment_count>
    <who name="MarkT">nightst4r</who>
    <bug_when>2013-07-12 00:13:44 +0200</bug_when>
    <thetext>mesa-8.0.4
mesa/drm/ 		2.4.37
driver/xf86-video-intel/	2.19.0
driver/xf86-video-nv/	xf86-video-nv-2.1.18
vaapi/intel-driver/ 	1.0.15
/src/xserver/ 			xorg-server-1.12.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2802</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-12 00:16:42 +0200</bug_when>
    <thetext>Reduce bug severity .. until reproducible w/ latest fedora release (19)
_and_ until this issue is reproduced w/ a given test case and hence confirmed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2822</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-17 03:40:55 +0200</bug_when>
    <thetext>Cannot reproduce.

We need 
  - test case
  - how to reproduce w/ given test case
  [- you named the test system in detail: GOOD]
  - test w/ latest source code - and name the git sha1!
  - add info as described in wiki/jogl/faq/bugreport!

Pls reopen if bug still exist and you can provide above details!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>