libxcb cause java to crash when running swing applications in Hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxcb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Any Swing application running under hardy crashes due to /usr/lib/
This is not a java problem because installing it from scratch doesn't solve the problem.
This is an example with the netbeans installer.
matteo@
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
Locking assertion failure. Backtrace:
#0 /usr/lib/
#1 /usr/lib/
#2 /usr/lib/
#3 /usr/lib/
#4 /usr/lib/
#5 /usr/lib/
#6 /usr/lib/
#7 [0xb4c85b7b]
#8 [0xb4c7df0d]
#9 [0xb4c7df0d]
#10 [0xb4c7b243]
#11 /usr/lib/
#12 /usr/lib/
#13 /usr/lib/
#14 /usr/lib/
#15 /usr/lib/
#16 [0xb4c85b7b]
#17 [0xb4c7dda7]
#18 [0xb4c7b243]
#19 /usr/lib/
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted (core dumped)
I'm sorry, I've just found that's a java issue as stated here: http:// bugs.archlinux. org/task/ 8521. ALLOW_SLOPPY_ LOCK=1" somewhere
However it's necessary to do something for this problem, java apps like netbeans doesn't run at all.
In the forum entry they showed two possible workarounds:
* add a "export LIBXCB_
* patch a .so java library using sed
I think that Ubuntu should support even older sun jvm, so the first solution may be the best one and it leaves all the error messages whereas all the error messages remains.