Clicking firefox freezes gnome desktop

Rocky 8, has anybody had gnome desktop freezing after clicking on firefox? It seems to happen after a while of use and randomly.

There are some bugs relating to this from 2018 but not sure if its the same thing. Running out of memory.

I have gone back to 102.3.0esr (64-bit) to see if it fixes it. I only run Cookiebro plugin, which I have used for years.

ssh still works but desktop is frozen.

Thanks.

Yes, this happens with firefox when it is left open for hours w/o a script blocker enabled. I use “Noscript” on my personal boxes but I have one user who would have trouble figuring out what scripts to allow so it is not enabled. So for that person the rule is to exit FF before leaving machine. This has worked for them.
If you can ssh into the subject machine then killing the FF process should restore the desktop, true?

Thanks, so far its not happened on 102.3.0esr.
Will take a look at the noscript plugin.
Did not think of just killing FF, was restarting the desktop. I will give it a go next time, and see if it is a memory thing.

Does the mouse pointer also freeze? If you can still use ssh, can you check the logs at the exact moment of the desktop freeze.

gerry666uk every thing is frozen, oddly Audacity plays until then end of the current track and then stops.

102.3.0esr. seems ok, first day not freezing. :smiley:.

the more you switch between windows, seems to trigger it.

Cheers

I’ve had this or similar in Rocky 9 as well. I have that particular desktop for remote connection and it happens almost immediately on running Firefox, and not even connecting to any particular site. I put it down to do with NX nomachine, but now I’m wondering if it’s completely unrelated to it.

The fact I just only opened it, means it has nothing to do with scripts running since I hadn’t connected to any site. And the browser also hadn’t been running for a long time, since it hadn’t been opened at all.

iwalker I have ff developer and distro ff running, only freezes on clicking the distro version.

dnf downgrade firefox

you can try different versions.

Available versions:
dnf --showduplicates list firefox | expand

Installed Packages:
firefox.x86_64 102.3.0-6.el8_6 @appstream
Available Packages
firefox.x86_64 91.9.0-1.el8_5 appstream
firefox.x86_64 91.9.1-1.el8_6 appstream
firefox.x86_64 91.10.0-1.el8_6 appstream
firefox.x86_64 91.11.0-2.el8_6 appstream
firefox.x86_64 91.12.0-2.el8_6 appstream
firefox.x86_64 91.13.0-1.el8_6 appstream
firefox.x86_64 102.3.0-6.el8_6 appstream
firefox.x86_64 102.3.0-7.el8_6 appstream
firefox.x86_64 102.4.0-1.el8_6 appstream

I am doing a lot of ff clicking today. :face_with_diagonal_mouth:

If you can get it to freeze on demand, it would be good to see the logs at the exact moment of the freeze.

But if the home page is set to something other than the local filesystem, it will connect to the site almost instantly? Even if you have a local page, I think it will still connect to at least one thing, e.g. Mozilla telemetry nonsense?

Either way, it may possible to reproduce this, even with a local html page, because it could be to do with the way Firefox uses the graphics stack.

Here are the logs leading up to a freeze. I ssh onto to kill the desktop at 16:01

