Saturday

Solving xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed. on fedora 8

Yesterday i decided to upgrade osb 3.0 to OSB 10gr3 on my linux box. During installation i have first locate the famous error "xcb_xlib.c:50: xcb_xlib_unlock: Assertion 'c->xlib.lock' failed.". Through google, i have found a few solution to solve the problem but all the solutions gone in vain.
I have had following configuration:
[recon@localhost home]$ cat /etc/redhat-release
Fedora release 8 (Werewolf)
[recon@localhost home]$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
[recon@localhost home]$ rpm -q libxcb libX11
libxcb-1.0-3.fc8
libX11-1.1.3-4.fc8
First of all, i have tried to patch the library libmawt.so by sed -i 's/XINERAMA/FAKEEXTN/g' of my current JVM, but it was not help me to run the installer to install OSB 10gR3. Even i installed latest 1.6 JDK and patch the libmawt.so but in vain.
From one of linux forum, i found a suggestion to upgrade libxcb file and try again. Here is my all the step to resolve the problem:
1) upgrade yum install (nothing updated)
2) update libxcb
[recon@localhost home]$ sudo yum update libxcv
[recon@localhost tmp]$ rpm -q libxcb
libxcb-1.1-1.1.fc8
which will upgrade my libxcb to version 1.1
3) patch the libmawt.so for current JVM (it was unnecessary, because i have done it before)
4) run installer and all goes well.
For more information, you can visit the following post on oracle forum.
Post a Comment