VMware Communities
RafaelBarreto
Enthusiast
Enthusiast

[bug report] workstation 6.5.1 crashes in "autoDrawer.c" @ Ubuntu Intrepid (2.6.27.10)

Hi.

When I hit some button in my toolbar (file, edit, view, vm...) the content list opens (as usual),

but when I hit the button again to close the list, the wmware closes (crashes)!!!

Running in the terminal, I get the message:

(null): file autoDrawer.c: line 255 (ViewAutoDrawerUpdate): assertion failed: (grabbed)

The full log is (running in the terminal):

$ vmware
Logging to /tmp/vmware-lorena/setup-24891.log
filename: /lib/modules/2.6.27-10-generic/misc/vmmon.ko
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: 96CBF0250D0FB3F01BFBFFC
depends:
vermagic: 2.6.27-10-generic SMP mod_unload modversions
filename: /lib/modules/2.6.27-10-generic/misc/vmnet.ko
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
srcversion: ADCA63162FFDDBB3FC374B5
depends:
vermagic: 2.6.27-10-generic SMP mod_unload modversions
filename: /lib/modules/2.6.27-10-generic/misc/vmblock.ko
version: 1.1.2.0
license: GPL v2
description: VMware Blocking File System
author: VMware, Inc.
srcversion: 768B08090715A2D8C721BF3
depends:
vermagic: 2.6.27-10-generic SMP mod_unload modversions
parm: root:The directory the file system redirects to. (charp)
filename: /lib/modules/2.6.27-10-generic/misc/vmci.ko
license: GPL v2
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
srcversion: F400DF976CFE388EBC1A0A2
depends:
vermagic: 2.6.27-10-generic SMP mod_unload modversions
filename: /lib/modules/2.6.27-10-generic/misc/vsock.ko
license: GPL v2
version: 1.0.0.0
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: EC2E0BE1F6FB039D1109ADB
depends: vmci
vermagic: 2.6.27-10-generic SMP mod_unload modversions
filename: /lib/modules/2.6.27-10-generic/misc/vmmon.ko
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: 96CBF0250D0FB3F01BFBFFC
depends:
vermagic: 2.6.27-10-generic SMP mod_unload modversions
(null): file autoDrawer.c: line 255 (ViewAutoDrawerUpdate): assertion failed: (grabbed)

I will wait a solution. Mainly because I don't have this autoDrawer.c file!!

But I think is some incompatibility with gnome. (Note that I have compiz disabled).

:smileygrin:

Use it, and shall be master!
0 Kudos
9 Replies
RafaelBarreto
Enthusiast
Enthusiast

One more information about this bug.

