{"id":41,"date":"2008-07-30T08:48:21","date_gmt":"2008-07-30T07:48:21","guid":{"rendered":"http:\/\/tristan.ferroir.fr\/index.php\/2008\/07\/30\/vmware-in-ubuntu-804-and-the-locking-assertion-failure-problem\/"},"modified":"2013-08-23T09:42:54","modified_gmt":"2013-08-23T08:42:54","slug":"vmware-in-ubuntu-804-and-the-locking-assertion-failure-problem","status":"publish","type":"post","link":"http:\/\/tristan.ferroir.fr\/index.php\/2008\/07\/30\/vmware-in-ubuntu-804-and-the-locking-assertion-failure-problem\/","title":{"rendered":"VMWare in Ubuntu 8.04 and the locking assertion failure problem"},"content":{"rendered":"<p>I am not usually writing in English on this blog but I think that in this language this post could interest more people. I installed VMWare Server 1.06 on Kubuntu Hardy Heron 8.04 and I faced the locking assertion failure problem as some other ubunteros have faced. Here it is how I solved it.<\/p>\n<p><!--more-->First, I have to say I used the installation script found on this <a href=\"http:\/\/www.uluga.ubuntuforums.org\/showthread.php?t=770873\" target=\"_blank\">ubuntuforums page.<\/a> If everything went right during the installation, when I tried to start VMWare i had this huge console outupt (or something like it because I didn&#8217;t wrote down the exact output and therefore copy it from another forum)<\/p>\n<pre lang=\"bash\">ERROR: ld.so: object '\/usr\/lib\/vmware\/lib\/libX11.so.6\/libX11.so.6' from LD_PRELOAD cannot be preloaded: ignored.\r\nERROR: ld.so: object '\/usr\/lib\/vmware\/lib\/libX11.so.6\/libX11.so.6' from LD_PRELOAD cannot be preloaded: ignored.\r\nERROR: ld.so: object '\/usr\/lib\/vmware\/lib\/libX11.so.6\/libX11.so.6' from LD_PRELOAD cannot be preloaded: ignored.\r\nERROR: ld.so: object '\/usr\/lib\/vmware\/lib\/libX11.so.6\/libX11.so.6' from LD_PRELOAD cannot be preloaded: ignored.\r\nLocking assertion failure.  Backtrace:\r\n#0 \/usr\/lib\/libxcb-xlib.so.0 [0xb6eb5767]\r\n#1 \/usr\/lib\/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6eb58b1]\r\n#2 \/usr\/lib\/libX11.so.6(_XReply+0xfd) [0xb708b1bd]\r\n#3 \/usr\/lib\/vmware\/lib\/libXrender.so.1\/libXrender.so.1(XRenderQueryFormats+0x109) [0xb745c969]\r\n#4 \/usr\/lib\/vmware\/lib\/libXrender.so.1\/libXrender.so.1(XRenderFindFormat+0x4c) [0xb745cf4c]\r\n#5 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78ce180]\r\n#6 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78ced2c]\r\n#7 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_draw_pixbuf+0x270) [0xb789ec14]\r\n#8 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78ab24f]\r\n#9 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_draw_pixbuf+0x270) [0xb789ec14]\r\n#10 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_pixbuf_render_pixmap_and_mask_for_colormap+0x255) [0xb78aab34]\r\n#11 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77af298]\r\n#12 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77af586]\r\n#13 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77b177e]\r\n#14 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0xd1) [0xb79ca459]\r\n#15 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0 [0xb79b23a1]\r\n#16 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_closure_invoke+0x1b1) [0xb79b2076]\r\n#17 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0 [0xb79c96eb]\r\n#18 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_signal_emit_valist+0x91e) [0xb79c8d46]\r\n#19 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_signal_emit+0x38) [0xb79c90b8]\r\nLocking assertion failure.  Backtrace:\r\n#0 \/usr\/lib\/libxcb-xlib.so.0 [0xb6eb5767]\r\n#1 \/usr\/lib\/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb6eb581e]\r\n#2 \/usr\/lib\/libX11.so.6 [0xb708a518]\r\n#3 \/usr\/lib\/libX11.so.6(XAddExtension+0x2c) [0xb706dc9c]\r\n#4 \/usr\/lib\/vmware\/lib\/libXft.so.2\/libXft.so.2(_XftDisplayInfoGet+0x77) [0xb746ded7]\r\n#5 \/usr\/lib\/vmware\/lib\/libXft.so.2\/libXft.so.2 [0xb746c8b1]\r\n#6 \/usr\/lib\/vmware\/lib\/libXft.so.2\/libXft.so.2 [0xb746cd39]\r\n#7 \/usr\/lib\/vmware\/lib\/libXft.so.2\/libXft.so.2(XftDrawPicture+0x10) [0xb746cec0]\r\n#8 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78cc9b6]\r\n#9 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78ced75]\r\n#10 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_draw_pixbuf+0x270) [0xb789ec14]\r\n#11 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0 [0xb78ab24f]\r\n#12 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_draw_pixbuf+0x270) [0xb789ec14]\r\n#13 \/usr\/lib\/vmware\/lib\/libgdk-x11-2.0.so.0\/libgdk-x11-2.0.so.0(gdk_pixbuf_render_pixmap_and_mask_for_colormap+0x255) [0xb78aab34]\r\n#14 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77af298]\r\n#15 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77af586]\r\n#16 \/usr\/lib\/vmware\/lib\/libgtk-x11-2.0.so.0\/libgtk-x11-2.0.so.0 [0xb77b177e]\r\n#17 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0xd1) [0xb79ca459]\r\n#18 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0 [0xb79b23a1]\r\n#19 \/usr\/lib\/vmware\/lib\/libgobject-2.0.so.0\/libgobject-2.0.so.0(g_closure_invoke+0x1b1) [0xb79b2076]\r\nvmware: ..\/..\/src\/xcb_lock.c\u00a0:77\u00a0:\u00a0_XGetXCBBuffer:  L'assertion \u00ab\u00a0((int) ((xcb_req) - (dpy-&gt;request)) &gt;= 0)\u00a0\u00bb a \u00e9chou\u00e9.<\/pre>\n<p>The problem seems to come from an incompatibility of version between the\u00a0 libX11 library of Ubuntu and the one required from VMWare. How to solve it. First download this<a href=\"http:\/\/tristan.ferroir.fr\/Linux\/libX11.so.6\"> old version of the library<\/a> (don&#8217;t worry we wont replace yours but just make VMWare think that it has to use this one). Then in a terminal do the following :<\/p>\n<pre lang=\"bash\">cd \/usr\/lib\/vmware\/\u00a0 (We go into the directory where VMWare is installed)\r\nsudo mkdir lib\/libX11.so.6 (We create a directory where we will put the old version of the library that VMWare will use)\r\nsudo cp \/path\/to\/the\/downloaded\/libX11.so.6 lib\/libX11.so.6\/ (We copy the old library into the VMware library directory we've just created)<\/pre>\n<p>Now you should be able to run VMWare properly. <strong>Please comment if it worked for you!<\/strong> You can find other linux ressources on <a href=\"http:\/\/tristan.ferroir.fr\/Linux.php\">this page<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am not usually writing in English on this blog but I think that in this language this post could interest more people. I installed VMWare Server 1.06 on Kubuntu Hardy Heron 8.04 and I faced the locking assertion failure &hellip; <a class=\"more-link\" href=\"http:\/\/tristan.ferroir.fr\/index.php\/2008\/07\/30\/vmware-in-ubuntu-804-and-the-locking-assertion-failure-problem\/\">Lire la suite <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[115,58,57],"_links":{"self":[{"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/posts\/41"}],"collection":[{"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":1,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":1792,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions\/1792"}],"wp:attachment":[{"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tristan.ferroir.fr\/index.php\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}