Thanks for going as far as making a video of it.

If the data is missing, a sync call should help, e.g.

  while sleep 1; do date; free -h|sed 1d; sync mem2.log; done >>
mem2.log

However, at least up to the last recorder second, mem.log shows memory is
nowhere near full, which suggests this is not the cause.

Nonetheless, I'd try this:

0. Save your work in Firefox and terminate it.

1. Open /var/lib/snapd/apparmor/profiles/snap.firefox.firefox as root and add
the read allowance '/proc/pressure/memory r,'. You can do this by executing
this snippet in the terminal:

--->
sudo ed -s /var/lib/snapd/apparmor/profiles/snap.firefox.firefox <<'EOF'
$i
/proc/pressure/memory r,
.
w
EOF
<---

2. Then make Apparmor load that new profile:

--->
sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap.firefox.firefox 
<---

3. Now start Firefox again.

If this has no effect, I'm out of ideas.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138624

Title:
  Firefox crashes Thinkpad X13s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2138624/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to