Bug 8926 - xcb lock assertion failure when using Java Swing
Summary: xcb lock assertion failure when using Java Swing
Status: RESOLVED DUPLICATE of bug 8582
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 03:11 UTC by Mike Auty
Modified: 2006-11-15 10:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mike Auty 2006-11-07 03:11:23 UTC
I apologize for not having a well built debugging system, I'll try to provide as
much information as I can, although I can't narrow it down to a specific Xorg
component causing the lock assertion failure.

I'm running on Gentoo with all the latest packages available as of Monday 6th
November at about 20:00 UTC.  I use Gnome for a desktop environment, which may
have some bearing on Swing attempting to load themes.

Attempting to run a java program involving swing (such as paros, or an applet
through a browser, such as http://www.ditchnet.org/applets/scribble/) causes the
following assertion failure:

java_vm: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.

Java's awt seems not to cause the problem, a few example applets didn't cause
the failure.

If there's any further information I can provide or tests I can help with please
let me know.  I've assigned it to Jamey since he seems to be the point of
contact for Xcb related issues, sorry if that's not the correct procedure...
Comment 1 Jamey Sharp 2006-11-11 16:27:39 UTC
I can confirm that I've seen this bug with Sun's JDK 1.5. I finally got around
to looking into it (sorry that took a while) and now I'm pretty sure it's the
same as the XIM bug in #8582, which was closed recently. I haven't rebuilt
libX11 since the relevant fix was committed, but you should try a current git
checkout. If it doesn't work, come back and re-open this bug.

*** This bug has been marked as a duplicate of 8582 ***
Comment 2 Jamey Sharp 2006-11-12 15:54:04 UTC
I can now confirm that current libX11 git fixes this bug for me.
Comment 3 Mike Auty 2006-11-13 00:44:45 UTC
Thanks Jamey, I'll ask Donnie if he could roll up another version, or push out
some patches...  5:)
Comment 4 Mike Auty 2006-11-15 10:57:27 UTC
Yep, just got the latest version installed, and both the Java Swing issues I'd
been having and also a Qt one I found today are both gone.  Keep up the great
work!  5:)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.