snaps randomly crash after some time

Bug #1995238 reported by robin
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
snapd
Invalid
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is https://forum.snapcraft.io/t/unsupported-version-0-of-verneed-record-linux-6-0/32160.

When I load the web interfaces to these two services, firefox will immediately crash. Attempting to run from the command-line produces an error message as follows:
Oct 31 18:15:47 darwin gnome-panel.desktop[6771]: /snap/firefox/2015/usr/lib/firefox/firefox: error while loading shared libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verneed record
Oct 31 18:15:47 darwin gnome-panel.desktop[6771]: message repeated 2 times: [ /snap/firefox/2015/usr/lib/firefox/firefox: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record]

The only way to restart firefox is to restart the computer! Logging out and in again, then running firefox, produces the same errors.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: firefox 1:1snap1-0ubuntu2
Uname: Linux 6.0.6-060006-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME-Flashback:GNOME
Date: Mon Oct 31 19:41:21 2022
InstallationDate: Installed on 2019-05-26 (1253 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: firefox
UpgradeStatus: Upgraded to jammy on 2022-04-29 (184 days ago)

Revision history for this message
robin (robinp) wrote :
Revision history for this message
robin (robinp) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
Donald H Locker (dhlocker) wrote :

My only recourse seems to be rebooting. Once Firefox crashes, there seems to be no mechanism to restart it (the Chromium snap fails too) from the snap binary. For whatever reason, Firefox running from my Startup Applications succeeds. Once the tabs start crashing, no more web activity will be possible until I reboot.

lsof -p [Firefox PID] | grep -E '(COMMAND|libdl)'

returns:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
firefox 3239 donald mem REG 7,7 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so (stat: No such file or directory)

sudo grep libdl /proc/3239/maps | less
7f1ecaf5f000-7f1ecaf60000 r--p 00000000 07:07 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7f1ecaf60000-7f1ecaf62000 r-xp 00001000 07:07 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7f1ecaf62000-7f1ecaf63000 r--p 00003000 07:07 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7f1ecaf63000-7f1ecaf64000 r--p 00003000 07:07 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so
7f1ecaf64000-7f1ecaf65000 rw-p 00004000 07:07 6024 /usr/lib/x86_64-linux-gnu/libdl-2.31.so

Olivier Tilloy (osomon)
affects: firefox (Ubuntu) → linux (Ubuntu)
summary: - repeatedly crashes on attempting to load "bumble.com" or
- "web.whatsapp.com"
+ snaps randomly crash after some time
description: updated
Revision history for this message
robin (robinp) wrote :

I think it's likely that firefox crashing on bumble/whatsapp is a red herring, a coincidence. As Donald reports, his setup crashes on any new tabs.

Revision history for this message
Donald H Locker (dhlocker) wrote :

snapcraft bug report (thank you, Robin) updated to point to squashfs fix (not yet in distribution?) documented here:
 https://<email address hidden>/

Revision history for this message
Michael Vogt (mvo) wrote :

This is a bug in the linux v6.0 kernel and it's fixed with https://<email address hidden>/

Changed in snapd:
status: New → Invalid
Revision history for this message
robin (robinp) wrote :

I'm on kernel 6.0.7, all appears well so far.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.