Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174345

Summary: media-gfx/blender-2.43 aborts with error: blender: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Product: Gentoo Linux Reporter: ville <vzheiska>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Severity: critical CC: federico.granata, gentoo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174434    

Description ville 2007-04-12 21:52:15 UTC
ville@kepakko ~ $ blender 
64 bits compiles will give incorrectly saved .blend files. Do not use it.

*** If you continue to run this executable, you really are quite stupid ***

guessing 'blender' == '/usr/bin/blender'
Compiled with Python version 2.4.
Checking for installed Python... got it!
blender: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.

Reproducible: Always

Steps to Reproduce:
1. emerge blender
2. run
3. witness the error
Comment 1 Luca Barbato gentoo-dev 2007-04-13 05:24:09 UTC
xcb is known to cause issues. Report upstream...
Comment 2 Peter Weller (RETIRED) gentoo-dev 2007-04-13 06:04:55 UTC
Keyworded media-gfx/blender-2.43 ~amd64.

Other versions of blender have also been keyworded due to security bugs.

Due to the fact that blender creates incorrect .blend files on amd64, we will not be marking it stable anytime soon. Removing for that reason - feel free to readd us if you think you need to.
Comment 3 ville 2007-04-13 10:14:02 UTC
kepakko ~ # USE="-xcb" emerge -va libX11

"Fixes" it so blender at least runs. Good enough for the time being.

// ville
Comment 4 Attila Tóth 2007-04-15 23:41:39 UTC
I've also run into this problem, while upgrading to libX11-1.1.1-r1 and enabling "xcb" USE flag. Just for curiosity. Before merging libX11-1.1.1-r1 xcb-proto-1.0 and libxcb-1.0 were installed.
In the mean time I noticed, that openoffice-2.1.0-r1 refuses to start, gives signal 6 and tries to coredump. The reason for this was turned out to share similarities with the above mentioned bug:

"soffice.bin: xcb_xlib.c:50: xcb_xlib_unlock: assertion `c->xlib.lock' failed."

It seems that other programs are also affected and other distributions also have problems related to this issue. Take a look at on this:

Removing "xcb" USE flag solves the problem. However it would be good to treat this bug in the correct way instead of this workaround before nastier symptoms could show up.
Comment 5 Peter Fern 2007-06-05 16:55:44 UTC
You're welcome to try the libxcb ebuild from:

Somewhat ugly, but best way I could see of solving the problem until clients are updated for the new xcb locking.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2007-08-02 05:21:50 UTC
Please make sure you have all the latest (~arch) X libraries, particularly these:


Ensure that, then test again and report back with your results. Please reopen the bug when you reply.