Oct 26 15:09:34 devbox org.gnome.Shell.desktop[4400]: #2   55c8ddff07e0 i   /home/devuser/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/extension.js:637 (7f8bf5272d30 @ 20)
Oct 26 15:09:34 devbox journal[4400]: st_label_set_text: assertion 'ST_IS_LABEL (label)' failed
Oct 26 15:09:35 devbox systemd[1]: fprintd.service: Succeeded.
Oct 26 15:09:35 devbox journal[4400]: Object St.Label (0x55c8dea83c80), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Oct 26 15:09:35 devbox org.gnome.Shell.desktop[4400]: == Stack trace for context 0x55c8dbada300 ==
Oct 26 15:09:35 devbox org.gnome.Shell.desktop[4400]: #0   55c8ddff0860 i   /home/devuser/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/extension.js:102 (7f8bf5248e50 @ 98)
Oct 26 15:09:35 devbox org.gnome.Shell.desktop[4400]: #1   7ffc7ea63080 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f8c0eeb9dc0 @ 71)
Oct 26 15:09:35 devbox org.gnome.Shell.desktop[4400]: #2   55c8ddff07e0 i   /home/devuser/.local/share/gnome-shell/extensions/clipboard-indicator@tudmotu.com/extension.js:637 (7f8bf5272d30 @ 20)
Oct 26 15:09:35 devbox journal[4400]: st_label_set_text: assertion 'ST_IS_LABEL (label)' failed
Oct 26 15:09:40 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-3ms), your system is too slow
Oct 26 15:10:16 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-0ms), your system is too slow
Oct 26 15:10:16 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-13ms), your system is too slow
Oct 26 15:10:19 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-3ms), your system is too slow
Oct 26 15:10:40 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-5ms), your system is too slow
Oct 26 15:10:54 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-12ms), your system is too slow
Oct 26 15:11:29 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-5ms), your system is too slow
Oct 26 15:11:48 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-3ms), your system is too slow
Oct 26 15:11:48 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-16ms), your system is too slow
Oct 26 15:13:41 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-6ms), your system is too slow
Oct 26 15:14:22 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-11ms), your system is too slow
Oct 26 15:17:24 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-23ms), your system is too slow
Oct 26 15:17:24 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-36ms), your system is too slow
Oct 26 15:17:28 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-16ms), your system is too slow
Oct 26 15:17:28 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-29ms), your system is too slow
Oct 26 15:19:46 devbox rtkit-daemon[988]: Successfully made thread 51375 of process 51370 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:19:48 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-5ms), your system is too slow
Oct 26 15:20:18 devbox rtkit-daemon[988]: Successfully made thread 51450 of process 51442 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:20:31 devbox rtkit-daemon[988]: Successfully made thread 51481 of process 51476 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:20:31 devbox rtkit-daemon[988]: Successfully made thread 51489 of process 51476 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:23:06 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-3ms), your system is too slow
Oct 26 15:23:06 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-16ms), your system is too slow
Oct 26 15:24:55 devbox rtkit-daemon[988]: Successfully made thread 51739 of process 51734 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:25:05 devbox journal[5129]: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Oct 26 15:25:13 devbox rtkit-daemon[988]: Successfully made thread 51786 of process 51781 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:25:44 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-5ms), your system is too slow
Oct 26 15:27:50 devbox rtkit-daemon[988]: Successfully made thread 51968 of process 51963 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:27:50 devbox rtkit-daemon[988]: Successfully made thread 51976 of process 51963 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:28:23 devbox rtkit-daemon[988]: Successfully made thread 52038 of process 52033 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:28:24 devbox rtkit-daemon[988]: Successfully made thread 52058 of process 52053 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:29:25 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-31ms), your system is too slow
Oct 26 15:29:25 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-44ms), your system is too slow
Oct 26 15:30:43 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-21ms), your system is too slow
Oct 26 15:30:43 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-34ms), your system is too slow
Oct 26 15:30:56 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-65ms), your system is too slow
Oct 26 15:30:56 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-78ms), your system is too slow
Oct 26 15:30:57 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
Oct 26 15:30:58 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: client bug: event processing lagging behind by 87ms, your system is too slow
Oct 26 15:34:56 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: client bug: event processing lagging behind by 26ms, your system is too slow
Oct 26 15:37:10 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
Oct 26 15:37:13 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-1ms), your system is too slow
Oct 26 15:38:45 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-5ms), your system is too slow
Oct 26 15:38:45 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-18ms), your system is too slow
Oct 26 15:39:07 devbox org.gnome.Shell.desktop[4400]: libinput error: event2  - Dell Dell USB Entry Keyboard: client bug: event processing lagging behind by 15ms, your system is too slow
Oct 26 15:39:13 devbox rtkit-daemon[988]: Successfully made thread 52717 of process 52712 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 26 15:41:29 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-6ms), your system is too slow
Oct 26 15:41:30 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
Oct 26 15:41:30 devbox org.gnome.Shell.desktop[4400]: libinput error: event3  - USB Optical Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
Oct 26 15:41:47 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-61ms), your system is too slow
Oct 26 15:41:47 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-74ms), your system is too slow
Oct 26 15:44:28 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Activating service name='org.gnome.gedit' requested by ':1.129' (uid=1000 pid=19785 comm="/usr/bin/nautilus --gapplication-service ")
Oct 26 15:44:28 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Successfully activated service 'org.gnome.gedit'
Oct 26 15:45:07 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-3ms), your system is too slow
Oct 26 15:45:08 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Activating service name='org.gnome.gedit' requested by ':1.129' (uid=1000 pid=19785 comm="/usr/bin/nautilus --gapplication-service ")
Oct 26 15:45:08 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Successfully activated service 'org.gnome.gedit'
Oct 26 15:46:30 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Activating service name='org.gnome.gedit' requested by ':1.129' (uid=1000 pid=19785 comm="/usr/bin/nautilus --gapplication-service ")
Oct 26 15:46:30 devbox dbus-daemon[4318]: [session uid=1000 pid=4318] Successfully activated service 'org.gnome.gedit'
Oct 26 15:50:01 devbox org.gnome.Shell.desktop[4400]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-6ms), your system is too slow
Oct 26 16:01:23 devbox systemd-logind[1071]: New session 14 of user devuser.

