Open Bug 1865211 Opened 8 months ago Updated 7 months ago

firefox snap on ubuntu 22.04 won't start randomly (something something verneed, libwayland-clien, libmozgtk)

Categories

(Firefox Build System :: Third Party Packaging, defect)

Firefox 119
Unspecified
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: day2playpolska, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: snap)

Attachments

(1 file)

Steps to reproduce:

Tried to launch firefox snap on Ubuntu 22.04 via normal way (desktop entry) or terminal using firefox command.

Actual results:

When launched from desktop entry, nothing happens

When launched using firefox command in CLI, the following log is shows:

~ $ firefox
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: date: no version information available (required by date)
date: symbol lookup error: date: undefined symbol: 
chmod: error while loading shared libraries: chmod: unsupported version 0 of Verneed record
md5sum: error while loading shared libraries: md5sum: unsupported version 0 of Verneed record
cat: error while loading shared libraries: cat: unsupported version 0 of Verneed record
xdg-user-dirs-update: error while loading shared libraries: xdg-user-dirs-update: unsupported version 0 of Verneed record
rm: error while loading shared libraries: rm: unsupported version 0 of Verneed record
XPCOMGlueLoad error for file /snap/firefox/3358/usr/lib/firefox/libmozgtk.so:
libwayland-clien: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Expected results:

firefox should launch...

installed firefox 119.0.1-1 from channel latest/stable as a snap package. snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk

I am not using wayland, I'm on X. Firefox can launch for everal days without problem, but then a day comes when it just won't, like above. My cure for that was reinstalling the snap but I am quite fed up. I didn't find similar bugs anywhere. If this is of any value, I am on a notebook and in many years I worked on it I have encountered many different bugs in other software, some of which were semi-related to the notebook waking up from sleep, driver failing to initialize etc. It is possible that all the cases of this firefox bug showing up were seen after it went to sleep.

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Third Party Packaging' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Third Party Packaging
Product: Firefox → Firefox Build System
Keywords: snap
OS: Unspecified → Linux

After rebooting, firefox started today. I'll wait for it to go to sleep and see if my hypothesis about waking up is correct.

The severity field is not set for this bug.
:gerard-majax, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lissyx+mozillians)

Looks like there's something super broken, and I doubt it's on firefox side but rather snap? I use suspend/resume a lot on real hardware as well as VMs and it never happened.

Please share snap info snapd as well as journalctl -xe ? I think Ubuntu people will be more helpful on this.

Blocks: snap
Flags: needinfo?(seb128)
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(bandali)
Attached file trimmed journal log
`snap info snapd` output:
```
name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical✓
store-url: https://snapcraft.io/snapd
contact:   https://github.com/snapcore/snapd/issues
license:   GPL-3.0+
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.
  
  Start with 'snap list' to see installed snaps.
type:    snapd
snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
channels:
  latest/stable:    2.60.4                  2023-10-10 (20290) 42MB -
  latest/candidate: 2.60.4                  2023-10-03 (20290) 42MB -
  latest/beta:      2.61.1                  2023-11-29 (20671) 42MB -
  latest/edge:      2.61.1+git1521.g0b6c47b 2023-11-30 (20691) 42MB -
```

The error happened on 16.11 and I didn't repro it since (it was like that several times where it was months of silence and then this bug again) so I had to do some log-digging. Ping me if more context is needed. (For my future reference: `journalctl -x --since "2023-11-16 21:54:42" --until "2023-11-16 22:25:00" > ff.log`)

snap info snapd output:

name:      snapd
summary:   Daemon and tooling that enable snap packages
publisher: Canonical✓
store-url: https://snapcraft.io/snapd
contact:   https://github.com/snapcore/snapd/issues
license:   GPL-3.0+
description: |
  Install, configure, refresh and remove snap packages. Snaps are
  'universal' packages that work across many different Linux systems,
  enabling secure distribution of the latest apps and utilities for
  cloud, servers, desktops and the internet of things.
  
  Start with 'snap list' to see installed snaps.
type:    snapd
snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4
channels:
  latest/stable:    2.60.4                  2023-10-10 (20290) 42MB -
  latest/candidate: 2.60.4                  2023-10-03 (20290) 42MB -
  latest/beta:      2.61.1                  2023-11-29 (20671) 42MB -
  latest/edge:      2.61.1+git1521.g0b6c47b 2023-11-30 (20691) 42MB -

The error happened on 16.11 and I didn't repro it since (it was like that several times where it was months of silence and then this bug again) so I had to do some log-digging. Ping me if more context is needed. (For my future reference: journalctl -x --since "2023-11-16 21:54:42" --until "2023-11-16 22:25:00" > ff.log)

The verneed error seems similar to https://forum.snapcraft.io/t/unsupported-version-0-of-verneed-record-linux-6-0 which was a linux issue ... which kernel are you using?

Flags: needinfo?(seb128)

kernel 6.0.0-1007-oem

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: