Mailinglist Archive: opensuse-factory (392 mails)

< Previous Next >
Re: [opensuse-factory] my java application crashes because of an xlib problem
  • From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
  • Date: Fri, 27 Apr 2007 21:43:42 +0100
  • Message-id: <4632607E.9020705@xxxxxxxxxxxxxxxx>
Daniel Bornkessel wrote:
known bug do:
export LIBXCB_ALLOW_SLOPPY_LOCK=1
and start the program afterwards, that should do the trick.

For more explanations and other work arounds, please read the bug report:
https://bugzilla.novell.com/show_bug.cgi?id=252510

Regards,
Daniel

Hi, everybody!

A java application I have been using for quite some time (in different
versions) now crashes immediately during start up, after I migrated from
suse-10.1 to 10.3alpha3 plus a lot of updates from the "SUSE factory".

You can find output from that crash further below.

Before I wrote this, I googled for this:

    java assertion "c->xlib.lock"

and I found recent statements dated "Sun, 11 Mar 2007" on
www.mail-archive.com/debian-x@xxxxxxxxxxxxxxxx ,

specifically
http://www.mail-archive.com/debian-x@xxxxxxxxxxxxxxxx/msg59050.html , that
make me believe, that's a "common and well-known" problem (my words!!).

Looks like the problem also gets discussed here:
https://launchpad.net/ubuntu/+source/sun-java5/+bug/86103


I am using xorg-x11-server 7.2-72
and java-1_5_0-sun 1.5.0_update11-5 .

    [2007-04-27 16:03:55] johayek@HayekH $ java -version
    java version "1.5.0_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
    [2007-04-27 16:04:02] johayek@HayekH $

I updated everything in System/X11/Servers/ and Development/Languages/Java/
to the latest versions.


Do you want me to provide you with further details?


I can also run that java application successfully on another host, so I am
not terribly stressed by that, but what exactly should I try to update from
"the factory", once it's available?

Kind regards,
J.




###########################################################################
#####

+ java -Xms16m -Xmx128m -Djava.library.path=/usr/local/tvbrowser-2.5.2
-Dpropertiesfile=linux.properties -jar tvbrowser.jar command line options:
    - minimized    The main window will be minimized after start up
    - nosplash     No splash screen during start up

java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
./tvbrowser.sh: line 109: 1806 Aborted ${JAVA_PROGRAM_DIR}java -Xms16m -Xmx128m
-Djava.library.path="${PROGRAM_DIR}" -Dpropertiesfile=linux.properties -jar
tvbrowser.jar "$@"
--------------------------------------------------------------------- To
unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx




Using the workaround I get this error with jMetar. I shall try some other apps to see if i hit a problem.
# jmetar
Exception in thread "main" java.lang.IllegalArgumentException: setSelectedIndex: 1 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:595)
        at jMetar.<init>(jMetar.java:162)
        at jMetar.main(jMetar.java:528)

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >