Bug 352275

Summary: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Product: [openSUSE] openSUSE 10.3 Reporter: Tomas Cech <tcech>
Component: JavaAssignee: E-mail List <bnc-team-java>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: benji, meissner
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tomas Cech 2008-01-08 12:54:53 UTC
$ java -jar jpluckx.jar
java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Neúspěšně ukončen (SIGABRT)

this is bug related to this problem in Sun's bugzilla.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373

rpm -qa java*
java-1_5_0-sun-1.5.0_update13-0.5
java-1_4_2-gcj-compat-32bit-1.4.2.0-177
java-1_4_2-cacao-0.97-86

this command fixed it for me
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/jre-sun/lib/amd64/xawt/libmawt.so
Comment 1 Benjamin Weber 2008-01-08 13:33:36 UTC
The java package here wraps java with a script which sets LIBXCB_ALLOW_SLOPPY_LOCK which works around the problem 

benji@lcars:~> grep LOCK `which java`
export LIBXCB_ALLOW_SLOPPY_LOCK=1

It looks like the java5 package should have this too. 

Is this not the case for you?

This is also probably a dupe of #252510
Comment 2 Marcus Meissner 2008-01-09 07:15:04 UTC
we released a libxkcb update that makes this not abort.

You likely have not installed this online update.
Comment 3 Ales Nosek 2008-02-14 12:15:00 UTC
No reaction from info provider. The bug was already fixed.

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