[Xcb] xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed

Jamey Sharp jamey at minilop.net
Tue Nov 7 16:32:52 PST 2006


On Tue, Nov 07, 2006 at 11:53:03AM -0800, noidee wrote:
> After i have update from X11R6.9 to X11R7.1 and some applications
> crash  ( matlab , cedega and others) 
> MATLAB: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
> 
> or
> python: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
> /usr/bin/cedega: line 51: 30495 Aborted                 ${P2PPATH}/bin/python ${P2PPATH}/Point2Play_gui.py "$@"
> 
> Is there anyone who know why ?
> 
> I have Slackware 11.0 xorg 7.1 ( build from git ), mesa 6.5.1, cedega
> 5.1, matlab 7 

Yes, we know generally what these errors mean: there's a bug in some
library or application that's using Xlib. Matlab is trying to lock the
Display structure twice; Cedega is trying to unlock it twice.

The Cedega bug is probably in Mesa: it looks like the 6.5.1 release
didn't get the fix from
	https://bugs.freedesktop.org/show_bug.cgi?id=8521
The fix is in CVS; I don't know if there's a newer release that has the
fix too.

I can't tell exactly where the Matlab bug is without a stack trace from
gdb. But if you're using XIM, then it's probably this one:
	https://bugs.freedesktop.org/show_bug.cgi?id=8582

If you can provide stack traces, we can provide more help.

--Jamey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20061107/9142b1b5/attachment.pgp


More information about the Xcb mailing list