Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256114 - app-emulation/vmware-workstation-6.5.1.126130 segfaults when "Create new virtual machine" is clicked
Summary: app-emulation/vmware-workstation-6.5.1.126130 segfaults when "Create new virt...
Status: RESOLVED DUPLICATE of bug 185444
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-23 18:20 UTC by William Arlofski
Modified: 2009-01-25 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Arlofski 2009-01-23 18:20:00 UTC
Recently upgraded from VMWare-Workstation-6.0.x to VMWare-Workatation-6.5.1.126130 and now when I attempt to create a new virtual machine the VMWare-Workstation GUI disappears with no visible errors. 

Running strace shows that VMWare-Workstation seg faults when the "Create new virtual machine" button is clicked. 



Reproducible: Always

Steps to Reproduce:
1. Start Vmware Workstsion
2. Click "Create new Virtual Machine"

Actual Results:  
Application interface segfaults, but currently running VMs continue to run. Re-start vmware workstation and I can see/access the running VMs.

Expected Results:  
I should be presented with the initial dialog box to begin the new VM creation as with the previous 6.0.x version of VMWare workstation.

Additionally, this is happening on this AMD Athlon64 X2 system as well as my 32bit laptop. Both were working fine with the 6.0.x version.


$ emerge --info
Portage 2.1.6.6 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r2-SMP x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r2-SMP-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
Timestamp of tree: Sat, 17 Jan 2009 08:00:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fno-gcse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-gcse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://newby.revpol.com/gentoo-portage"
USE="X a52 aac acl alsa amd64 apache2 arts avi berkdb bidi bzip2 cli cracklib crypt cups dbus divx4linux dri dvd dvdread faad ffmpeg flac foomaticdb fortran gdbm gif gpm gstreamer gtk hal iconv ieee1394 imlib ipv6 isdnlog jpeg kde kdeenablefinal ldap lm_sensors logrotate matroska midi mmx mozilla mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nvidia ogg openmp pam pcre perl png postgres ppds pppd python qt readline reflection session spl sse sse2 ssl sysfs tcpd tiff truetype unicode usb vorbis wma wxwindows xine xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="streamzap" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-01-24 03:11:01 UTC
My guess is that vmware probably needs some ~amd64/~x86 libraries that didn't get picked up in testing.  I'm not experiencing any problems with gtk-2.14.7, would you be able to try unmasking this to see if it's what's causing the problem please?
Comment 2 EsTaF 2009-01-24 14:47:23 UTC
(In reply to comment #1)
> My guess is that vmware probably needs some ~amd64/~x86 libraries that didn't
> get picked up in testing.  I'm not experiencing any problems with gtk-2.14.7,
> would you be able to try unmasking this to see if it's what's causing the
> problem please?
> 

And that version isn't needing in unmasking flag

*  x11-libs/gtk+
      Latest version available: 2.14.7
      Latest version installed: 2.14.7
      Size of files: 17,066 kB
      Homepage:      http://www.gtk.org/
      Description:   Gimp ToolKit +
      License:       LGPL-2

I didn't insert any flags in package.keywords

But there's a simular problem, when I'm running "Click "Create new Virtual Machine"
"
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-01-24 14:57:54 UTC
Hmmmm, ok.  Any chance you could try running this under gdb and when it segfaults, type bt and return the backtrace.  It may not be very useful, but it's the best I've got for figuring out what might be going on...

Also, can you please try (separately) running vmware on the console as follows:

VMWARE_USE_SHIPPED_GTK="force" vmware

as this sometimes provides a workaround for situations such as this one.  It's not ideal, but I haven't been able to reproduce the problem locally, so it might allow you to carry on working until the problem's solved...
Comment 4 William Arlofski 2009-01-24 17:15:36 UTC
On my AMD64 machine, I currently see:

# equery l gtk+
[ Searching for package 'gtk+' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/gtk+-1.2.10-r12 (1)
[I--] [  ] x11-libs/gtk+-2.12.11 (2)

I have not tried upgrading to the 2.14.7 suggested, since I seem to have some issues with blocking packages that I need to address first. Will do that next and report back.

But starting from konsole using: VMWARE_USE_SHIPPED_GTK="force" vmware 
as suggested, I am able to click the "Create new virtual machine", and the GUI does not crash - although the fonts in the gui look a little less pretty. :)

Comment 5 William Arlofski 2009-01-24 17:24:15 UTC
On my 32bit laptop, equery l gtk+ shows:

[I--] [  ] x11-libs/gtk+-1.2.10-r12 (1)
[I--] [ ~] x11-libs/gtk+-2.14.7 (2)

and vmware crashes when I click "Create new virtual machine"

But the VMWARE_USE_SHIPPED_GTK="force" vmware  workaround also stops it from crashing on that machine too.  So I'd say it is clearly a gtk+ issue, but perhaps not with the versions we are thinking.



Comment 6 William Arlofski 2009-01-24 17:28:17 UTC
OK. Sorry for the flurry of reports but:

On the AMD64 machine I just upgraded the gtk+ to the version recommended:

equery l gtk+
[ Searching for package 'gtk+' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/gtk+-1.2.10-r12 (1)
[I--] [M~] x11-libs/gtk+-2.14.7 (2)


And VMware-Workstation still crashes when I click "Create new Virtual machine"

Command line workaround still prevents the crash though. 

Thanks for the help!  

Comment 7 Mike Auty (RETIRED) gentoo-dev 2009-01-24 17:28:22 UTC
Well, the libraries to look at after that (and are usually the culprits) are gtkmm, libsexy, libsexymm and libview.  The versions that I've had working are:

gtkmm-2.14.3
libsexy-0.1.11
libsexymm-0.1.9
libsexy-0.6.2

Can you check you have those versions and please also try recompiling them if you do have the latest versions?  Thanks...
Comment 8 Mike Auty (RETIRED) gentoo-dev 2009-01-24 17:30:28 UTC
Either box is fine.  I'm not sure there'll be a big difference between amd64 and x86, so whilst we're still diagnosing feel free to test on whichever is easier...  5:)
Comment 9 William Arlofski 2009-01-24 18:17:23 UTC
on the AMD64 I currently have  the following... The only one that is not the same version you listed is the gtkmm - which I am upgrading now. 

[I--] [  ] dev-cpp/gtkmm-2.12.7 (2.4)
[I--] [ ~] dev-cpp/libsexymm-0.1.9 (0)
[I--] [  ] x11-libs/libsexy-0.1.11 (0)
[I--] [ ~] x11-libs/libview-0.6.2 (0)



It seems that gtkmm is ~amd64 masked.. 

Then >=dev-cpp/glibmm-2.18  which is also ~amd64 masked.  

Then >=dev-cpp/pangomm-2.14.0 which is ~amd64 masked... 

Then >=x11-libs/pango-1.21.4 which is ~amd64 masked. 

arg... Starting to feel like I am in "dependency hell" on a RedHat machine... lol

Then... FINALLY.... >=x11-libs/cairo-1.7.6 is required...

phew!   ...compiling.... 

lol   Sooner or later I am thinking I might just as well be running 
100% ~amd64. My /etc/portage/package.keywords is getting rather extensive... :)


sadly... this did not fix it. :(

Still crashes on "Create new virtual machine" but command line workaround STILL works. :)


Thanks again...  What else can I provide to help?
Comment 10 Mike Auty (RETIRED) gentoo-dev 2009-01-24 18:20:35 UTC
Ok, you can set all the ~amd64 stuff back if you'd like (sorry, it was just to test out if it was a particular library, but since we haven't found it, the stable versions were probably fine).

