Linux Mint 19.1 (Tessa) - tmnationsforever not launching


#1

I have just installed Linux Mint (dual boot Win 10 separate drive) and upgraded to 19.1 (Tessa)
Have played with linux before but no expert.
Wanted to see if I could get TmNationsForever working.
Installed snapd, snap-core and the snap tmnationsforever, seemed to go ok.
I can’t launch the snap from the shortcut in programs > games > tmnationsforever or terminal.

Greatly appreciate any help, have looked on net and in forum, am lost on what to do next.

Operating System: Linux Mint 19.1 Cinnamon
Cinnamon Version: 4.0.10
Linux Kernel: 4.15.0-20-generic
Graphics Card: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller

:~$ snap version
snap 2.38
snapd 2.38
series 16
linuxmint 19.1
kernel 4.15.0-20-generic

~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.38 6673 stable canonical✓ core
tmnationsforever 2.11.26 28 stable snapcrafters -

launch from terminal:
~$ tmnationsforever.launcher
/snap/tmnationsforever/28/bin/sommelier: line 222: 8120 Segmentation fault (core dumped) yad --timeout=15 --timeout-indicator=bottom --text="${NOTICE}" --no-escape --width=460 --center --no-buttons --splash --on-top
/snap/tmnationsforever/28/bin/sommelier: line 222: 8121 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” wineboot --init 2>&1
8122 (core dumped) | yad --progress --title=“Preparing Windows environment” --width=400 --center --no-buttons --auto-close --auto-kill --on-top --pulsate
/snap/tmnationsforever/28/bin/sommelier: line 10: 8126 Segmentation fault (core dumped) wget “${INSTALL_URL}” -O “${TMPDIR}/${INSTALL_EXE}” 2>&1
8127 (core dumped) | perl -p -e ‘$| = 1; s/^.* +([0-9]+%) +([0-9,.]+[GMKB]) +([0-9hms,.]+).*$/\1\n# Downloading… \2 (\3)/’
8128 (core dumped) | yad --progress --title="${INSTALL_EXE}" --width=400 --center --no-buttons --auto-close --auto-kill --on-top --no-escape
/snap/tmnationsforever/28/bin/sommelier: line 10: 8132 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” “${TMPDIR}/${INSTALL_EXE}” /silent
rm: cannot remove ‘/tmp/tmnationsforever_setup.exe’: No such file or directory
/snap/tmnationsforever/28/bin/sommelier: line 40: cd: /home/razzel/snap/tmnationsforever/common/.wine/drive_c/Program Files/TmNationsForever: No such file or directory
/snap/tmnationsforever/28/bin/sommelier: line 34: 8143 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” explorer /desktop=“virtual”,"${NATIVE_RES}" “${WINE_EXE}”

thanks,
raz


#2

Please try upgrade your Linux kernel and reproduce the problem again, Linux Mint has a notorious policy to avoid upgrading kernel packages by default.


#3

Thanks for the quick reply Lin-Buo-Ren,

Upgraded kernel to: 4.15.0-46-generic > rebooted.
Got similar result (see below), should I remove reinstall snapd, tmnationsforever ?

~$ tmnationsforever.launcher
/snap/tmnationsforever/28/bin/sommelier: line 222: 6533 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” wineboot --init 2>&1
6534 (core dumped) | yad --progress --title=“Preparing Windows environment” --width=400 --center --no-buttons --auto-close --auto-kill --on-top --pulsate
/snap/tmnationsforever/28/bin/sommelier: line 10: 6532 Segmentation fault (core dumped) yad --timeout=15 --timeout-indicator=bottom --text="${NOTICE}" --no-escape --width=460 --center --no-buttons --splash --on-top
/snap/tmnationsforever/28/bin/sommelier: line 10: 6538 Segmentation fault (core dumped) wget “${INSTALL_URL}” -O “${TMPDIR}/${INSTALL_EXE}” 2>&1
6539 (core dumped) | perl -p -e ‘$| = 1; s/^.* +([0-9]+%) +([0-9,.]+[GMKB]) +([0-9hms,.]+).*$/\1\n# Downloading… \2 (\3)/’
6540 (core dumped) | yad --progress --title="${INSTALL_EXE}" --width=400 --center --no-buttons --auto-close --auto-kill --on-top --no-escape
/snap/tmnationsforever/28/bin/sommelier: line 10: 6544 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” “${TMPDIR}/${INSTALL_EXE}” /silent
rm: cannot remove ‘/tmp/tmnationsforever_setup.exe’: No such file or directory
/snap/tmnationsforever/28/bin/sommelier: line 40: cd: /home/razzel/snap/tmnationsforever/common/.wine/drive_c/Program Files/TmNationsForever: No such file or directory
/snap/tmnationsforever/28/bin/sommelier: line 34: 6555 Segmentation fault (core dumped) env WINEARCH="${WINEARCH}" WINEPREFIX="${WINEPREFIX}" “${WINELOADER}” explorer /desktop=“virtual”,"${NATIVE_RES}" “${WINE_EXE}”


