While installing Zend Studio 5.5.1 I found following error:
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb1ff4727]
..etc..
..etc..
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted
After googling around I found one hit solution, using so called sed command. This is step by step of how to solve this problem around.
- As root, call the installer from the command line:
root[pilem]# ./ZendStudio5_5_1.bin
- Watch the screen carefully, it will display something like:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...Launching installer... - Once you see ‘Launching installer…’, press Ctrl+Z quickly.
- If you press Ctrl+Z in the good time, you will see this message:
Otherwise, you must restart from step 1. This trick will put the process into background so you can interupt the process.
[1]+ Stopped ./ZendStudio5_5_1.bin - Find a libmawt.so in the temporary installation directory. It might be located at /tmp/instal.dir.xxx/
root[pilem]# find /tmp/install.dir.2656/ | grep libmawt
/tmp/install.dir.2656/Linux/resource/jre/lib/i386/xawt/libmawt.so
/tmp/install.dir.2656/Linux/resource/jre/lib/i386/motif21/libmawt.so
/tmp/install.dir.2656/Linux/resource/jre/lib/i386/headless/libmawt.so
If you see more than one instal.dir.xxxx then you should choose the latest one. - We have found where libmawt.so is located. Now this is the trick:
root[pilem]# sed -i 's/XINERAMA/FAKEEXTN/g' /tmp/install.dir.2656/Linux/resource/jre/lib/i386/xawt/libmawt.so
Press enter, nothing seem happen on the screen. Don’t be panic.
- Type
fg
and press enter to bring Zend Studio installer into foreground. Congratulation, now you should see the dialog window appear.
I don’t know what’s wrong with this, whether the Zend Installer is having bug or the Java distribution. It never happened before.
Leave a Reply