If you could run "gdb vmware" then at the prompt type "run".  Now click the button, and it should segfault.  At the prompt, please type "bt" and paste in any output that might provide.  If you don't get a prompt when it segfaults or something else goes wrong, please post whatever output you get from gdb...
Comment 11 William Arlofski 2009-01-24 18:49:24 UTC
the 'vmware' that is in my path is a shell script that sources other scripts and then finally calls other scripts...

I can't (or don't know how to) run gdb against this.


$ gdb /opt/vmware/workstation/bin/vmware
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
"/opt/vmware/workstation/bin/vmware": not in executable format: File format not recognized
(gdb)
Comment 12 Mike Auty (RETIRED) gentoo-dev 2009-01-24 18:56:25 UTC
Oh, you're quite right, sorry...  5:(

Ok, time to try something a little more adventurous if you're up for it?  Start up vmware, but *don't* press the create button.  Then go to a console and run:

ps aux | grep vmware

That'll give you a list of the vmware processes, pick out the one that's just vmware (not tray or unity-helper) and find the process id (should be the number in the second column).

Then start up gdb, and at the gdb prompt type "attach <process id>".  That'll load up all the libraries and bits and pieces that it's making use of, some will be from your system (one of which is probably causing the problem) the others will be the vmware pre-packaged ones.  You'll also find that the vmware program will be frozen and not responding, that's normal.  Now type "continue" and vmware will unfreeze and let you do whatever.  At this point, please press the create button, and vmware should keel over/vanish.  The gdb prompt should say something like "signal caught" or something.  Please copy whatever it says into your reply, and then type "bt" and again copy whatever output you may get into your reply.

Sorry this is so convoluted, but I don't know a better way to find out what's going wrong...
Comment 13 William Arlofski 2009-01-24 19:18:13 UTC
I'm up for anything if it helps me and possibly others. And don't worry about it being convoluted. I can handle whatever you throw at me, unless it is a Windows machine - which I would just throw out. :)


Ok, here's the gdb output after I continued and clicked "Create new..."