#4

That’s not necessary as the problem is not likely to be solved by simply reinstall those packages (but feel free to try, note that removing snapd will inherently removing all currently installed snaps)


#5

That segfault issue is probably caused by libc update on core16 snaps with wine, I also had encountered similar issue when my wine snaps were on core16.

So to fix this issue either snap dev have to ship older libc version precisely libc6_2.23-0ubuntu10 in the snap OR upgrade snap base from core16 to core18 inorder to fix that issue.


#6

Thanks mmtrt,
how would i go about upgrading the snap base to core18?


#7

yes, you are right tried remove, reinstall, same result.
Is there anyway to check if snap environment is running properly?


#8

That has to be done by the snap’s publisher, which is currently the Snapcrafters community. You can try to migrate it yourself and contribute to the project by sending a pull request. You may want to check out the following forum topics for more info regarding how winesnaps works:


#9
  • snap version
  • snap help debug
  • systemctl status snapd.service
  • journalctl --unit snapd.service

#10

thanks for your time Lin-Buo-Ren,
output below is from commands above if you could please have a look and let me know if anything seems amiss?
don’t understand what I am seeing here but there seem to be some errors in the output from journalctl --unit snapd.service (down the bottom)

~$ snap version
snap 2.38
snapd 2.38
series 16
linuxmint 19.1
kernel 4.15.0-46-generic

~$ systemctl status snapd.service
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-03-30 17:52:14 AEDT; 57min ago
Main PID: 1121 (snapd)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/snapd.service
└─1121 /usr/lib/snapd/snapd

Mar 30 17:52:11 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 30 17:52:13 razzel-B85M-D3H-A snapd[1121]: AppArmor status: apparmor is enabled an
Mar 30 17:52:14 razzel-B85M-D3H-A snapd[1121]: AppArmor status: apparmor is enabled an
Mar 30 17:52:14 razzel-B85M-D3H-A snapd[1121]: daemon.go:379: started snapd/2.38 (seri
Mar 30 17:52:14 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.
lines 1-13/13 (END)…skipping…
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-03-30 17:52:14 AEDT; 57min ago
Main PID: 1121 (snapd)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/snapd.service
└─1121 /usr/lib/snapd/snapd

$ snap debug confinement
strict

$ snap debug connectivity
Connectivity status:

  • PASS
    ============================================
    $ snap debug paths
    SNAPD_MOUNT=/snap
    SNAPD_BIN=/snap/bin
    SNAPD_LIBEXEC=/usr/lib/snapd
    ============================================
    ~$ snap debug sandbox-features
    apparmor: kernel:caps kernel:dbus kernel:domain kernel:file kernel:mount kernel:namespaces kernel:network kernel:policy kernel:ptrace kernel:query kernel:rlimit kernel:signal parser:unsafe policy:default support-level:full
    confinement-options: classic devmode strict
    dbus: mediated-bus-access
    kmod: mediated-modprobe
    mount: freezer-cgroup-v1 layouts mount-namespace per-snap-persistency per-snap-profiles per-snap-updates per-snap-user-profiles stale-base-invalidation
    seccomp: bpf-argument-filtering kernel:allow kernel:errno kernel:kill_process kernel:kill_thread kernel:log kernel:trace kernel:trap
    udev: device-cgroup-v1 tagging
    ============================================
    ~$ systemctl status snapd.service
    ● snapd.service - Snappy daemon
    Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: en
    Active: active (running) since Sat 2019-03-30 17:52:14 AEDT; 1h 11min ago
    Main PID: 1121 (snapd)
    Tasks: 13 (limit: 4915)
    CGroup: /system.slice/snapd.service
    └─1121 /usr/lib/snapd/snapd

Mar 30 17:52:11 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 30 17:52:13 razzel-B85M-D3H-A snapd[1121]: AppArmor status: apparmor is enab
Mar 30 17:52:14 razzel-B85M-D3H-A snapd[1121]: AppArmor status: apparmor is enab
Mar 30 17:52:14 razzel-B85M-D3H-A snapd[1121]: daemon.go:379: started snapd/2.38
Mar 30 17:52:14 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.

~$ journalctl --unit snapd.service
– Logs begin at Tue 2019-03-26 17:31:28 AEDT, end at Sat 2019-03-30 19:04:39 AEDT. –
Mar 27 19:30:59 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 27 19:30:59 razzel-B85M-D3H-A snapd[3245]: AppArmor status: apparmor is enabled and all features are available
Mar 27 19:30:59 razzel-B85M-D3H-A snapd[3245]: helpers.go:145: error trying to compare the snap system key: system-key missing on di
Mar 27 19:30:59 razzel-B85M-D3H-A snapd[3245]: daemon.go:379: started snapd/2.37.4+18.04.1 (series 16; classic) linuxmint/19 (amd64)
Mar 27 19:30:59 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.
Mar 27 19:31:11 razzel-B85M-D3H-A snapd[3245]: stateengine.go:102: state ensure error: decode new commands catalog: net/http: reques
Mar 27 19:31:14 razzel-B85M-D3H-A snapd[3245]: daemon.go:611: gracefully waiting for running hooks
Mar 27 19:31:14 razzel-B85M-D3H-A snapd[3245]: daemon.go:613: done waiting for running hooks
Mar 27 19:31:14 razzel-B85M-D3H-A snapd[3245]: daemon stop requested to wait for socket activation
Mar 27 19:39:42 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 27 19:39:42 razzel-B85M-D3H-A snapd[5043]: AppArmor status: apparmor is enabled and all features are available
Mar 27 19:39:42 razzel-B85M-D3H-A snapd[5043]: helpers.go:145: error trying to compare the snap system key: system-key missing on di
Mar 27 19:39:43 razzel-B85M-D3H-A snapd[5043]: daemon.go:379: started snapd/2.37.4+18.04.1 (series 16; classic) linuxmint/19 (amd64)
Mar 27 19:39:43 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.
Mar 27 19:39:55 razzel-B85M-D3H-A snapd[5043]: stateengine.go:102: state ensure error: decode new commands catalog: net/http: reques
Mar 27 19:39:58 razzel-B85M-D3H-A snapd[5043]: daemon.go:611: gracefully waiting for running hooks
Mar 27 19:39:58 razzel-B85M-D3H-A snapd[5043]: daemon.go:613: done waiting for running hooks
Mar 27 19:39:58 razzel-B85M-D3H-A snapd[5043]: daemon stop requested to wait for socket activation
– Reboot –
Mar 27 19:41:02 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 27 19:41:04 razzel-B85M-D3H-A snapd[947]: AppArmor status: apparmor is enabled and all features are available
Mar 27 19:41:04 razzel-B85M-D3H-A snapd[947]: daemon.go:379: started snapd/2.37.4+18.04.1 (series 16; classic) linuxmint/19 (amd64)
Mar 27 19:41:04 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.
Mar 27 19:41:04 razzel-B85M-D3H-A snapd[947]: stateengine.go:102: state ensure error: Get https://api.snapcraft.io/api/v1/snaps/sect
Mar 27 19:41:09 razzel-B85M-D3H-A snapd[947]: daemon.go:611: gracefully waiting for running hooks
Mar 27 19:41:09 razzel-B85M-D3H-A snapd[947]: daemon.go:613: done waiting for running hooks
Mar 27 19:41:09 razzel-B85M-D3H-A snapd[947]: daemon stop requested to wait for socket activation
Mar 27 20:44:07 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 27 20:44:07 razzel-B85M-D3H-A snapd[4495]: AppArmor status: apparmor is enabled and all features are available
Mar 27 20:44:07 razzel-B85M-D3H-A snapd[4495]: helpers.go:145: error trying to compare the snap system key: system-key missing on di
Mar 27 20:44:07 razzel-B85M-D3H-A snapd[4495]: daemon.go:379: started snapd/2.37.4+18.04.1 (series 16; classic) linuxmint/19 (amd64)
Mar 27 20:44:07 razzel-B85M-D3H-A systemd[1]: Started Snappy daemon.
Mar 27 20:44:19 razzel-B85M-D3H-A snapd[4495]: stateengine.go:102: state ensure error: decode new commands catalog: net/http: reques
Mar 27 20:44:22 razzel-B85M-D3H-A snapd[4495]: daemon.go:611: gracefully waiting for running hooks
Mar 27 20:44:22 razzel-B85M-D3H-A snapd[4495]: daemon.go:613: done waiting for running hooks
Mar 27 20:44:22 razzel-B85M-D3H-A snapd[4495]: daemon stop requested to wait for socket activation
Mar 27 20:44:59 razzel-B85M-D3H-A systemd[1]: Starting Snappy daemon…
Mar 27 20:44:59 razzel-B85M-D3H-A snapd[4891]: AppArmor status: apparmor is enabled and all features are available
Mar 27 20:44:59 razzel-B85M-D3H-A snapd[4891]: daemon.go:379: started snapd/2.37.4+18.04.1 (series 16; classic) linuxmint/19 (amd64)
lines 1-40