All my snap applications don't launch anymore

Every software I have installed via snap suddenly does not start. All of the applications used to work normally until I can no more launch any of them. They all bug at the start then just close.

Any suggested solutions to this ?

1 Like

maybe give us some examples of apps not working on your end anymore. we have a direct line to Canonical, so we can ask also them. Iā€™m sure we will find a solution.

Can you post the output of

sudo systemctl status snapd

You can also try running the snap apps in the terminal and post what output they give as they crash.

This is the output

ā— snapd.service - Snap Daemon
         Loaded: loaded (/usr/lib/systemd/system/snapd.service; disabled; vendor preset: disabled)
         Active: inactive (dead)
    TriggeredBy: ā— snapd.socket

And this is when I tried to launch Spotify

Gtk-Message: 15:23:11.963: Failed to load module "canberra-gtk-module"
Trace/breakpoint trap (core dumped)

Another output when I tired to launch DBeaver Community

(dbeaver:45441): GLib-GObject-CRITICAL **: 15:24:15.061: g_value_set_boxed: assertion ā€˜G_VALUE_HOLDS_BOXED (value)ā€™ failed
Picked up _JAVA_OPTIONS: -Duser.home=/home/emazighi/snap/dbeaver-ce/75

(java:45514): GLib-GObject-CRITICAL **: 15:24:16.952: g_value_set_boxed: assertion ā€˜G_VALUE_HOLDS_BOXED (value)ā€™ failed

Start DBeaver Standalone [org.jkiss.dbeaver.ui.app.standalone 7.1.4.202008021649]
Start Eclipse e4 Workbench [org.eclipse.e4.ui.workbench 1.11.200.v20200205-1503]
Start Eclipse Workbench Model [org.eclipse.e4.ui.model.workbench 2.1.700.v20200113-1422]
Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.10.700.v20200106-1020]
Start Eclipse IDE UI [org.eclipse.ui.ide 3.17.0.v20200217-1511]
Start DBeaver Core Plug-in [org.jkiss.dbeaver.core 7.1.4.202008021649]
Start Core File Systems [org.eclipse.core.filesystem 1.7.700.v20200110-1734]
Start Core Resource Management [org.eclipse.core.resources 3.13.700.v20200209-1624]
2020-08-16 15:24:20.826 - Initializing DBeaver 7.1.4
2020-08-16 15:24:20.826 - Host plugin: org.jkiss.dbeaver.ui.app.standalone 7.1.4.202008021649
2020-08-16 15:24:20.827 - Initialize Coreā€¦
2020-08-16 15:24:20.827 - Canā€™t find BC security provider. Use default JCE.
2020-08-16 15:24:20.827 - BouncyCastle not registered, using the default JCE provider
2020-08-16 15:24:21.060 - Initialize base platformā€¦
Start DBeaver UI Navigator [org.jkiss.dbeaver.ui.navigator 1.0.38.202008021649]
2020-08-16 15:24:21.248 - Core initialized (421ms)
2020-08-16 15:24:21.268 - Create display
Start Eclipse IDE UI Application [org.eclipse.ui.ide.application 1.3.600.v20200116-2127]
2020-08-16 15:24:22.082 - DBeaver 7.1.4.202008021649 is starting
2020-08-16 15:24:22.083 - OS: Linux 5.4.52-1-MANJARO (amd64)
2020-08-16 15:24:22.084 - Java version: 1.8.0_265 by Private Build (64bit)
2020-08-16 15:24:22.084 - Install path: ā€˜/snap/dbeaver-ce/75/usr/share/dbeaverā€™
2020-08-16 15:24:22.084 - Instance path: ā€˜file:/home/emazighi/snap/dbeaver-ce/75/.local/share/DBeaverData/workspace6/ā€™
2020-08-16 15:24:22.084 - Memory available 81Mb/910Mb
2020-08-16 15:24:22.093 - Starting RMI server at 36568
2020-08-16 15:24:22.200 - Run workbench
Start Eclipse e4 Workbench SWT [org.eclipse.e4.ui.workbench.swt 0.14.900.v20200213-1442]
Start Eclipse Application Services [org.eclipse.e4.core.services 2.2.200.v20200127-0814]
Start Eclipse Contexts [org.eclipse.e4.core.contexts 1.8.400.v20191217-1710]
Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.3.700.v20190930-1643]
Start EMF Common [org.eclipse.emf.common 2.18.0.v20191225-1014]
Start EMF Ecore [org.eclipse.emf.ecore 2.21.0.v20200127-1342]
Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.16.0.v20190528-0725]
Start Eclipse UI Dependency Injection [org.eclipse.e4.ui.di 1.2.800.v20200128-0855]
Start Eclipse e4 Workbench Add-ons [org.eclipse.e4.ui.workbench.addons.swt 1.3.800.v20191212-1231]
Start Expression Language [org.eclipse.core.expressions 3.6.700.v20200212-1751]
Start Eclipse e4 Workbench SWT Renderer [org.eclipse.e4.ui.workbench.renderers.swt 0.14.1100.v20200217-1217]
Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.12.800.v20191216-0805]
Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.15.500.v20200106-1259]
Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.13.900.v20200203-0840]
2020-08-16 15:24:24.239 - Event loop exception
org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:4723)
at org.eclipse.swt.SWT.error(SWT.java:4638)
at org.eclipse.swt.SWT.error(SWT.java:4609)
at org.eclipse.swt.graphics.Font.getFontData(Font.java:192)
at org.eclipse.swt.graphics.Device.getFontList(Device.java:454)
at org.eclipse.jface.resource.FontRegistry.filterData(FontRegistry.java:464)
at org.eclipse.jface.resource.FontRegistry.createFont(FontRegistry.java:498)
at org.eclipse.jface.resource.FontRegistry.defaultFontRecord(FontRegistry.java:569)
at org.eclipse.jface.resource.FontRegistry.defaultFontData(FontRegistry.java:580)
at org.eclipse.jface.resource.FontRegistry.getFontData(FontRegistry.java:596)
at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:123)
at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:68)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1793)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:36)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5797)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.initializeFonts(Workbench.java:1787)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1641)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2811)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:646)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:233)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
2020-08-16 15:24:24.259 - DBeaver is stopping
2020-08-16 15:24:24.266 - Stop RMI server
Start DBeaver UI [org.jkiss.dbeaver.ui 5.1.53.202008021649]
2020-08-16 15:24:24.482 - DBeaver shutdown completed
2020-08-16 15:24:24.589 - Shutdown Coreā€¦
2020-08-16 15:24:24.908 - Total database drivers: 84 (84)
2020-08-16 15:24:25.048 - Shutdown completed in 459ms

