Certain apps won't open

Hi there. I’ve got a few apps installed through snap. Most of them work, but a few will not open. Trying to figure out why and how I can fix it.

Apps that won’t run for me:
Bitwarden
Standard Notes
Winds

2 Likes

Hi. Thanks for reporting the issue. What’s the output of snap version? What changed since you last was able to run them? What happens if you open a terminal and run snap run standard-notes? Do you get debugging output?

Hi. Output for snap version is

snap 2.42.4-1
snapd 2.42.4-1
series 16
manjaro -
kernel 5.4.6-2-MANJARO

I am not entirely sure what changed since the last time they worked for me. I dual boot windows and Manjaro and it had been a couple of days since I had last been in Manjaro.

I uninstalled the snap version of standard notes and bitwarden and grabbed those from the AUR. But I tried snap run winds and nothing happens, not even debugging output. That is also the same as when I tried with standard notes earlier.

Hi! I got the same problem with Fractal, here’s a dump from terminal when trying to launch it

sleeper@GT70-0NC:~$ fractal
/snap/fractal/7/usr/bin/fractal: symbol lookup error: /snap/fractal/7/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: g_mount_operation_set_is_tcrypt_hidden_volume
sleeper@GT70-0NC:~$

Im running Ubuntu 20.04 zfs on an older MSI GT-70-0NC

