Matthew's workaround works for me (thank you very much Matthew) but it doesn't fix everything. For example Netbeans works fine but I cannot open opera. It always throws output like this:
Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb6b1a767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6b1a8b1] #2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb728229d] #3 /usr/lib/j2se/1.4/jre/lib/i386/libawt.so(XineramaIsActive+0xa5) [0xb7c237d5] #4 /usr/lib/libqt-mt.so.3(_ZN14QDesktopWidget11resizeEventEP12QResizeEvent+0x20) [0xb759d1da] #5 /usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x52b) [0xb769b2a3] #6 /usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x274) [0xb75f8c36] #7 /usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xce8) [0xb75fb564] #8 /usr/lib/libqt-mt.so.3(_ZN12QApplication9sendEventEP7QObjectP6QEvent+0x5b) [0xb7589279] #9 /usr/lib/libqt-mt.so.3(_ZN12QApplication16sendPostedEventsEP7QObjecti+0x25c) [0xb75f9c6e] #10 /usr/lib/libqt-mt.so.3(_ZN14QDesktopWidgetC1Ev+0x87) [0xb759ce61] #11 /usr/lib/libqt-mt.so.3(_ZN12QApplication7desktopEv+0x5e) [0xb75f8e42] #12 /usr/lib/libqt-mt.so.3(_ZN12QApplication9constructERiPPcNS_4TypeE+0xcc) [0xb7600296] #13 /usr/lib/libqt-mt.so.3(_ZN12QApplicationC2ERiPPc+0x6a) [0xb7600670] #14 /usr/lib/opera/9.26-20080218.6/opera [0x8648179] #15 /usr/lib/opera/9.26-20080218.6/opera [0x8060cb2] #16 /usr/lib/opera/9.26-20080218.6/opera(_ZN7QWidget6createEmbb+0x554) [0x805ec94] #17 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7065450] #18 /usr/lib/opera/9.26-20080218.6/opera(_ZNK7QDialog15minimumSizeHintEv+0x111) [0x805eb71] opera: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Aborted (core dumped)
Matthew's workaround works for me (thank you very much Matthew) but it doesn't fix everything. For example Netbeans works fine but I cannot open opera. It always throws output like this:
Locking assertion failure. Backtrace: libxcb- xlib.so. 0 [0xb6b1a767] libxcb- xlib.so. 0(xcb_xlib_ unlock+ 0x31) [0xb6b1a8b1] libX11. so.6(_XReply+ 0xfd) [0xb728229d] j2se/1. 4/jre/lib/ i386/libawt. so(XineramaIsAc tive+0xa5) [0xb7c237d5] libqt-mt. so.3(_ZN14QDesk topWidget11resi zeEventEP12QRes izeEvent+ 0x20) [0xb759d1da] libqt-mt. so.3(_ZN7QWidge t5eventEP6QEven t+0x52b) [0xb769b2a3] libqt-mt. so.3(_ZN12QAppl ication14intern alNotifyEP7QObj ectP6QEvent+ 0x274) [0xb75f8c36] libqt-mt. so.3(_ZN12QAppl ication6notifyE P7QObjectP6QEve nt+0xce8) [0xb75fb564] libqt-mt. so.3(_ZN12QAppl ication9sendEve ntEP7QObjectP6Q Event+0x5b) [0xb7589279] libqt-mt. so.3(_ZN12QAppl ication16sendPo stedEventsEP7QO bjecti+ 0x25c) [0xb75f9c6e] libqt-mt. so.3(_ZN14QDesk topWidgetC1Ev+ 0x87) [0xb759ce61] libqt-mt. so.3(_ZN12QAppl ication7desktop Ev+0x5e) [0xb75f8e42] libqt-mt. so.3(_ZN12QAppl ication9constru ctERiPPcNS_ 4TypeE+ 0xcc) [0xb7600296] libqt-mt. so.3(_ZN12QAppl icationC2ERiPPc +0x6a) [0xb7600670] opera/9. 26-20080218. 6/opera [0x8648179] opera/9. 26-20080218. 6/opera [0x8060cb2] opera/9. 26-20080218. 6/opera( _ZN7QWidget6cre ateEmbb+ 0x554) [0x805ec94] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xe0) [0xb7065450] opera/9. 26-20080218. 6/opera( _ZNK7QDialog15m inimumSizeHintE v+0x111) [0x805eb71]
#0 /usr/lib/
#1 /usr/lib/
#2 /usr/lib/
#3 /usr/lib/
#4 /usr/lib/
#5 /usr/lib/
#6 /usr/lib/
#7 /usr/lib/
#8 /usr/lib/
#9 /usr/lib/
#10 /usr/lib/
#11 /usr/lib/
#12 /usr/lib/
#13 /usr/lib/
#14 /usr/lib/
#15 /usr/lib/
#16 /usr/lib/
#17 /lib/tls/
#18 /usr/lib/
opera: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted (core dumped)