Spotify

Gtk-Message: 15:29:40.641: Failed to load module ā€œcanberra-gtk-moduleā€
Trace/breakpoint trap (core dumped)

Insomnia

Error org.freedesktop.DBus.Error.Failed: cannot use setting ā€œdefault-url-scheme-handlerā€: not allowed
[fix] Running database repairs
[db] Initialized DB at /home/emazighi/snap/insomnia/77/.config/Insomnia/insomnia.$TYPE.db
Init responses DB
[localstorage] Initialized at /home/emazighi/snap/insomnia/77/.config/Insomnia/localStorage
Trace/breakpoint trap (core dumped)

DBeaver Community
(dbeaver:55719): GLib-GObject-CRITICAL **: 15:40:41.443: g_value_set_boxed: assertion ā€˜G_VALUE_HOLDS_BOXED (value)ā€™ failed
Picked up _JAVA_OPTIONS: -Duser.home=/home/emazighi/snap/dbeaver-ce/75

(java:55784): GLib-GObject-CRITICAL **: 15:40:41.736: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

Start DBeaver Standalone [org.jkiss.dbeaver.ui.app.standalone 7.1.4.202008021649]
Start Eclipse e4 Workbench [org.eclipse.e4.ui.workbench 1.11.200.v20200205-1503]
Start Eclipse Workbench Model [org.eclipse.e4.ui.model.workbench 2.1.700.v20200113-1422]
Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.10.700.v20200106-1020]
Start Eclipse IDE UI [org.eclipse.ui.ide 3.17.0.v20200217-1511]
Start DBeaver Core Plug-in [org.jkiss.dbeaver.core 7.1.4.202008021649]
Start Core File Systems [org.eclipse.core.filesystem 1.7.700.v20200110-1734]
Start Core Resource Management [org.eclipse.core.resources 3.13.700.v20200209-1624]
2020-08-16 15:40:43.216 - Initializing DBeaver 7.1.4
2020-08-16 15:40:43.217 - Host plugin: org.jkiss.dbeaver.ui.app.standalone 7.1.4.202008021649
2020-08-16 15:40:43.218 - Initialize Coreā€¦
2020-08-16 15:40:43.219 - Canā€™t find BC security provider. Use default JCE.
2020-08-16 15:40:43.219 - BouncyCastle not registered, using the default JCE provider
2020-08-16 15:40:43.347 - Initialize base platformā€¦
Start DBeaver UI Navigator [org.jkiss.dbeaver.ui.navigator 1.0.38.202008021649]
2020-08-16 15:40:43.389 - Core initialized (171ms)
2020-08-16 15:40:43.404 - Create display
Start Eclipse IDE UI Application [org.eclipse.ui.ide.application 1.3.600.v20200116-2127]
2020-08-16 15:40:43.741 - DBeaver 7.1.4.202008021649 is starting
2020-08-16 15:40:43.742 - OS: Linux 5.4.52-1-MANJARO (amd64)
2020-08-16 15:40:43.742 - Java version: 1.8.0_265 by Private Build (64bit)
2020-08-16 15:40:43.743 - Install path: ā€˜/snap/dbeaver-ce/75/usr/share/dbeaverā€™
2020-08-16 15:40:43.743 - Instance path: ā€˜file:/home/emazighi/snap/dbeaver-ce/75/.local/share/DBeaverData/workspace6/ā€™
2020-08-16 15:40:43.743 - Memory available 86Mb/910Mb
2020-08-16 15:40:43.752 - Starting RMI server at 29955
2020-08-16 15:40:43.781 - Run workbench
Start Eclipse e4 Workbench SWT [org.eclipse.e4.ui.workbench.swt 0.14.900.v20200213-1442]
Start Eclipse Application Services [org.eclipse.e4.core.services 2.2.200.v20200127-0814]
Start Eclipse Contexts [org.eclipse.e4.core.contexts 1.8.400.v20191217-1710]
Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.3.700.v20190930-1643]
Start EMF Common [org.eclipse.emf.common 2.18.0.v20191225-1014]
Start EMF Ecore [org.eclipse.emf.ecore 2.21.0.v20200127-1342]
Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.16.0.v20190528-0725]
Start Eclipse UI Dependency Injection [org.eclipse.e4.ui.di 1.2.800.v20200128-0855]
Start Eclipse e4 Workbench Add-ons [org.eclipse.e4.ui.workbench.addons.swt 1.3.800.v20191212-1231]
Start Expression Language [org.eclipse.core.expressions 3.6.700.v20200212-1751]
Start Eclipse e4 Workbench SWT Renderer [org.eclipse.e4.ui.workbench.renderers.swt 0.14.1100.v20200217-1217]
Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.12.800.v20191216-0805]
Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.15.500.v20200106-1259]
Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.13.900.v20200203-0840]
2020-08-16 15:40:45.092 - Event loop exception
org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:4723)
at org.eclipse.swt.SWT.error(SWT.java:4638)
at org.eclipse.swt.SWT.error(SWT.java:4609)
at org.eclipse.swt.graphics.Font.getFontData(Font.java:192)
at org.eclipse.swt.graphics.Device.getFontList(Device.java:454)
at org.eclipse.jface.resource.FontRegistry.filterData(FontRegistry.java:464)
at org.eclipse.jface.resource.FontRegistry.createFont(FontRegistry.java:498)
at org.eclipse.jface.resource.FontRegistry.defaultFontRecord(FontRegistry.java:569)
at org.eclipse.jface.resource.FontRegistry.defaultFontData(FontRegistry.java:580)
at org.eclipse.jface.resource.FontRegistry.getFontData(FontRegistry.java:596)
at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:123)
at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:68)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1793)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:36)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5797)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.initializeFonts(Workbench.java:1787)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1641)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2811)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:646)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:233)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
2020-08-16 15:40:45.110 - DBeaver is stopping
2020-08-16 15:40:45.112 - Stop RMI server
2020-08-16 15:40:45.114 - DBeaver shutdown completed
2020-08-16 15:40:45.194 - Shutdown Coreā€¦
2020-08-16 15:40:45.365 - Total database drivers: 84 (84)
2020-08-16 15:40:45.767 - Shutdown completed in 573ms

Seems snapd is not enabled on your end.

sudo systemctl enable --now snapd.socket

You should see some like this:

[phil@development extra]$ systemctl status snapd
* snapd.service - Snap Daemon
     Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2020-08-16 10:40:55 CEST; 6h ago
TriggeredBy: * snapd.socket
   Main PID: 903 (snapd)
      Tasks: 23 (limit: 19130)
     Memory: 35.4M
     CGroup: /system.slice/snapd.service
             `-903 /usr/lib/snapd/snapd

Aug 16 10:40:47 development systemd[1]: Starting Snap Daemon...
Aug 16 10:40:51 development snapd[903]: AppArmor status: apparmor is enabled and all features are available
Aug 16 10:40:51 development snapd[903]: daemon.go:343: started snapd/2.45.2-1 (series 16; classic) manjaro/ (amd64) linux/5.8.1-3-MANJARO.
Aug 16 10:40:51 development snapd[903]: daemon.go:436: adjusting startup timeout by 1m10s (pessimistic estimate of 30s plus 5s per snap)
Aug 16 10:40:55 development systemd[1]: Started Snap Daemon.
Aug 16 15:20:56 development snapd[903]: storehelpers.go:438: cannot refresh: snap has no updates available: "core", "core18", "gnome-3-28-1804", "gtk-common-themes", "hello-world", "snap-st>
Aug 16 15:20:56 development snapd[903]: autorefresh.go:397: auto-refresh: all snaps are up-to-date

Make sure you actually run it also via snap:

[phil@development linux49-extramodules]$ snap run spotify
Gtk-Message: 16:47:57.505: Failed to load module ā€œcanberra-gtk-moduleā€
Gtk-Message: 16:47:57.505: Failed to load module ā€œcanberra-gtk-moduleā€

The Gtk-Message-Errors you can ignore. Also make sure you donā€™t have the font issue with snaps.

2 Likes

Thanks Philip, that was helpful. The font issue was the real trouble. Once I cleared the cache, things worked out. Thanks again.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.