sun java6 firefox plugin crashing

Bug #193103 reported by Mahdi on 2008-02-19
10
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ia32-sun-java6-bin

I'm running up-to-date hardy amd64. In order to use sun's javaplugin (gcjwebplugin and icedtea's firefox plugin do not fulfill my needs: running the virtual keyboard at https://www2.bancobrasil.com.br/aapf/login.jsp?aapf.IDH=sim) i use swiftfox (3.0b4pre from www.getswiftfox.com) with ia32-sun-java6-bin's /usr/lib/jvm/ia32-java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so. When I try to open any page with java applets (including the virtual keyboard mentioned), the applet does not show and I get the following message on console:

Locking assertion failure. Backtrace:
#0 /usr/lib32/libxcb-xlib.so.0 [0x4b8e2767]
#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x4b8e28b1]
#2 /usr/lib32/libX11.so.6(_XReply+0xfd) [0x4b93029d]
#3 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf582e8ce]
#4 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf580b067]
#5 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf580b318]
#6 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xf580b61f]
#7 [0xf5ed4ecd]
#8 [0xf5ecdedd]
#9 [0xf5ecdedd]
#10 [0xf5ecb249]
#11 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf7ee696d]
#16 [0xf5ed4ecd]
#17 [0xf5ecdd77]
#18 [0xf5ecb249]
#19 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
java_vm: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process died due to signal 6
  a core file was generated
Could not start JavaVM!

VM did not start up properly
Locking assertion failure. Backtrace:
#0 /usr/lib32/libxcb-xlib.so.0 [0x4b8e2767]
#1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x4b8e28b1]
#2 /usr/lib32/libX11.so.6(_XReply+0xfd) [0x4b93029d]
#3 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf57398ce]
#4 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf5716067]
#5 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xf5716318]
#6 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xf571661f]
#7 [0xf5ee4ecd]
#8 [0xf5eddedd]
#9 [0xf5eddedd]
#10 [0xf5edb249]
#11 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf7ef696d]
#16 [0xf5ee4ecd]
#17 [0xf5eddd77]
#18 [0xf5edb249]
#19 /usr/lib/jvm/ia32-java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
java_vm: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process died due to signal 6
  a core file was generated
Could not start JavaVM!

VM did not start up properly

Mahdi (mahdi-hates-spam) wrote :

Forgot to mention it used to work fine on gutsy.

Andres Järv (andresjarv) wrote :

It happens to me on hardy and i386 as well. Here's the backtrace I get in the console:

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb54fa767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb54fa8b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb554f29d]
#3 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb56508ce]
#4 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb562d067]
#5 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb562d318]
#6 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb562d61f]
#7 [0xb5cfaecd]
#8 [0xb5cf3edd]
#9 [0xb5cf3edd]
#10 [0xb5cf1249]
#11 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x363) [0x6272153]
#15 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d0c96d]
#16 [0xb5cfaecd]
#17 [0xb5cf3d77]
#18 [0xb5cf1249]
#19 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
java_vm: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process died due to signal 6
Could not start JavaVM!

VM did not start up properly

Sylvain59 (sylvain59) wrote :

Perhaps there is the solution here : http://forum.ubuntu-fr.org/viewtopic.php?id=199146

LIB_TO_PATCH=libmawt.so
for f in `find /usr/lib/jvm -name "$LIB_TO_PATCH"`
do
echo "Patching library $f"
sudo sed -i 's/XINERAMA/FAKEEXTN/g' "$f"
done

Anton Blanchard (anton-samba) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers