[hardy] mred: xcb_xlib.c:73: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.

Bug #172517 reported by Anders Kaseorg on 2007-11-28
Affects Status Importance Assigned to Milestone
drscheme (Ubuntu)

Bug Description

Binary package hint: drscheme

On my hardy amd64 system, running drscheme or mred quickly crashes with the backtrace below. Relevant package versions are drscheme 1:360-1ubuntu1, libxt6 1:1.0.5-3, libx11-6 2:1.1.3-1, libxcb-xlib0 1.1-1.

Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x2b468796697c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x2b4687966a15]
#2 /usr/lib/libX11.so.6 [0x2b46852bc543]
#3 /usr/lib/libX11.so.6(XDefineCursor+0x2a) [0x2b468529404a]
#4 /usr/lib/libmred-360.so [0x2b46832a5fff]
#5 /usr/lib/libXt.so.6 [0x2b4683eed3b3]
#6 /usr/lib/libXt.so.6 [0x2b4683eed373]
#7 /usr/lib/libXt.so.6(XtSetValues+0x170) [0x2b4683eed780]
#8 /usr/lib/libXt.so.6(XtVaSetValues+0x1eb) [0x2b4683eff81b]
#9 /usr/lib/libmred-360.so(_Z16wxXSetBusyCursorP8wxWindowP8wxCursor+0xc5) [0x2b46832f6e39]
#10 /usr/lib/libmred-360.so [0x2b46832f6f3b]
#11 /usr/lib/libmred-360.so(_Z21wxUnhideCursorInFrameP8wxObjecti+0x43) [0x2b46832f6fa3]
#12 /usr/lib/libmred-360.so(_Z18wxUnhideAllCursorsv+0x6f) [0x2b46831a2b83]
#13 /usr/lib/libmred-360.so [0x2b46831a3c82]
#14 /usr/lib/libX11.so.6(XCheckIfEvent+0x77) [0x2b4685290a87]
#15 /usr/lib/libmred-360.so(_Z16MrEdGetNextEventiiP7_XEventPP11MrEdContext+0xa7) [0x2b46831a3b0b]
#16 /usr/lib/libmred-360.so [0x2b46831a25c2]
#17 /usr/lib/libmzscheme-360.so(scheme_thread_block+0x3a0) [0x2b4682b99dc1]
#18 /usr/lib/libmzscheme-360.so(scheme_block_until+0x190) [0x2b4682b9a3e8]
#19 /usr/lib/libmzscheme-360.so [0x2b4682b9d9f9]
mred: xcb_xlib.c:73: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted (core dumped)

cyrill62 (cyrill62) wrote :

I'd exactly the same bug, with the same packages version.

Sebastian Kaps (spambucket) wrote :

I'm getting this error when I try to run a GUI-based Java program:

$ java -jar myprogram.jar
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x2aaaf33ed97c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x2aaaf33eda84]
#2 /usr/lib/libX11.so.6(_XReply+0x10f) [0x2aaaf2b1f16f]
#3 /usr/lib/jvm/java-6-sun- [0x2aaaf2793826]
#4 /usr/lib/jvm/java-6-sun- [0x2aaaf27762ab]
#5 /usr/lib/jvm/java-6-sun- [0x2aaaf277657d]
#6 /usr/lib/jvm/java-6-sun- [0x2aaaf27767f2]
#7 [0x2aaaab9936b8]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)

Loom (loom) wrote :

My drscheme also crashes. But only if I use the mouse (click or move).

Another backtrace is attached.

Loom (loom) wrote :

Found the same bug fixed a half year ago:

Albin Tonnerre (lutin) wrote :

Does it happen with the last upload in hardy ? (version 371)

Changed in drscheme:
status: New → Triaged
Loom (loom) wrote :

No, it does not happen. So for me it's fixed. Thanks!

Anders Kaseorg (andersk) wrote :

Yeah, this looks fixed. (It hasn’t built for amd64 yet, but my own build works.)

Changed in drscheme:
status: Triaged → Fix Released
Sean Collins (sean4u-gmail) wrote :

Just upgraded from Gutsy to Hardy, and saw this problem for the first time in a Java3D app I've been working on.

Sean Collins (sean4u-gmail) wrote :

In case it helps, this post gave a successful (for me) workaround for the problem:


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments