Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360803 - app-emulation/vmware-workstation-6.5.5.328052 breaks with zlib-1.2.5-r2
Summary: app-emulation/vmware-workstation-6.5.5.328052 breaks with zlib-1.2.5-r2
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 16:13 UTC by Oliver Schwabedissen
Modified: 2011-12-17 15:19 UTC (History)
5 users (show)

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 Oliver Schwabedissen 2011-03-27 16:13:59 UTC
After updating zlib from 1.2.3-r1 to stable version 1.2.5-r2 vmware-workstation segfaults on startup. Reverting back to zlib-1.2.3-r1 fixed it.

Reproducible: Always

Steps to Reproduce:
1.emerge -u =zlib-1.2.5-r2
2.run /opt/vmware/workstation/bin/vmware
3.
Actual Results:  
VMware Workstation segfaults: 
/opt/vmware/workstation/bin/vmware: line 31: 14558 Segmentation fault      "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"


Expected Results:  
VMware Workstation starts as expected
Comment 1 Oliver Schwabedissen 2011-03-27 16:37:40 UTC
Found such messages in /var/log/messages, maybe it helps:

Mar 27 17:14:53 frodo kernel: vmware-modconfi[3932]: segfault at 1c4f ip b6737a91 sp bfa686bc error 4 in libc-2.11.3.so[b66c4000+140000]
Comment 2 Bob Johnson 2011-04-01 03:16:23 UTC
Ran into the same problem today. Another solution that got my (stable x86) vmware running was moving the /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 directory to a backup location. I have no idea which of the hack-arounds mentioned so far is less smelly.
Comment 3 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-04-01 12:21:41 UTC
(In reply to comment #2)
> Ran into the same problem today. Another solution that got my (stable x86)
> vmware running was moving the
> /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 directory to a backup
> location. I have no idea which of the hack-arounds mentioned so far is less
> smelly.

recent ebuilds are removing most of the bundled libraries including libxml2. what ebuild are you using?
Comment 4 Pascal BERTIN 2011-04-09 18:39:05 UTC
Same issue here.
In fact vmware 6.5.4 was segfaulting, I updated to 6.5.5 hoping that it would go, it didn't.
I found this report and reverted to zlib-1.2.3-r1, it now works fine.

It still requires VMWARE_USE_SHIPPED_GTK=force though.
Comment 5 Bob Johnson 2011-04-09 19:18:15 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Ran into the same problem today. Another solution that got my (stable x86)
> > vmware running was moving the
> > /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 directory to a backup
> > location. I have no idea which of the hack-arounds mentioned so far is less
> > smelly.
> 
> recent ebuilds are removing most of the bundled libraries including libxml2.
> what ebuild are you using?

The one currently marked as stable x86 - app-emulation/vmware-workstation-6.5.5.328052. If I run an equery on libxml2 I get this:

# equery belongs /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2
[ Searching for file(s) /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 in *... ]
app-emulation/vmware-workstation-6.5.5.328052 (/opt/vmware/workstation/lib/vmware/lib/libxml2.so.2)
Comment 6 Bob Johnson 2011-04-10 23:41:34 UTC
Well, scratch comment #2. For whatever reason removing the libxml2 directory has stopped working. Trying to run VMWare now produces:

/opt/vmware/workstation/lib/vmware/bin/vmware-modconfig: error while loading shared libraries: libxml2.so.2: cannot read file data: Error 21

So what seems to work for me now is to copy /usr/lib/libxml2.so.2 into the /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 directory. (I'm trying hard to keep this VMWare-centric and avoid downgrading zlib since so many other packages depend on zlib).
Comment 7 gemi404 2011-05-17 23:34:29 UTC
Any news on this one?

All the mentioned quick fixes above don't work for me. Although I haven't tried to downgrade zlib again. There are too many dependencies on that one.
Comment 8 Patrick Lorazo 2011-06-20 00:30:39 UTC
(In reply to comment #6)
> Well, scratch comment #2. For whatever reason removing the libxml2 directory
> has stopped working. Trying to run VMWare now produces:
> 
> /opt/vmware/workstation/lib/vmware/bin/vmware-modconfig: error while loading
> shared libraries: libxml2.so.2: cannot read file data: Error 21
> 
> So what seems to work for me now is to copy /usr/lib/libxml2.so.2 into the
> /opt/vmware/workstation/lib/vmware/lib/libxml2.so.2 directory. (I'm trying hard
> to keep this VMWare-centric and avoid downgrading zlib since so many other
> packages depend on zlib).

I had the same problem; proposed workaround works for me as well.
Comment 9 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-12-17 15:19:50 UTC
workstation 6 was removed from the tree. bug bug 385727.