Bug 250837

Summary: Java apps fail to run after upgrade
Product: [openSUSE] openSUSE 10.3 Reporter: Vusi Mhlanga <reddazz>
Component: JavaAssignee: Daniel Bornkessel <dbornkessel>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dmueller, jmolles
Version: Alpha 1plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace output log

Description Vusi Mhlanga 2007-03-02 19:31:42 UTC
I am running the factory release for openSUSE 10.3 and did an update recently. All my java applications don't work anymore after this particular upgrade. I ran netbeans and azureus from the command line and the line below seems to be common between them

java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

I uninstalled openSUSE java 1.5.x and installed the 1.6 jdk package from Sun, but the same problem persists. After doing a bit of googling, it seems that this problem is related to xorg. The version of xorg I am running is 7.2-51.
Comment 1 Daniel Bornkessel 2007-03-05 14:50:37 UTC
Hi.
Thanks for the report.
Could you please provide the output of the command:
java -version (just to be sure)

and then:

strace <your command how you started azureus> 2>&1 > output.log

plus the info, what <your command how you started azureus> looks like (e.g. ./azureus).
Thanks,
Daniel
Comment 2 Vusi Mhlanga 2007-03-05 16:24:59 UTC
The output of "java -version" is

java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode)

I installed azureus in /opt/ and the command to start the program was "/opt/azureus/azureus &". The output was

 Suitable java version found [java = 1.5.0_10]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/opt/azureus/Azureus2.jar:/opt/azureus/swt.jar" -Djava.library.path="/opt/azureus" -Dazureus.install.path="/opt/azureus" org.gudy.azureus2.ui.swt.Main ''
GTK Accessibility Module initialized

** (<unknown>:4752): WARNING **: AT_SPI_REGISTRY was not started at session startup.

** (<unknown>:4752): WARNING **: IOR not set.

** (<unknown>:4752): WARNING **: Could not locate registry
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
/opt/azureus/azureus: line 112:  4752 Aborted                 ${JAVA_PROGRAM_DIR}java -Xms16m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"
Azureus TERMINATED.


The output of strace is attached
Comment 3 Vusi Mhlanga 2007-03-05 16:26:22 UTC
Created attachment 122376 [details]
strace output log
Comment 4 Daniel Bornkessel 2007-03-12 10:03:45 UTC
*** Bug 253400 has been marked as a duplicate of this bug. ***
Comment 5 Magnus Boman 2007-03-12 10:36:23 UTC
*** Bug 253524 has been marked as a duplicate of this bug. ***
Comment 6 Magnus Boman 2007-03-31 23:37:57 UTC

*** This bug has been marked as a duplicate of bug 252510 ***