VMware Communities
dado123
Contributor
Contributor

Vmplayer Workstation fails to start: Segmentation fault error

Ubuntu 20.04.1 LTS

VMware Player 15.5.6 build-16341506

Kernel: 5.8.0-36-generic

 

 

$ vmplayer 
/usr/bin/vmplayer: Zeile 105:  4616 Speicherzugriffsfehler  (Speicherabzug geschrieben) "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player"

 

 

 

 

 

I can no longer start Vmware workstation player, I receive the Segmentation fault      (core dumped) error (it's in German). It worked fine until now. I found this thread with same error message: https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-15-5-Pro-works-only-as-root-fai...

But my files all have read permission.

/etc/vmware/config

Any ideas what I could do? I really need it urgently....

I post the output of strace below

 

 

 

Reply
0 Kudos
12 Replies
dado123
Contributor
Contributor

 

$ strace -f vmplayer
...

fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
openat(AT_FDCWD, "/usr/share/locale/de_AT/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale/de/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale-langpack/de_AT/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale-langpack/de/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155314, ...}) = 0
mmap(NULL, 155314, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9ea0b17000
close(3)                                = 0
write(2, "/usr/bin/vmplayer: Zeile 105:  5"..., 164/usr/bin/vmplayer: Zeile 105:  5516 Speicherzugriffsfehler  (Speicherabzug geschrieben) "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player"
) = 164
rt_sigprocmask(SIG_SETMASK, [], NULL,  = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=5516, si_uid=1000, si_status=SIGSEGV, si_utime=25, si_stime=5} ---
wait4(-1, 0x7ffcf9579d10, WNOHANG, NULL) = -1 ECHILD (Keine Kind-Prozesse)
rt_sigreturn({mask=[]})                 = 0
read(255, "\nexit 1\n", 3328)           = 8
rt_sigprocmask(SIG_BLOCK, [CHLD], [],  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL,  = 0
exit_group(1)                           = ?
+++ exited with 1 +++

 

 

The error occurs after reading a file from the language pack, if I interpret the log output correctly?

Reply
0 Kudos
dado123
Contributor
Contributor

$ strace -f vmplayer

...

openat(AT_FDCWD, "/usr/share/locale/de_AT/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale/de/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale-langpack/de_AT/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
openat(AT_FDCWD, "/usr/share/locale-langpack/de/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155314, ...}) = 0
mmap(NULL, 155314, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8b34bcb000
close(3) = 0
write(2, "/usr/bin/vmplayer: Zeile 105: 6"..., 164/usr/bin/vmplayer: Zeile 105: 6059 Speicherzugriffsfehler (Speicherabzug geschrieben) "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player"

Reply
0 Kudos
mkubecek
Hot Shot
Hot Shot

You don't mention Player version but this looks like a known problem of 15.5.6 when running on a system with kernel 5.8 or newer, IIRC a bug in /proc/version parser. You can use one of the workarounds mentioned in

https://communities.vmware.com/t5/VMware-Workstation-Pro/Linux-5-8-host-support-like-VirtualBox-this...

but you would also need to patch the modules for Player 15.5.6 or 15.5.7 to actually work on such system. Another option is an upgrade to 16.1.0 which should work OK with anything up to 5.11-rc3.

dado123
Contributor
Contributor

Indeed, I have

VMware Player 15.5.6 build-16341506

Kernel: 5.8.0-36-generic

 

I will look into this thread. Thx for the hint

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

@dado123 

Moderator: Please do not start multiple threads on the same topic. I have unmarked this thread as solved and archived the additional thread you created. Here is the text you added to that thread, with the log output added to a "spoiler" to make the thread easier for all to scroll through.

 

***START***

I applied the patches from https://github.com/baryonix/vmware-host-modules/tree/fixes-for-5.8

But when I start without the wrapper, I get vmmon error, even though my Secure Boot is disabled (as suggested by this vm-ware article)

$ /usr/lib/vmware/bin/vmplayer

 

Could not open /dev/vmmon: Cannot open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.

 

Output of vmware-vmx-7835.log:

Spoiler
2021-01-11T14:48:57.135+01:00| vmx| I005: Log for VMware Player pid=7835 version=15.5.6 build=build-16341506 option=Release
2021-01-11T14:48:57.135+01:00| vmx| I005: The process is 64-bit.
2021-01-11T14:48:57.135+01:00| vmx| I005: Host codepage=UTF-8 encoding=UTF-8
2021-01-11T14:48:57.135+01:00| vmx| I005: Host is Linux 5.8.0-36-generic Ubuntu 20.04.1 LTS
2021-01-11T14:48:57.120+01:00| vmx| I005: VTHREAD 139739204094912 "vmx" tid 7835
2021-01-11T14:48:57.120+01:00| vmx| I005: DictionaryLoad: Cannot open file "/etc/vmware/vsphereFeatures/techPreview.cfg": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/vsphereFeatures/techPreview.cfg": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: FeatureStateLib: Error while loading tech preview config file: /etc/vmware/vsphereFeatures/techPreview.cfg, using default (disabled) for all Tech Preview features.
2021-01-11T14:48:57.120+01:00| vmx| I005: LOCALE de_DE.UTF-8 -> de
2021-01-11T14:48:57.120+01:00| vmx| I005: Msg_SetLocaleEx: HostLocale=UTF-8 UserLocale=de
2021-01-11T14:48:57.120+01:00| vmx| I005: PREF early PreferenceGet(libdir), using default
2021-01-11T14:48:57.120+01:00| vmx| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/messages/de/vmware.vmsg": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/messages/de/vmware.vmsg": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| W003: Cannot load message dictionary "/usr/lib/vmware/messages/de/vmware.vmsg".
2021-01-11T14:48:57.120+01:00| vmx| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: Msg_Reset:
2021-01-11T14:48:57.120+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: ----------------------------------------
2021-01-11T14:48:57.120+01:00| vmx| I005: ConfigDB: Failed to load /usr/lib/vmware/settings
2021-01-11T14:48:57.120+01:00| vmx| I005: DictionaryLoad: Cannot open file "/home/alv/.vmware/config": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: Msg_Reset:
2021-01-11T14:48:57.120+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/home/alv/.vmware/config": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: ----------------------------------------
2021-01-11T14:48:57.120+01:00| vmx| I005: ConfigDB: Failed to load ~/.vmware/config
2021-01-11T14:48:57.120+01:00| vmx| I005: OBJLIB-LIB: Objlib initialized.
2021-01-11T14:48:57.120+01:00| vmx| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2021-01-11T14:48:57.120+01:00| vmx| I005: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2021-01-11T14:48:57.121+01:00| vmx| I005: DictionaryLoad: Cannot open file "/home/alv/.vmware/config": No such file or directory.
2021-01-11T14:48:57.121+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/home/alv/.vmware/config": No such file or directory.
2021-01-11T14:48:57.121+01:00| vmx| I005: PREF Optional preferences file not found at /home/alv/.vmware/config. Using default values.
2021-01-11T14:48:57.121+01:00| vmx| I005: Fail to realpath: /usr/lib/vmware/lib/libcrypto.so.1.0.2-x86-64/libcrypto.so.1.0.2, errno=2
2021-01-11T14:48:57.121+01:00| vmx| I005: Denied library: /usr/lib/vmware/lib/libcrypto.so.1.0.2-x86-64/libcrypto.so.1.0.2
2021-01-11T14:48:57.130+01:00| vmx| I005: lib/ssl: OpenSSL using FIPS_drbg for RAND
2021-01-11T14:48:57.130+01:00| vmx| I005: lib/ssl: protocol list tls1.2
2021-01-11T14:48:57.130+01:00| vmx| I005: lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)
2021-01-11T14:48:57.130+01:00| vmx| I005: lib/ssl: cipher list ECDHE+AESGCM:RSA+AESGCM:ECDHE+AES:RSA+AES
2021-01-11T14:48:57.130+01:00| vmx| I005: lib/ssl: curves list prime256v1:secp384r1:secp521r1
2021-01-11T14:48:57.225+01:00| vmx| I005: Hostname=PC19084
2021-01-11T14:48:57.225+01:00| vmx| I005: IP=127.0.0.1 (lo)
2021-01-11T14:48:57.225+01:00| vmx| I005: IP=192.168.0.31 (wlp6s0)
2021-01-11T14:48:57.225+01:00| vmx| I005: System uptime 2057699999 us
2021-01-11T14:48:57.225+01:00| vmx| I005: Command line: "/usr/lib/vmware/bin/vmware-vmx" "-ssnapshot.numRollingTiers=0" "-s" "vmx.stdio.keep=TRUE" "-#" "product=4;name=VMware Player;version=15.5.6;buildnumber=16341506;licensename=VMware Player;licenseversion=15.0;" "-@" "duplex=3;msgs=ui" "/home/alv/vmware/CentOS 8 64-bit/CentOS 8 64-bit.vmx"
2021-01-11T14:48:57.225+01:00| vmx| I005: Msg_SetLocaleEx: HostLocale=UTF-8 UserLocale=de
2021-01-11T14:48:57.225+01:00| vmx| I005: DictionaryLoad: Cannot open file "/usr/lib/vmware/messages/de/vmware.vmsg": No such file or directory.
2021-01-11T14:48:57.225+01:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/messages/de/vmware.vmsg": No such file or directory.
2021-01-11T14:48:57.225+01:00| vmx| W003: Cannot load message dictionary "/usr/lib/vmware/messages/de/vmware.vmsg".
2021-01-11T14:48:57.225+01:00| vmx| I005: Duplex socket: 3
2021-01-11T14:48:57.239+01:00| vmx| I005: WQPoolAllocPoll : pollIx = 1, signalHandle = 9
2021-01-11T14:48:57.239+01:00| vmx| I005: WQPoolAllocPoll : pollIx = 2, signalHandle = 11
2021-01-11T14:48:57.239+01:00| vmx| I005: VigorTransport listening on fd 12
2021-01-11T14:48:57.239+01:00| vmx| I005: Vigor_Init 1
2021-01-11T14:48:57.239+01:00| vmx| I005: Connecting 'ui' to fd '3' with user '(null)'
2021-01-11T14:48:57.239+01:00| vmx| I005: VmdbAddConnection: cnxPath=/db/connection/#1/, cnxIx=1
2021-01-11T14:48:57.257+01:00| vmx| I005: /home/alv/vmware/CentOS 8 64-bit/CentOS 8 64-bit.vmx: Setup symlink /var/run/vmware/1630e53e3c467db32790b182544ecc87 -> /var/run/vmware/1000/2057699999_7835
2021-01-11T14:48:57.257+01:00| vmx| I005: Vix: [mainDispatch.c:486]: VMAutomation: Initializing VMAutomation.
2021-01-11T14:48:57.257+01:00| vmx| I005: Vix: [mainDispatch.c:738]: VMAutomationOpenListenerSocket() listening
2021-01-11T14:48:57.259+01:00| vmx| I005: Vix: [mainDispatch.c:4200]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1 additionalError=0
2021-01-11T14:48:57.260+01:00| vmx| I005: Transitioned vmx/execState/val to poweredOff
2021-01-11T14:48:57.260+01:00| vmx| I005: Vix: [mainDispatch.c:4200]: VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0
2021-01-11T14:48:57.260+01:00| vmx| I005: Vix: [mainDispatch.c:4200]: VMAutomation_ReportPowerOpFinished: statevar=2, newAppState=1877, success=1 additionalError=0
2021-01-11T14:48:57.260+01:00| vmx| I005: Vix: [mainDispatch.c:4200]: VMAutomation_ReportPowerOpFinished: statevar=3, newAppState=1881, success=1 additionalError=0
2021-01-11T14:48:57.260+01:00| vmx| I005: Msg_Post: Error
2021-01-11T14:48:57.260+01:00| vmx| I005: [msg.vmmonPosix.openFailed] Could not open /dev/vmmon: No such file or directory.
2021-01-11T14:48:57.260+01:00| vmx| I005+ Please make sure that the kernel module `vmmon' is loaded.
2021-01-11T14:48:57.260+01:00| vmx| I005: ----------------------------------------
2021-01-11T14:48:57.260+01:00| vmx| I005: Locale_Errno2LocalString: "C" locale found. LC_ALL=(null), LANG=de_DE.UTF-8
2021-01-11T14:48:57.260+01:00| vmx| I005: Locale_Errno2LocalString: locale(LC_ALL)=C locale(LC_MESSAGES)=C
2021-01-11T14:48:58.040+01:00| vmx| I005: Msg_Post: Error
2021-01-11T14:48:58.040+01:00| vmx| I005: [msg.vmmonPosix.initFailed] Failed to initialize monitor device.
2021-01-11T14:48:58.040+01:00| vmx| I005: ----------------------------------------
2021-01-11T14:48:59.202+01:00| vmx| I005: Module 'VMMon' initialization failed.
2021-01-11T14:48:59.203+01:00| vmx| I005: Vix: [mainDispatch.c:815]: VMAutomation_LateShutdown()
2021-01-11T14:48:59.203+01:00| vmx| I005: Vix: [mainDispatch.c:770]: VMAutomationCloseListenerSocket. Closing listener socket.
2021-01-11T14:48:59.204+01:00| vmx| I005: Flushing VMX VMDB connections
2021-01-11T14:48:59.205+01:00| vmx| I005: VmdbDbRemoveCnx: Removing Cnx from Db for '/db/connection/#1/'
2021-01-11T14:48:59.205+01:00| vmx| I005: VmdbCnxDisconnect: Disconnect: closed pipe for pub cnx '/db/connection/#1/' (0)
2021-01-11T14:48:59.206+01:00| vmx| I005: VigorTransport_ServerDestroy: server destroyed.
2021-01-11T14:48:59.206+01:00| vmx| I005: WQPoolFreePoll : pollIx = 2, signalHandle = 8
2021-01-11T14:48:59.206+01:00| vmx| W003: Failed to initialize VM.

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
dado123
Contributor
Contributor

Sorry, my bad.

As a follow up, I've figured out how to manually load modules into the kernel, doing this solved the vmmon error.

$ sudo modprobe -a vmmon

I can load the VMs now, but for some reason I get the network adapter error, which I could workaround by this hint:

When loading a VM:

$ sudo modprobe vmnet && sudo vmware-networks --start

Now this is really annoying, having all this workarounds in place... If I could at least start the network modules without touching it each time?

Reply
0 Kudos
mkubecek
Hot Shot
Hot Shot

Sounds like the init script (/etc/init.d/vmware) is not run on boot for some reason. I have already seen someone mentioning a problem when the script was not enabled on install because his distribution did not provide chkconfig unless a package with it was installed manually. You might try

systemctl enable vmware
systemctl start vmware

("enable" will only make it start on boot so if you also want to start it now, you need to use "start" as well).

0986098h
Contributor
Contributor

Hi, I'm getting this error too, do anybody have found a properly way to solve the issue?

If yes, could you please share an how to?

It would be also a great thing if someone from vmware olud share a proper solution to this..

Thank you

Reply
0 Kudos
dado123
Contributor
Contributor

to me mkubeceks patch helped.

what I'm doing is basically

wget https://github.com/mkubecek/vmware-host-modules/archive/player-15.5.6.tar.gz
tar -xzf vmware-host-modules-player-15.5.6.tar.gz
cd vmware-host-modules-player-15.5.6
make
sudo make install

sudo modprobe -a vmmon
sudo modprobe vmnet && sudo vmware-networks --start
Reply
0 Kudos
0986098h
Contributor
Contributor

Hi @dado123 thank you for your help.

I tried the solution your said but I keep having the error trying to open the application:

$ vmplayer

[AppLoader] Cannot get library dependencies. (9c)

[AppLoader] Fallback to use all shipped libraries.
/usr/bin/vmplayer: line 105:  3138 Segmentation fault      "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player"

Maybe I'm missing something... I downloaded and extracted the patch in a Desktop's subdirectory, them I ran

sudo modprobe -a vmmon
sudo modprobe vmnet && sudo vmware-networks --start

And then tried to start the vmplayer again, I also tried to restart the system.

Do you see any error in mi process?

Another question, maybe for @mkubecek , if this patch would not work for me, how could y remove the changes I applied through it?

Thank you both for your help.

Reply
0 Kudos
0986098h
Contributor
Contributor

Hi @dado123 and @mkubecek , do you have any idea?

If you do not see a possible solution, maybe you know how could I revert the changes I applied.

Thank you again.

 

Reply
0 Kudos
mkubecek
Hot Shot
Hot Shot

You can rebuild and install the orginal modules, of course. But I'm not sure what exactly you expect it to help with.

Reply
0 Kudos