I can reproduce this reliably with a simpler set of steps, using JOGL
with

JDK 1.6 (package from Sun's site)

[EMAIL PROTECTED]:~/experiments/aharley/van-w-01-aharle/jogl_test$ 
~/opt/jdk1.6.0_04_x86_64/jre/bin/java -version 
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)

  and the fglrx package

[EMAIL PROTECTED]:~$ sudo dpkg --list|grep fglrx
ii  xorg-driver-fglrx                                
1:7.1.0-8-3+2.6.24.12-16.34                           Video driver for ATI 
graphics accelerators

running a simple JOGL test program (see attached) causes a core dump.
(The libxcb assertion isn't the terminal error, I believe)

[EMAIL PROTECTED]:~/experiments/aharley/van-w-01-aharle/jogl_test$ 
LIBXCB_ALLOW_SLOPPY_LOCKING=1 ~/opt/jdk1.6.0_04_x86_64/jre/bin/java 
-Djava.library.path=/home/aharley/opt/jogl/lib -cp 
bin:/home/aharley/opt/jogl/lib/jogl.jar:/home/aharley/opt/jogl/lib/gluegen-rt.jar
 jogl_test_main
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7f15ec16397c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x7f15ec163a84]
#2 /usr/lib/libX11.so.6(_XReply+0x10f) [0x7f15ec9bcf4f]
#3 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecec0786]
#4 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecea14eb]
#5 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecea17bd]
#6 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x12)
 [0x7f15ecea1a32]
#7 [0x7f1612217878]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7f15ec16397c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7f15ec163a15]
#2 /usr/lib/libX11.so.6 [0x7f15ec9bc323]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x2c) [0x7f15ec9b372c]
#4 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecea0885]
#5 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecea0ad9]
#6 /home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig 
[0x7f15ecea185f]
#7 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/xawt/libmawt.so.orig(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x12)
 [0x7f15ecea1a32]
#8 [0x7f1612217878]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1616d20330, pid=28884, tid=1103051088
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x7c330]  memset+0x60
#
# An error report file with more information is saved as:
# 
/home/aharley/experiments/aharley/van-w-01-aharle/jogl_test/hs_err_pid28884.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

gdb on the core dump shows

#0  0x00007f1616cd6095 in raise () from /lib/libc.so.6
(gdb) where
#0  0x00007f1616cd6095 in raise () from /lib/libc.so.6
#1  0x00007f1616cd7af0 in abort () from /lib/libc.so.6
#2  0x00007f161682afd7 in os::abort () from 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/server/libjvm.so
#3  0x00007f161698978d in VMError::report_and_die () from 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/server/libjvm.so
#4  0x00007f16168302ec in JVM_handle_linux_signal () from 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/server/libjvm.so
#5  0x00007f161682d13e in signalHandler () from 
/home/aharley/opt/jdk1.6.0_04_x86_64/jre/lib/amd64/server/libjvm.so
#6  <signal handler called>
#7  0x00007f1616d20330 in memset () from /lib/libc.so.6
#8  0x00007f15e5918073 in ?? () from /usr/lib/dri/fglrx_dri.so
#9  0x00007f15e58d2246 in ?? () from /usr/lib/dri/fglrx_dri.so
#10 0x00007f15e5ed7b5f in ?? () from /usr/lib/dri/fglrx_dri.so
#11 0x00007f15e5eeb378 in ?? () from /usr/lib/dri/fglrx_dri.so
#12 0x00007f15e5eeb5fe in ?? () from /usr/lib/dri/fglrx_dri.so
#13 0x00007f15e633a001 in __driCreateNewScreen_20050727 () from 
/usr/lib/dri/fglrx_dri.so
#14 0x00007f15e6ea043d in ?? () from /usr/lib/libGL.so.1
#15 0x00007f15e6e9cd71 in glXChooseVisual () from /usr/lib/libGL.so.1
#16 0x00007f15e6cda5cb in 
Java_com_sun_opengl_impl_x11_GLX_glXChooseVisual1__JILjava_lang_Object_2I () 
from /home/aharley/opt/jogl/jogl-1.1.0-linux-amd64/lib/libjogl.so
#17 0x00007f1612217878 in ?? ()
#18 0x0000000040113000 in ?? ()
#19 0x0000000040112800 in ?? ()
#20 0x0000000041bf2860 in ?? ()
#21 0x0000000000000000 in ?? ()


** Attachment added: "jogl_test_main.java"
   http://launchpadlibrarian.net/13914152/jogl_test_main.java

-- 
[fglrx] __driCreateNewScreen_20050727 () from /usr/lib/dri/fglrx_dri.so
https://bugs.launchpad.net/bugs/199455
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to