Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 464990

Summary: app-emulation/vmware-workstation-? with dev-cpp/gtkmm-2.24.3 - segmentation faults
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: Vadim Kuznetsov (RETIRED) <vadimk>
Status: RESOLVED DUPLICATE    
Severity: normal CC: m.debruijne, Manfred.Knick, sedros, vmware+disabled
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace showing error
libgnomecanvasmm_and_gtkmm-2.4.3-build.log
vmware-ui log

Description Harris Landgarten 2013-04-07 18:09:28 UTC
after update to gtkmm-2.24.3 vmware-workstation segfaults on almost all actions even clicking about and if you closed it last with a existing vm configured it will only flash and immediately exit

Downgrading to 2.24.2 fixes the problem
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-07 19:40:29 UTC
Please post your `emerge --info app-emulation/vmware-workstation' output in a comment.
Comment 2 Pacho Ramos gentoo-dev 2013-04-07 20:16:23 UTC
And also all messages you get when running it from a terminal
Comment 3 Harris Landgarten 2013-04-07 20:23:27 UTC
This is a runtime error on a binary package. I suggest a blocker in the vmware-workstation ebuild similar to the ones you use in nvidia-drivers when it is incompatible with a new xorg-server.

There is now information reported in the terminal or logs. I found the segfault through gdb and the downgrade fixes it.


I am attaching a strace. Sorry I didn't save the bt from gdb.
Comment 4 Harris Landgarten 2013-04-07 20:24:25 UTC
Created attachment 344756 [details]
strace showing error
Comment 5 Harris Landgarten 2013-04-07 20:33:00 UTC
In case it wasn't clear, there are no messages in the terminal. You can verify the error with vmware-player which will just skip to the next line and not run when you type vmplayer
Comment 6 megabaks 2013-04-08 02:41:35 UTC
about vmware ---> http://forums.gentoo.org/viewtopic-t-956334.html
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-08 11:28:53 UTC
Comment on attachment 344756 [details]
strace showing error

This doesn't tell us anything specific about the segmentation fault.
Comment 8 Harris Landgarten 2013-04-08 12:10:09 UTC
vmware-workstation is a core production app for me so I cannot break it during the workweek.

As I remember from the gdb session that found the problem:

1. I tested by running vmware for a terminal with no vm configured so the main window came. up.

2. I attached gdb to the running pid of vmware

3. after typing continue in gdb I clicked on about vmware and the program segfaulted.

4. a bt full showed the a vmware lib tried to create a button which called gtkmm and atkmm libs and then segfaulted.

Anyone can reproduce this easily with vmplayer.

Note, vmware bundles their own copies of all these libraries but they are not used. I didn't see a documented way to tell vmware-workstation to use bundled libraries.
Comment 9 megabaks 2013-04-08 12:16:12 UTC
Created attachment 344818 [details]
libgnomecanvasmm_and_gtkmm-2.4.3-build.log

(In reply to comment #7)
> Comment on attachment 344756 [details]
> strace showing error
> 
> This doesn't tell us anything specific about the segmentation fault.

app-emulation/vmware-workstation depend on dev-cpp/libgnomecanvasmm
last available version of dev-cpp/libgnomecanvasmm - 2.26.0
this version can't be build with gtkmm-2.4.3
if we have compiled vmware-workstation and try it use with gtkmm-2.4.3 ----> segfault on libgnomecanvasmm
Comment 10 megabaks 2013-04-08 12:51:05 UTC
s/2.4.3/2.24.3
Comment 11 Harris Landgarten 2013-04-09 00:45:42 UTC
Vadim, do you need anymore info from me or have you been able to reproduce the problem on your own?
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-10 16:49:12 UTC
*** Bug 465388 has been marked as a duplicate of this bug. ***
Comment 13 Pawel Sedrowski 2013-04-10 19:08:00 UTC
I encountered the same problem. In the vmware-ui.log I attached you can find more information.
Comment 14 Pawel Sedrowski 2013-04-10 19:09:36 UTC
Created attachment 345142 [details]
vmware-ui log
Comment 15 Pacho Ramos gentoo-dev 2013-06-21 11:15:24 UTC

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