OK, the log obviously doesn’t look good, but I can’t see anything directly related to Firefox crashing the desktop.
Item ‘clipboard-indicator’ is showing a problem. Was that installed from official repos?
Maybe try without it?
The libinput errors could cause all kinds of problems.
Regarding ‘rtkit-daemon’, I don’t what it’s trying to do, but it’s babbling about ‘WebKit’, but is that part of Firefox, or some other browser?
The entry ‘gtk_box_gadget_distribute’ related to a scrollbar could cause a crash.
It looks like you were using ‘nautilus’ and ‘gedit’ just before the crash, is that correct?
I don’t understand the last entry where it says “New session”, it’s as if you logged into the desktop somehow, but I was expecting to see an ssh login instead?

There is a el8_6.0.1 update to this FF package today. Which seems to be a rebuild of the same firefox version as quoted. So maybe there are issues for certain users that are being addressed.

gerry666uk

The log txt is from messages, the corresponding secure
Oct 26 16:01:23 devbox sshd[53749]: Accepted password for devuser from xxx.xxx.x.xx port 55888 ssh2
Oct 26 16:01:23 devbox sshd[53749]: pam_unix(sshd:session): session opened for user devuser by (uid=0).

Its definitely something in the current release, as 102.3.0-6.el8_6 does not freeze.

As jbkt23 mentions there is a new release 102.4.0-1.el8_6.0.1, whether its this : RHSA-2022:7070?

Well it froze again, now by just clicking on the text editor.

I ssh’d on to it, and ps_mem looked ok with 4gb free.

top was showing wayland doing something.

Alas it unfroze by itself around 9:24. 5 minutes. So could not check further.

Here are the messages again, froze at 9:20 (09:21:08 ssh to box)

Oct 30 09:08:45 devbox rtkit-daemon[992]: Successfully made thread 22407 of process 22402 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:08:45 devbox rtkit-daemon[992]: Successfully made thread 22415 of process 22402 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:08:48 devbox rtkit-daemon[992]: Successfully made thread 22407 of process 22402 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:11:01 devbox rtkit-daemon[992]: Successfully made thread 22636 of process 22631 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:12:22 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:12:22 devbox rtkit-daemon[992]: Successfully made thread 22785 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:12:24 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:12:24 devbox rtkit-daemon[992]: Successfully made thread 22785 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:12:29 devbox kernel: perf: interrupt took too long (2536 > 2500), lowering kernel.perf_event_max_sample_rate to 78000
Oct 30 09:13:33 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:13:33 devbox rtkit-daemon[992]: Successfully made thread 22785 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:13:38 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:13:38 devbox rtkit-daemon[992]: Successfully made thread 22785 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:13:43 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:13:43 devbox rtkit-daemon[992]: Successfully made thread 22785 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:14:04 devbox rtkit-daemon[992]: Successfully made thread 22777 of process 22771 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:14:53 devbox rtkit-daemon[992]: Successfully made thread 22988 of process 22983 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:14:53 devbox rtkit-daemon[992]: Successfully made thread 22996 of process 22983 (/usr/libexec/webkit2gtk-4.0/WebKitWebProcess) owned by '1000' RT at priority 5.
Oct 30 09:16:43 devbox org.gnome.Shell.desktop[4416]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-7ms), your system is too slow
Oct 30 09:17:29 devbox org.gnome.Shell.desktop[4416]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-44ms), your system is too slow
Oct 30 09:17:29 devbox org.gnome.Shell.desktop[4416]: libinput error: client bug: timer event3 debounce: scheduled expiry is in the past (-22ms), your system is too slow
Oct 30 09:17:29 devbox org.gnome.Shell.desktop[4416]: libinput error: client bug: timer event3 debounce short: scheduled expiry is in the past (-35ms), your system is too slow
Oct 30 09:21:08 devbox systemd[1]: Started Session 10 of user devuser.

How long have you had Rocky 8 installed and running before these freezes began to occur?

So this is w/o firefox running? Might indicate a general graphics problem.
You could see if there is any “wayland” error messages.
journalctl -b | grep wayland
or
journallctl -b -u wayland.service
You could also switch to the Xorg server at login by clicking on the gear icon. I don’t use gnome so I’m guessing here as to the place to switch.

Machine is an 2017 Elitedesk, and unlikely to be a graphics card issue, freezing also only started recently.

There are a bunch of updates, maybe these fix it. Fingers crossed on the latest ff. :grin:

Thanks for everyone’s help.

Not “graphics card”, from above “graphics stack” or “graphics problem”.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4822 devuser 20 0 355232 100848 38120 R 100.0 1.3 33:10.65 Xwayland

From late yesterday afternoon, another freeze. Xwayland at 100%.

I have applied the latest patches. Fingers crossed.

If Firefox seems to hang randomly and not after a specific action (for example, downloading a file or quitting Firefox), try the solutions in this section.
Create a new places database
Turn off hardware acceleration
Change the PAC implementation
Clear download history
Choose a different download folder

This may help you,
Rachel Gomez

Alas, the patches did not fix the freezing. As a last resort I did a refresh of ff from the ‘More Troubleshooting Information’ page and added back my plugins. So far no more freezing.