Snap 5.6.0 doesn't launch in Ubuntu 22.04.3

Bug report

After doing a snap refresh today, InkDrop does not launch. Enabling the logs and running it from the command line, it is complaining that /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28’ not found. Checking the currently installed version, it is GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.4) stable release version 2.35`.

Environment

  • Platform: Ubuntu
  • Platform version: 22.04.3 LTS x86_64
  • App Version: snap 5.6.0

According to apt:

libc6:
  Installed: 2.35-0ubuntu3.4
  Candidate: 2.35-0ubuntu3.4
  Version table:
 *** 2.35-0ubuntu3.4 500
        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.35-0ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

How to reproduce

Launch the app from the menu or from the command line.
From the menu, it seems like it does nothing.
From the command line, it throws a couple of the above errors to the terminal, but never launches the UI.

Logs:

(inkdrop:248923): Gtk-WARNING **: 08:44:58.243: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name

(inkdrop:248923): Gtk-WARNING **: 08:44:58.247: Theme parsing error: gtk.css:3286:25: 'font-feature-settings' is not a valid property name

(inkdrop:248923): Gtk-WARNING **: 08:44:58.250: Theme parsing error: gtk.css:3748:23: 'font-feature-settings' is not a valid property name
  app:info Arguments: /snap/inkdrop/54/usr/lib/inkdrop/inkdrop +0ms
  app:info Arguments: --no-sandbox +1ms
  app:info Creating app window +3ms
  app:info Initializing inkdrop app.. +81ms
  app:info Starting inkdrop app.. +1ms
  app:info axios default config: { proxy: undefined, httpAgent: undefined, httpsAgent: undefined } +1ms
  app:info Starting a session +29ms
(node:248923) UnhandledPromiseRejectionWarning: Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/leveldown/build/Release/leveldown.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at load (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/node-gyp-build/index.js:20:10)
    at Object.<anonymous> (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/leveldown/binding.js:1:43)
(Use `inkdrop --trace-warnings ...` to show where the warning was created)
(node:248923) 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)
[248923:1023/084458.538724:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.220" (uid=1048208648 pid=248923 comm="/snap/inkdrop/54/usr/lib/inkdrop/inkdrop --no-sand" label="snap.inkdrop.inkdrop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=3466 comm="/lib/systemd/systemd-logind " label="unconfined")
[248923:1023/084458.542769:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.220" (uid=1048208648 pid=248923 comm="/snap/inkdrop/54/usr/lib/inkdrop/inkdrop --no-sand" label="snap.inkdrop.inkdrop (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=3466 comm="/lib/systemd/systemd-logind " label="unconfined")
(node:248923) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'localPouch')
    at handleSessionStatusChange (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:87555)
    at Function.simpleDispatch (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/event-kit/dist/emitter.js:64:14)
    at Emitter.emit (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/event-kit/dist/emitter.js:257:28)
    at g.setStatus (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:51618)
    at g.init (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:51171)
    at async Se.start (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:77788)
    at async z (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:111718)
    at async /snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:126275
(node:248923) 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: 2)
[bugsnag] Loaded!


I have the same issue. I have Snap 5.6.0 installed via snap and I’m on Pop!_OS 22.04 LTS, which is basically Ubuntu 22.04.3. My libc6 library is the same as reported here (used apt-cache policy libc6).

When I launch Inkdrop at the command line I also get the Inkdrop error reported here, at least at the end. However, I get an additional set of error listings at the end. I’ve pasted the error listing at the bottom.

When I launch the application, 6 inkdrop jobs remain open, but the GUI doesn’t launch. I end up killing those jobs manually.

Gtk-Message: 09:50:56.407: Failed to load module "appmenu-gtk-module"
Driver does not support the 0x46a8 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
  app:info Arguments: /snap/inkdrop/54/usr/lib/inkdrop/inkdrop +0ms
  app:info Arguments: --no-sandbox +1ms
  app:info Creating app window +2ms
Driver does not support the 0x46a8 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
[8740:1023/095056.494051:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
  app:info Initializing inkdrop app.. +68ms
  app:info Starting inkdrop app.. +1ms
  app:info axios default config: { proxy: undefined, httpAgent: undefined, httpsAgent: undefined } +0ms
  app:info Starting a session +18ms
(node:8642) UnhandledPromiseRejectionWarning: Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/leveldown/build/Release/leveldown.node)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
    at Module._extensions..node (node:internal/modules/cjs/loader:1354:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
    at Module.load (node:internal/modules/cjs/loader:1124:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1148:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at load (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/node-gyp-build/index.js:20:10)
    at Object.<anonymous> (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/leveldown/binding.js:1:43)
(Use `inkdrop --trace-warnings ...` to show where the warning was created)
(node:8642) 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:8642) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'localPouch')
    at handleSessionStatusChange (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:87555)
    at Function.simpleDispatch (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/event-kit/dist/emitter.js:64:14)
    at Emitter.emit (/snap/inkdrop/54/usr/lib/inkdrop/resources/node_modules/event-kit/dist/emitter.js:257:28)
    at g.setStatus (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:51618)
    at g.init (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:51171)
    at async Se.start (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:77788)
    at async z (/snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:111718)
    at async /snap/inkdrop/54/usr/lib/inkdrop/resources/app.asar/main.js:1:126275
(node:8642) 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: 2)
Driver does not support the 0x46a8 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
Driver does not support the 0x46a8 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
[8796:1023/095056.651184:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Driver does not support the 0x46a8 PCI ID.
[8769:1023/095056.682656:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[bugsnag] Loaded!

FYI I reverted to the previous version (5.5.3) using snap revert inkdrop, and that worked. At least I’m able to use Inkdrop again!

1 Like

@Emilio_Mayorga good idea. that worked for me as well.

I’m glad. I depend on Inkdrop daily! That’s where my task list is.

Same issue, Fedora 38. snap revert inkdrop saving the day for now!

Thanks for the report.
Would you help me update the snapcraft.yml?

I’m not familiar with Snapcraft. Any help would be appreciated.

I think I got it to work. I’ve updated the base from core18 to core20.
Can you try the edge build 56?

snap refresh inkdrop --edge

You might need to run this again:

snap connect inkdrop:password-manager-service

It works fine on Ubuntu 22.04 with Gnome.

Hi Takuya,

I had a similar problem with not launching Inkdrop on Kali Linux using snap. Your soulution resolved my problem, and now Inkdrop is working fine.

Thank you.
Ondrej

Confirmed that it is working for me.

@Ondrej_Malik @Malachi_de_AElfweald Thanks for checking it! Glad it works. Now it’s on the stable channel. Cheers

Verified (on a separate machine) that the stable update is working.

1 Like

The stable update now works for me, too. Thanks!

1 Like