Public bug reported:
When using the snap package of either firefox or chromium, selecting and
uploading *several* files to a service (using a standard multipart-
formdata upload), the upload reliably leads to the system freezing and
finally crashing.
Sometimes, before becoming entirely unresponsive
- an xdg-document-portal process consumes 100% on one CPU core
- it has a child process named fuse3[something something]
- the kernel spits out messages like "watchdog: BUG: soft lockup - CPU#6
stuck for 23s!" etc.
At that point, it's not possible to gracefully shutdown or restart the
system anymore. Login as root or sudo-ing in is impossible. The system
eventually completely freezes.
When uploading several files at once, this happened every single time I
tried.
Workaround:
Replacing the snap version of firefox with the mozillateam's PPA version
predictably got rid of this wholly unacceptable issue, and also results in a
much snappier UX.
Versions:
The installed firefox snap was whatever the latest version was on July
29 2023, the Chromium version was Chromium 115.0.5790.102 snap.
~$ lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
on a 5.15.5-051505-generic kernel.
~$ apt-cache policy xdg-desktop-portal
xdg-desktop-portal:
Installed: 1.14.4-1ubuntu2~22.04.1
Candidate: 1.14.4-1ubuntu2~22.04.1
Version table:
*** 1.14.4-1ubuntu2~22.04.1 500
500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64
Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.14.3-0ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
~$ /usr/libexec/xdg-document-portal --version
xdg-desktop-portal 1.14.4
~$ /usr/libexec/xdg-desktop-portal --version
xdg-desktop-portal 1.14.4
In summary, this is an unrecoverable system crash, equivalent to a windows
BSOD, triggered by uploading files with a browser, AKA one of the most common
operations in the history of computing, in the year 2023. It has nothing to do
with the browser itself, nothing to do with the operating system itself, it has
everything to do with snap, that somehow manages to insert a component causing
a fatal system crash into the process of reading files from disk - ironically
in the name of security and predictability.
** Affects: xdg-desktop-portal (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2029037
Title:
File upload in browsers reliably freezing & crashing system
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/2029037/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs