Bug 781 - JAWTWindow.java Random Freeze on lockSurfaceImpl
Summary: JAWTWindow.java Random Freeze on lockSurfaceImpl
Status: RESOLVED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: x11 (show other bugs)
Version: 2
Hardware: pc_x86_64 other
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-07-12 00:00 CEST by MarkT
Modified: 2013-07-17 03:40 CEST (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarkT 2013-07-12 00:00:46 CEST
Running Fedora Core 14 x64.

The AWT Thread is stuck at:

"AWT-EventQueue-0" 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/
Comment 1 MarkT 2013-07-12 00:08:59 CEST
JDK 1.6.0_04
Comment 2 MarkT 2013-07-12 00:13:44 CEST
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
Comment 3 Sven Gothel 2013-07-12 00:16:42 CEST
Reduce bug severity .. until reproducible w/ latest fedora release (19)
_and_ until this issue is reproduced w/ a given test case and hence confirmed!
Comment 4 Sven Gothel 2013-07-17 03:40:55 CEST
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!