Hi all,
I am getting the same problem with standard notes. It was working for awhile but now will not start.
The output of running snap run standard-notes in a terminal is:
/home/andy/snap/standard-notes/8/.config/user-dirs.dirs: line 15: unexpected EOF while looking for matching `"’
Looks like it may be a coding problem?
I completely removed snap, rebooted and reinstalled it and then added standard notes but I get the same problem. The app will not load. Same error as above.
Currently I am running Ubuntu 18.04 LTS.
P.S. I am running the web based version of standard notes with Firefox on Ubuntu and with an app on my android phone for now until this problem can be resolved.

I’m using Manjaro. Bitwarden, Standard notes, and authy snaps will install but fail on launch. I’m wondering if the common factor is electron?

I have just run into this myself. But my use case is a little odd.

I was using a system installed from the Ubuntu mini.iso in which I had to install snapd.

In my case, when using snap run snapname there is no output in the terminal (just fails and returns to the prompt almost immediately). Nor does a regular menu launch work. And nothing I can see in journalctl. It’s a little perplexing as some snaps work without issue.

EDIT - ANd what is also odd, some of the snaps that will not ope, will open if I use sudo. But also, not all of them. :thinking:

I have the same problem with the Standard Notes snap, as well as draw.io and XMind. I can reinstall these applications, but they only run the first time.

Is this problem related to these snaps or the daemon? I’m using Ubuntu 20.04, and the output for snap version is

snap 2.46.1
snapd 2.46.1
series 16
ubuntu 20.04
kernel 4.15.0-1079-oem

I have the same problem with zenkit snap. I can reinstall , but it only run the first time.

snap version

snap 2.48.1
snapd 2.48.1
series 16
ubuntu 20.04
kernel 5.4.0-47-generic

strace zenkit last lines output

OUTPUT

close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4b8e56f000
arch_prctl(ARCH_SET_FS, 0x7f4b8e56f740) = 0
mprotect(0x7f4b8e75a000, 12288, PROT_READ) = 0
mprotect(0x7f4b8e781000, 4096, PROT_READ) = 0
mprotect(0x7f4b8e7b1000, 4096, PROT_READ) = 0
mprotect(0x619000, 4096, PROT_READ) = 0
mprotect(0x7f4b8e7fb000, 4096, PROT_READ) = 0
munmap(0x7f4b8e7b5000, 102079) = 0
set_tid_address(0x7f4b8e56fa10) = 30086
set_robust_list(0x7f4b8e56fa20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f4b8e76bbf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f4b8e7793c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f4b8e76bc90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4b8e7793c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x188b000
brk(0x18ac000) = 0x18ac000
umask(000) = 002
openat(AT_FDCWD, “.”, O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
chdir("/") = 0
getresuid([1000], [1000], [1000]) = 0
getresgid([1000], [1000], [1000]) = 0
write(2, “need to run as root or suid”, 27need to run as root or suid) = 27
write(2, “\n”, 1
) = 1
exit_group(1) = ?
+++ exited with 1 +++

Running with sudo does not work too.

1 Like

I’m having the same problem with bitwarden snap. The funny thing is, I thought that bitwarden was working on this computer sometime within the last few months.

And, after reading @hugaleno’s comment, I did try reinstalling bitwarden. And it worked for me the first time, but stopped working after the first time. And I basically found this thread by googling bitwarden "need to run as root or suid, so thanks again hugaleno.

I don’t know if it’s relevant, but I did install Ubuntu with the “experimental” zfs option. So my home directory is on it’s own zfs dataset.

lpsmith@kleene:~$ snap version
snap    2.48.2
snapd   2.48.2
series  16
ubuntu  20.04
kernel  5.8.0-40-generic
lpsmith@kleene:~$ strace bitwarden
[...]
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\201\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\345Ga\367\265T\320\374\301V)Yf]\223\337"..., 68, 824) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=157224, ...}) = 0
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\345Ga\367\265T\320\374\301V)Yf]\223\337"..., 68, 824) = 68
mmap(NULL, 140408, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f83f4fe7000
mmap(0x7f83f4fee000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f83f4fee000
mmap(0x7f83f4fff000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7f83f4fff000
mmap(0x7f83f5004000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c000) = 0x7f83f5004000
mmap(0x7f83f5006000, 13432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f83f5006000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f83f4df5000
mprotect(0x7f83f4e1a000, 1847296, PROT_NONE) = 0
mmap(0x7f83f4e1a000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f83f4e1a000
mmap(0x7f83f4f92000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f83f4f92000
mmap(0x7f83f4fdd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f83f4fdd000
mmap(0x7f83f4fe3000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f83f4fe3000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f83f4df2000
arch_prctl(ARCH_SET_FS, 0x7f83f4df2740) = 0
mprotect(0x7f83f4fdd000, 12288, PROT_READ) = 0
mprotect(0x7f83f5004000, 4096, PROT_READ) = 0
mprotect(0x7f83f5035000, 4096, PROT_READ) = 0
mprotect(0x619000, 4096, PROT_READ)     = 0
mprotect(0x7f83f5081000, 4096, PROT_READ) = 0
munmap(0x7f83f5039000, 108714)          = 0
set_tid_address(0x7f83f4df2a10)         = 1663023
set_robust_list(0x7f83f4df2a20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f83f4feebf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f83f4ffc3c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f83f4feec90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f83f4ffc3c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0xffc000
brk(0x101d000)                          = 0x101d000
umask(000)                              = 002
openat(AT_FDCWD, ".", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=55, ...}) = 0
chdir("/")                              = 0
getresuid([1000], [1000], [1000])       = 0
getresgid([1000], [1000], [1000])       = 0
write(2, "need to run as root or suid", 27need to run as root or suid) = 27
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?
+++ exited with 1 +++

I have the same issue with XMind. It run only the first time. At the same time Slack works fine.

~$ snap version
snap    2.48.3+20.04
snapd   2.48.3+20.04
series  16
ubuntu  20.04
kernel  5.8.0-43-generic
strace

~$ strace xmind
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f128a969000
arch_prctl(ARCH_SET_FS, 0x7f128a969740) = 0
mprotect(0x7f128ab54000, 12288, PROT_READ) = 0
mprotect(0x7f128ab7b000, 4096, PROT_READ) = 0
mprotect(0x7f128abac000, 4096, PROT_READ) = 0
mprotect(0x55c9c3cfd000, 4096, PROT_READ) = 0
mprotect(0x7f128abf5000, 4096, PROT_READ) = 0
munmap(0x7f128abb0000, 97046) = 0
set_tid_address(0x7f128a969a10) = 233095
set_robust_list(0x7f128a969a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f128ab65bf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f128ab733c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f128ab65c90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f128ab733c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0
prctl(PR_CAPBSET_READ, CAP_MAC_OVERRIDE) = 1
prctl(PR_CAPBSET_READ, 0x30 /
CAP_??? /) = -1 EINVAL (Invalid argument)
prctl(PR_CAPBSET_READ, 0x28 /
CAP_??? /) = -1 EINVAL (Invalid argument)
prctl(PR_CAPBSET_READ, CAP_BLOCK_SUSPEND) = 1
prctl(PR_CAPBSET_READ, 0x26 /
CAP_??? /) = 1
prctl(PR_CAPBSET_READ, 0x27 /
CAP_??? */) = 1
brk(NULL) = 0x55c9c4da6000
brk(0x55c9c4dc7000) = 0x55c9c4dc7000
umask(000) = 002
openat(AT_FDCWD, “.”, O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_PATH|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0775, st_size=4096, …}) = 0
chdir("/") = 0
getresuid([1000], [1000], [1000]) = 0
getresgid([1000], [1000], [1000]) = 0
write(2, “need to run as root or suid”, 27need to run as root or suid) = 27
write(2, “: Operation not permitted\n”, 26: Operation not permitted
) = 26
exit_group(1) = ?
+++ exited with 1 +++

I have the same issue. I installed fman and it doesn’t open or even raise single log/information.
snap 2.49
snapd 2.49
series 16
debian 10
kernel 5.9.0-0.bpo.5-amd64

link to strace output -> https://pastebin.com/fccaxBgL

I’ve been running into this issue ever since I’ve been using Ubuntu 20.04 LTS.

I’ve looked at fman and as far as I can tell the snap is broken. Have you tried filing a bug for the publisher? I think this is the right place: https://fman.io/support

I also am seeing this with two apps: authy and bitwarden. I am wondering, if all these apps are broken. One similarity I can see that I also are running on ZFS here.

OK, fair enough, authy is marked as beta and i have contacted support about this.

Other snaps (e.g. atom, vlc and multipass) are running as expected so far.

The apps affected look quite similar when being started in a terminal.

Bitwarden:

me@myhost:~$ snap install bitwarden 
bitwarden 1.25.1 aus 8bit Solutions LLC (bitwarden✓) installiert
me@myhost:~$ bitwarden 
(node:162509) DeprecationWarning: file property is deprecated and will be removed in v5.

(bitwarden:162509): Gtk-WARNING **: 01:36:04.969: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(bitwarden:162509): Gtk-WARNING **: 01:36:04.973: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(bitwarden:162509): Gtk-WARNING **: 01:36:04.974: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/bitwarden_Bitwarden.desktop"
(node:162509) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
** Message: 01:36:09.438: Remote error from secret service: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.183" (uid=1000 pid=162509 comm="/snap/bitwarden/44/bitwarden --no-sandbox " label="snap.bitwarden.bitwarden (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession" error name="(unset)" requested_reply="0" destination=":1.24" (uid=1000 pid=3771 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")
(node:162509) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setContextMenu' of undefined
    at tray_main_TrayMain.updateContextMenu (/snap/bitwarden/44/resources/app.asar/main.js:19310:23)
    at messaging_main_MessagingMain.updateTrayMenu (/snap/bitwarden/44/resources/app.asar/main.js:18838:28)
    at messaging_main_MessagingMain.onMessage (/snap/bitwarden/44/resources/app.asar/main.js:18779:22)
    at messaging_main_MessagingMain.<anonymous> (/snap/bitwarden/44/resources/app.asar/main.js:18770:154)
    at Generator.next (<anonymous>)
    at /snap/bitwarden/44/resources/app.asar/main.js:18748:71
    at new Promise (<anonymous>)
    at messaging_main_awaiter (/snap/bitwarden/44/resources/app.asar/main.js:18744:12)
    at IpcMainImpl.<anonymous> (/snap/bitwarden/44/resources/app.asar/main.js:18770:82)
    at IpcMainImpl.emit (events.js:315:20)
(node:162509) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:162509) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
me@myhost:~$ bitwarden 
me@myhost:~$ 

authy:

me@myhost:~$ snap install --beta authy
authy (beta) 1.8.3 aus Twilio Authy installiert
sme@myhost:~$ authy 

(authy:193514): Gtk-WARNING **: 01:57:53.535: Theme parsing error: gtk.css:1566:23: 'font-feature-settings' is not a valid property name

(authy:193514): Gtk-WARNING **: 01:57:53.540: Theme parsing error: gtk.css:3616:25: 'font-feature-settings' is not a valid property name

(authy:193514): Gtk-WARNING **: 01:57:53.541: Theme parsing error: gtk.css:4078:23: 'font-feature-settings' is not a valid property name
TypeError: Cannot read property 'then' of undefined
    at Function.AutoUpdater.init (/snap/authy/5/resources/app.asar/js/background.js:63422:22)
    at Object.create (/snap/authy/5/resources/app.asar/js/background.js:56845:34)
    at App.WindowHelper.create (/snap/authy/5/resources/app.asar/js/background.js:13670:32)
    at App.emit (events.js:208:15)
[193920:0425/015756.116342:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
me@myhost:~$ authy 
me@myhost:~$

could be an outadted fontcache … try:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r

My apology for the late response.

Have tried clearing the fontcache and reinstalling snapd, as recommended in some other places on the net.

The I did retry with authy (as I have “bitwarden” installed now successfully from flathub) but it even gives me more errors:

me@myhost:~$ authy

(authy:68907): Gtk-WARNING **: 07:09:27.461: Theme parsing error: gtk.css:1566:23: ‘font-feature-settings’ is not a valid property name

(authy:68907): Gtk-WARNING **: 07:09:27.465: Theme parsing error: gtk.css:3618:25: ‘font-feature-settings’ is not a valid property name

(authy:68907): Gtk-WARNING **: 07:09:27.466: Theme parsing error: gtk.css:4080:23: ‘font-feature-settings’ is not a valid property name
TypeError: Cannot read property ‘then’ of undefined
at Function.AutoUpdater.init (/snap/authy/5/resources/app.asar/js/background.js:63422:22)
at Object.create (/snap/authy/5/resources/app.asar/js/background.js:56845:34)
at App.WindowHelper.create (/snap/authy/5/resources/app.asar/js/background.js:13670:32)
at App.emit (events.js:208:15)
[69163:0430/070929.281179:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[[my comment: authy app opens]]
me@myhost:~$ authy
[[my comment: nothing happens]]
me@myhost:~$ authy
[[my comment: nothing happens]]
me@myhost:~$ ps ax | grep authy
63231 pts/0 S+ 0:00 grep --color=auto authy
me@myhost:~$

Any advice would be appreciated.

Some more info about my issue with the authy app. I have contacted their support and , as of now, they stated that the error messages are not the issue. I hope to get any results from there.
I’ll keep you posted …

If you have any idea on howto debug this, please let me know.

Similar problem here with snap “galleon” on Ubuntu Budgie.

sudo cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"

Snap Version:

snap    2.50
snapd   2.50
series  16
ubuntu  20.04
kernel  5.4.0-73-generic

The app only starts after installing. All subsequent calls of galleon have positive feedback in journalctl, but simply won’t open:

Mai 15 14:02:14 xxx systemd[4144]: Started snap.galleon.galleon.23d003d6-f845-4076-9c0c-0e35693e4665.scope.
Mai 15 14:02:14 xxx systemd[4144]: snap.galleon.galleon.23d003d6-f845-4076-9c0c-0e35693e4665.scope: Succeeded.

Same with snap beekeeper-studio

Hi tarator,

just out of curiousity: are you running on zfs?