I realized that after the crash if I restart the VMware workstation, the virtual machine comes back unchanged (i.e. I don' t need to restart it).

So I think this bug affects only the front end VMware window.

Feliz Natal.

Rafael

Use it, and shall be master!

Use it, and shall be master!
0 Kudos
KevinG
Immortal
Immortal

Ubuntu Intrepidis (8.10) not a supported host at this time.

It will work, once it has been tested in a future release and added to the list of supported hosts.

0 Kudos
RafaelBarreto
Enthusiast
Enthusiast

Thank you for your answer, KevinG.

It was not the answer I would like to read (mainly because I always used VMware in unsupported kernels and distributions), but I feel happy to know that the VMware team will track this bug.

Use it, and shall be master!

Use it, and shall be master!
0 Kudos
KevinG
Immortal
Immortal

Yes, it's on the radar for a future release :smileygrin:

0 Kudos
RafaelBarreto
Enthusiast
Enthusiast

The problem was solved by a friend who uses Debian.

He founded in http://cia.vc/stats/project/view

* libview/autoDrawer.c:
+- Remove an assertion on the result of gtk_grab_get_current which is \\ no longer guaranteed with modern GTK+ libraries.+

And in http://view.sourceforge.net

<div class="header"><div class="title">Libview 0.6.2 released</div><div class="date">2008-06-17 15:56 PST</div></div>+ This is a small feature addition release that adds a Close function to the
AutoDrawer.+
Release Notes:

  • Added a Close function to AutoDrawer, which closes the drawer
    immediately regardless of the location of the mouse pointer.
    <div class="body"></div>

After this, I searched in my computer by the libview:

# locate libview
+ /usr/lib/vmware/lib/libview.so.2+
+ /usr/lib/vmware/lib/libview.so.2/libview.so.2+

And searched in the repositories:

# aptitude search libview
+ p libview-dev - VMware's Incredibly Exciting Widgets+
+ p libview2 - VMware's Incredibly Exciting Widgets+
+ p libview2-dbg - VMware's Incredibly Exciting Widgets+

So I installed the libview2.

# dpkg -L libview2
+ /usr/lib+
+ /usr/lib/libview.so.2.3.0+
+ /usr/lib/libview.so.2+

Now, running vmware, the program uses the new lib!!

# lsof | grep -i vmware | grep -i libview
+ vmware-tr 9527 lorena mem REG 8,1 447208 166328 /usr/lib/libview.so.2.3.0+
+ vmware 10335 lorena mem REG 8,1 447208 166328 /usr/lib/libview.so.2.3.0+
+ vmware-un 11125 lorena mem REG 8,1 447208 166328 /usr/lib/libview.so.2.3.0+

The braves can compile the libview by themselves (I think it is better, but I am using Ubuntu and not Slackware).

The bug has gone!!!!

Cheers!

Use it, and shall be master!

Use it, and shall be master!
0 Kudos
RafaelBarreto
Enthusiast
Enthusiast

Hi again.

I am experiencing problems with unity, after I update libview (I think compiling this lib may solve the problem).

I will report this to the libview developers, and as I think some VMware users may have the same problems, I will report here too.

NEW Problem: When I start my virtual machine and try to go to UNITY, the front end freezes. If I kill the front end and re-open it, the virtual machine come back inaltered.

Note that the problem I had before update libview was: "When I hit some button in my toolbar (file, edit, view, vm...) the content list opens (as usual), but when I hit the button again to close the list, the wmware closes (crashes)!!!" (ONLY THE FRONT END)

The back end still run in both cases.

Good luck for all.

Use it, and shall be master!

Use it, and shall be master!
0 Kudos
RafaelBarreto
Enthusiast
Enthusiast

Hi!

Forget this new bug!

It is due to another problem which I will post in another topic.

Use it, and shall be master!
0 Kudos
remowilliams
Contributor
Contributor

I had the same bug with the menu bars. My only recourse was to turn on compiz, but even that didn't solve the incredible disappearing window problem completely, it just made it happen less often. Also, I had a bug that when hovering the mouse over the tray, in full screen mode, I would get flashes back and forth from my Ubuntu desktop to my Windows desktop. It was very annoying.

To fix it, I had to compile libview myself, which was a huge hassle involving hours of searching.

In addition, after I compiled and installed libview, I had to trick vmware into using the correct libs. It kept insisting that it wanted to use the broken ones, but only when launched from the applications menu in Ubuntu. When launched from the command line, it worked fine.

I used lsof to figure out what libview files were in use (which I had to figure out, only works while vmware is running), as Raphael said. I copied the newer version (libview.so.2.4.1) onto the old version that vmware was using (libview.so.2). That didn't work, because next, vmware decided to use libview.so.2 from the usr/lib folder. So I deleted that file.

Finally, after killing vmware tray, and restarting it, it works from the application menu/launcher.

I very much did not enjoy fixing this software, but at least it seems to work now.

I hope my pain helps someone else.

Edit: P.S. - Thank you very much Raphael, I never would have solved the issue without your post. I also wouldn't have solved the issue without my 12 years as a professional software developer. Truly, an unacceptable bug, especially considering that libview is developed by VMWare in the first place, and the latest release, 6.5.1, claims to be compatible with Ubuntu. It is not compatible out of the box, I promise you.

0 Kudos
brooksc60
Contributor
Contributor

Same issues in Ubuntu 9.04 64Bit with VMWare Workstation 6.5.3 - just updated / just tested - same error - bug is not fixed.

And we do not have the time to mess with recompiling libview, and fixing a bug in vmware interactions with libview.

Since this is an easy fix, why was it ignored in the 6.5.3 release? And btw, this is not an issue in virtualBox as my comrade constantly informs me...

Please do not let a virtualBox user, who pays nothing for his software, outshine VMWare because my UI constantly disappears on me.

Cheers,

/RB

0 Kudos