--[snip]--
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f3333f21700 (LWP 28989)]
0x00007f332faa0293 in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1
(gdb) bt
#0  0x00007f332faa0293 in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1
#1  0x00007f332f63e80f in Atk::Implementor::Implementor () from /usr/lib/libatkmm-1.6.so.1
#2  0x00007f332ee6f2d2 in Gtk::Widget::Widget () from /usr/lib/libgtkmm-2.4.so.1
#3  0x00007f332ee0b1cd in Gtk::Misc::Misc () from /usr/lib/libgtkmm-2.4.so.1
#4  0x00007f332edfeb3d in Gtk::Label::Label () from /usr/lib/libgtkmm-2.4.so.1
#5  0x00007f3333f4918d in Sexy::UrlLabel::UrlLabel () from /usr/lib/libsexymm.so.2
#6  0x000000000064ec5d in ?? ()
#7  0x0000000000653e16 in ?? ()
#8  0x00007f332bd2085a in cui::wizard::VM::SetupWizardPages ()
   from /opt/vmware/workstation/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
#9  0x00007f332bd16710 in cui::wizard::VM::SetupPages ()
   from /opt/vmware/workstation/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
#10 0x00007f332bd0ca3b in cui::wizard::New::OnInit ()
   from /opt/vmware/workstation/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
#11 0x00007f332bd229d3 in cui::wizard::VM::OnInit ()
   from /opt/vmware/workstation/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
#12 0x00007f332bd2a03c in cui::wizard::Wizard::Init ()
   from /opt/vmware/workstation/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0
#13 0x0000000000655a7e in ?? ()
#14 0x00000000005ddb37 in ?? ()
#15 0x00007f332faa52e3 in Glib::SignalProxyNormal::slot0_void_callback ()
   from /usr/lib/libglibmm-2.4.so.1
#16 0x00007f33315fbead in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x00007f333160cdb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x00007f333160dd22 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0x00007f333160df23 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x00007f332ff38943 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00007f33315fbead in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f333160ca47 in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0x00007f333160dd22 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---

#24 0x00007f333160df23 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0x00007f332ff4fbc9 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00007f33315fbead in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00007f333160c6d1 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x00007f333160dd22 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#29 0x00007f333160df23 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00007f332ff4e539 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007f332ffebc1d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00007f33315fbead in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0x00007f333160cbec in ?? () from /usr/lib/libgobject-2.0.so.0
#34 0x00007f333160db7c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#35 0x00007f333160df23 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0x00007f33300de37e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x00007f332ffe4dcf in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x00007f332ffe5ef7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x00007f33306ea64c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#40 0x00007f3331a70814 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0x00007f3331a73b25 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x00007f3331a73e25 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#43 0x00007f332ffe6222 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x000000000048300d in ?? ()
#45 0x0000000000483a4a in ?? ()
#46 0x00000000004775f8 in ?? ()
#47 0x00007f332a8d4b74 in __libc_start_main () from /lib/libc.so.6
#48 0x000000000047747a in ?? ()
#49 0x00007fff3c091bb8 in ?? ()
#50 0x0000000000000000 in ?? ()
(gdb)
--[snip]--

Comment 14 Mike Auty (RETIRED) gentoo-dev 2009-01-24 19:34:31 UTC
Right.  Well, that doesn't help me narrow it down much.  It looks like it's something to do with SexyUrlLabel, but I'm not sure what.  It doesn't appear to be a missing symbol (the type we've encountered in the past), so I'm afraid I'm stumped for now. 

We'll leave the bug open so others can find it (and in case someone can shed some light on it in the future), but I've run out of things I can suggest to help.  Sorry...  5:(
Comment 15 webflier 2009-01-25 08:20:38 UTC
I also had the problem of crash when click the create new machine menu item.
When I emerge vmware-workstation, It says I have to rebuild gtkmm with USE flag of "accessibility".
So I did it.
After installation, I could't start vmware. 
So I rebuild the libview, this time vmware started without problem.
But When I click "create new machine", it crashed.
Then I rebuild other packages that depends on gtkmm, including libsexy and libsexymm.
Now, it works without any problems.
So, I Suggest those who have same problem as mine, rebuild those packages I mentioned.
Comment 16 William Arlofski 2009-01-25 16:18:37 UTC
Thanks for the ideas... 

My gtkmm was already built with the accessibility USE flag, so just for the heck of it I re-emerged libsexy and libsexymm - no version upgrade nor downgrade, just a reinstall of the versions listed in comment #9 of this bug.

I did this on both my AMD64 workstation AND my 32bit laptop and guess what?

They BOTH no longer crash!

Thank you Mike, webflier and EsTaF for your help!

Comment 17 Mike Auty (RETIRED) gentoo-dev 2009-01-25 16:44:07 UTC
No problem, glad you got it sorted...  5:)

*** This bug has been marked as a duplicate of bug 185444 ***