Firefox keeps completely freezing randomly

I’ve problem with Firefox
Its non functional after latest update.
I could tray reinstalling, starting with debugger mode and so on but unfortunately couldn`t get any visual piece of Firefox. Its looks like frezed window contain noting. Catches other window’s visuals. Can be related X11 maybe. Because its renders nothing.

firefox --version
Mozilla Firefox 107.0
██████████████████  ████████   axe@axe-inspiron3585 
██████████████████  ████████   -------------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Inspiron 3585 1.4.0 
████████            ████████   Kernel: 5.15.78-1-MANJARO 
████████  ████████  ████████   Uptime: 1 hour, 18 mins 
████████  ████████  ████████   Packages: 1871 (pacman) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   WM: i3 
████████  ████████  ████████   Theme: Adapta-Nokto-Eta-Maia [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Adapta-Nokto-Maia [GTK2/3] 
████████  ████████  ████████   Terminal: urxvt 
████████  ████████  ████████   Terminal Font: 9x15,xft 
                               CPU: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8) @ 2.000GHz 
                               GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
                               Memory: 2555MiB / 5823MiB 

I couldn’t manage to get coredump file from gdb which I applied these steps.

coredumpctl list|grep firefox
coredumpctl list|grep 1116
$

Just I`ve following…

cat /proc/1116/cmdline 
/usr/lib/firefox/firefox-contentproc-parentBuildID20221114175818-prefsLen32815-prefMapSize229702-appDir/usr/lib/firefox/browser{fb9c2cf2-2f03-4c51-a5c2-d2c43240aac4}830truesocket

Could you clarify more, how can I get it? Because I’ve also problem with firefox

@maxemilian, just take a look if you have any obvious error entries since your last boot: $
journalctl -b -p3 --no-pager --no-hostname

Here it is no notable thing…

Nov 20 14:01:07 kernel: tpm_crb MSFT0101:00: can't request region for resource [mem 0x4f76f000-0x4f772fff]
Nov 20 14:01:07 bluetoothd[484]: src/plugin.c:plugin_init() Failed to init vcp plugin
Nov 20 14:01:07 bluetoothd[484]: src/plugin.c:plugin_init() Failed to init mcp plugin
Nov 20 14:01:07 bluetoothd[484]: src/plugin.c:plugin_init() Failed to init bap plugin
Nov 20 14:01:17 lightdm[729]: gkr-pam: unable to locate daemon control file

We might have different issues. Maybe it’s still worth checking like a week back versus last boot.

journalctl -p2 --no-pager --no-hostname --since 2022-11-13

1 Like

Okay, tested 2 Laptops AMD Powered.

Older HP Laptop, AMD FX with Radeon R7, does this: I have a problem with Mozilla Firefox

And the Newer Laptop, Acer Ryzen 3 with Vega works as it should!!, No problems!!

So not sure whats going on With Manjaro/Firefox?

You know what’s funny about my situation when ff decides to randomly stop? My old friend, the frozen-window desktop snake effect is back if new apps are launched and dragged on the current workspace. I missed seeing this from back in the day, it’s a cool effect. :sunglasses: :cold_face:

P.S. I did a firefox “refresh” and cache blown away, no effect.

2 Likes

I couldn’t catch with grep anything

journalctl -p2 --no-pager --no-hostname --since 2022-11-13|grep firefox

but here entire sniped

I’ve good news! Firefox running normally now!
Firefox begin to run around first working day stress. Great… I need its extension you know life changer.
I didn’t even restart but it is in well situation now. Thanks for any help. :heartpulse:

1 Like

Good to hear. I’ve simply disabled all acceleration again and I believe that’s the root issue for me:

Screenshot_2022-11-21_05-36-35

1 Like

Is the 2022-11-14 “Known Issues and Solutions” issue as to libx11-1.8.2 as per [Stable Update] 2022-11-14 - Kernels, GNOME 43.1, Plasma 5.26.3, Systemd 251.8, Firefox 106.0.5, Thunderbird, LXQt - #2 by philm relevant for you’z people?

Nice to see the edit there by @alkl but my issue may be unrelated to highlighting text, but ultimately with the same freezing outcome. Disabling hw acceleration completely is a fine workaround for now.

Also, I figured out a reproduction. When hw acceleration is enabled, and ensuring window grouping is disabled in xfce’s window panel settings, then in ff select: hamburger → downloads, and with the firefox downloads window (labeled as “Library”) visible in the taskbar, keep fastly left-clicking it (there in the taskbar) to keep minimizing/unminimizing it until the entire window fails to paint, causing ff to freeze entirely. For me, it’s around the ~7th unminimized click before the window fails to paint.

No, Never had this problem on either 106.5 or 107.0, On Desktop I7, still have the NVidia Hardware acceleration bug, Turn it off or crash, and an older AMD K8/Radeon Laptop is the problem with Firefox not loading at all then finding it’s running 3 times in task manager, kill 2 below the top Firefox and then it loads, really annoying to do this every time i need/use Firefox, but again not the problem listed.

The issue with libx11 primarily happens when playing a video and copying something to the clipboard:

For me that freezing was instantly, when trying to Copy a password from Bitwarden (Firefox Addon) to the Clipboard, while playing a video. The entire Firefox process would come unresponsive. (Not even clickable, would crash with Alt + F4)

I also experienced an issue, where Firefox somehow caused the whole desktop environment getting unresponsive (idk if this is the one you all are referring to in this thread), only the mouse was working. Haven’t happened since I applied the libx11 patch.

Now the only thing left is that Firefox windows / tabs would come unresponsive (UI element not clickable / closing a tab would leave an empty space) at some point.

It seems that there are two - three issues at play at the same time, at least for me.

2 Likes

Do you got any journalctl dumps we can look at? :face_with_monocle:

systemd-coredump
Nov 22 16:25:29 systemd-coredump[111401]: Process 111398 (firefox) of user 1000 dumped core.
                                          
                                          Module linux-vdso.so.1 with build-id 90ee25c0c8a737fbd9ab0ab726544e975f60d2f0
                                          Module libGLX.so.0 with build-id d2c37fb8ec3bc53c67c013b0c6ac63ec086c8883
                                          Module libGLdispatch.so.0 with build-id 7879a881271650eff97c35aff7a8674859c5ae94
                                          Module libvdpau.so.1 with build-id fccd021ff13c37ebf7144d184a3250624e086f52
                                          Module libGL.so.1 with build-id 6f65953140bc8a2aba47c9d492658dc61891393e
                                          Module nvidia_drv_video.so with build-id 8976d88c463676c8a7a27a4fa06ab51a4f428200
                                          Module libdrm.so.2 with build-id 9a69d336dca7033fe0df95977c79e6a67e4e51c7
                                          Module libva.so.2 with build-id 53551f71c1e329a02561e3a9d5f5cf1b58c6965d
                                          Module libva-drm.so.2 with build-id e98c416d6cb8aa19eb870a619ea0ce5481ac22d5
                                          Module libxcb-glx.so.0 with build-id 71d5b6691f53a235696da49ffa2178d643ecc228
                                          Module librt.so.1 with build-id ce8e0934f83057f038b5a06eb70082bef142d2f0
                                          Module libplds4.so with build-id 26c6c93ab7e9b7022734be96a91d0959b4c84fe5
                                          Module libX11-xcb.so.1 with build-id a9cb366e123d4c870490dad76dc0c948ee861865
                                          Module libdbus-glib-1.so.2 with build-id 9b483ffff76251ff057e007a0b960bff84ce34a8
                                          Module libnssutil3.so with build-id a01c2c4d417c03c715515ff90b175ce4f68db7ac
                                          Module libnss3.so with build-id 6af0309dff8068ab31040c1e53c331c5ab75a97e
                                          Module libsmime3.so with build-id cec30909cf43ab18d6a92f15a3f766e1c8e29b28
                                          Module libssl3.so with build-id f4808b9c707b2e2a147da7d7fc2a124bf0a8ef92
                                          Module libplc4.so with build-id ae18d68f01288868c93380064a1517522f3a844f
                                          Module libasound.so.2 with build-id d4458e121c818bcf170543dac0e12cfdadcf5b40
                                          Module libxul.so with build-id 35e9fa6d1db741c394e234309d98f5a0d909c202
                                          Module libmozwayland.so with build-id 73aca45588081185da18e2d8a50989fec29c675e
                                          Module libgpg-error.so.0 with build-id 470d76ceb1e53cb017f78c08936e9bafaeb4058b
                                          Module liblz4.so.1 with build-id 84ea95d811dad359e94e100ebe6a746294ffe8a7
                                          Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
                                          Module libcap.so.2 with build-id 9b38b08de708f439a9d0a4f8b9914151bc8d4b50
                                          Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
                                          Module libicudata.so.72 with build-id a133b365160fc45e002163e5435f3029f4254cfa
                                          Module libsystemd.so.0 with build-id 1c1489e575197ffbf417c79f926e572421f3692f
                                          Module liblzma.so.5 with build-id 8a7334fec02fef6a82ff641a68b3e3200a44a702
                                          Module libzstd.so.1 with build-id ab54c2881f53ab314e134f3e08c76d504376dd5d
                                          Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
                                          Module libXau.so.6 with build-id d9d5e8277140f1a86d3a07d9b52b1703c0a2f9a8
                                          Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
                                          Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                                          Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                                          Module libblkid.so.1 with build-id fb2c5d3c17aac74758a3eb80a2bc1c16bcf183b1
                                          Module libsqlite3.so.0 with build-id 782ea1abbeebfd86f7d34c1c4fd1c23d14a8cefd
                                          Module libxml2.so.2 with build-id 171e32069b76d4cfedbfdf97f2087807948a9b3d
                                          Module libjson-glib-1.0.so.0 with build-id 58decebd2c409d59b07f926ae4c513281918bc4d
                                          Module libicui18n.so.72 with build-id aec148964d10586dae138df84f087835382396f2
                                          Module libicuuc.so.72 with build-id c2e0249a038bd0fe76e681ecd2b73951c65a0866
                                          Module libstemmer.so.0 with build-id 013b48e71279a5ec55e3021fc0bd8fb10a08bae5
                                          Module libdbus-1.so.3 with build-id 6d6e4846c8e56903b4fe7d992ae6bb30c8a20a9c
                                          Module libatspi.so.0 with build-id 51fdaad17db96c5569b8f59908e7c076fbd6fe1c
                                          Module libtiff.so.5 with build-id 62a8aefb339c3cbe35d1089c66c527a7b090804c
                                          Module libjpeg.so.8 with build-id 46dfd8b2cbe8a10d13cd3182a7b490d0959534f9
                                          Module libexpat.so.1 with build-id a98bfab551dfa3df6889c33d5fd2ccfa6d505608
                                          Module libpixman-1.so.0 with build-id 52e6f12fd7fd7332f0c98fb5982716b3432e3df6
                                          Module libxcb-shm.so.0 with build-id 828fec4d856e2710e732ea8d92c3f250c807b1c2
                                          Module libxcb-render.so.0 with build-id b1ca498d665807ab0ccdafbe8070853efd058173
                                          Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
                                          Module libXrender.so.1 with build-id 9d6512ea1c9698e8c81f27e89fda57d36eb4b18e
                                          Module libpng16.so.16 with build-id 14d3b3cc9d61ec1b7c1f86bdf108218a99364945
                                          Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
                                          Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
                                          Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
                                          Module libmount.so.1 with build-id 9064fc3620c42e6f7aed38119f0a3ec39fca9a37
                                          Module libz.so.1 with build-id 5340199d53cb95e609028ce1143675c742ff4218
                                          Module libffi.so.8 with build-id 5c6b22b6624dd486a0783dfe74fee085b626b573
                                          Module libpcre2-8.so.0 with build-id 917fc43d2c9f8539a3e324555c6c73886e8000a8
                                          Module libXinerama.so.1 with build-id d2ddc821ebf9dd63b4ba512da8924c7ac9469460
                                          Module libXrandr.so.2 with build-id 154e55f082ee9e685d0794c98c5b76ffe9c8868e
                                          Module libXcomposite.so.1 with build-id 13228d108b290268d88510db494daefd5521cda0
                                          Module libXdamage.so.1 with build-id a99dbe3fc2b01da9fbdd90d5ad00621f9022379f
                                          Module libXcursor.so.1 with build-id f0525ae3715ac95f96a8cdb44795b03f831334b0
                                          Module libXext.so.6 with build-id d7f3b1c9d5be6574b5faf83b74f8bba3d0dfa3c6
                                          Module libwayland-egl.so.1 with build-id dd02a2af320297e68308cc698f75828529271a57
                                          Module libwayland-cursor.so.0 with build-id 46a637dbcbb02d6712a201f177377b66598b9121
                                          Module libwayland-client.so.0 with build-id 515c72111400d7bdbfbdfcec78d597e4986a5943
                                          Module libxkbcommon.so.0 with build-id 6cf66eead3fcc20fe5df10162bfbcdcdc8b2a183
                                          Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                                          Module libtracker-sparql-3.0.so.0 with build-id 67d8ac6dd248c6f7ab7c9a5e1afd40c55aa473b9
                                          Module libcloudproviders.so.0 with build-id b701e0c262aba3108df42eb1c672fa5ee861edd8
                                          Module libatk-bridge-2.0.so.0 with build-id 75ddfc46abae129a83449506506501117ce98ff8
                                          Module libX11.so.6 with build-id c9ad8565fd7adf639170739658464eb88e92ccc2
                                          Module libXi.so.6 with build-id 16603be937a02a7e61b0b0395d064be7efd86f49
                                          Module libepoxy.so.0 with build-id edc178a150c4255d124e1e1ecbdbecebd1a388cd
                                          Module libatk-1.0.so.0 with build-id c25517cd775e783725a3ed2815b09a8096bd6565
                                          Module libgdk_pixbuf-2.0.so.0 with build-id bbf1443f6f677b84888d0ad843c4f7e07f2e134f
                                          Module libcairo-gobject.so.2 with build-id 9927090dddfb180365695a8f37d1cac89463f109
                                          Module libfribidi.so.0 with build-id fe9f35ac2a0074108c8306c517793f7279bd9b37
                                          Module libfontconfig.so.1 with build-id 9e856b5b37a3f4f7176ad8f92b2123508c95406e
                                          Module libpangoft2-1.0.so.0 with build-id d2aac9e9a7523c05b32ddc00621a1e371147485c
                                          Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
                                          Module libharfbuzz.so.0 with build-id 181bbb0db2bce74b6bd5ed66ee7dcbed96323d8b
                                          Module libpango-1.0.so.0 with build-id 2cbe86c0a6de777fa7bc584d74ce48d39fc595d0
                                          Module libpangocairo-1.0.so.0 with build-id 2e46c234e5b532d7b0da24a79d0803cd67dd127f
                                          Module libgio-2.0.so.0 with build-id e40d688960cf27f1e3b08533563affb8baed62af
                                          Module libgobject-2.0.so.0 with build-id 4912a41f41a806314fb1a528139e368746d80dda
                                          Module libglib-2.0.so.0 with build-id 49826f5cd4f784c8050176991d46fd93a5fcee9f
                                          Module libgmodule-2.0.so.0 with build-id 4145f63148e903c5cc49730868d4b108e4a2afba
                                          Module libgdk-3.so.0 with build-id f3bc07ea30b1a84c4e3df1d67deaadfcf747bc3c
                                          Module libgtk-3.so.0 with build-id f25162b866dd8b576794f6f06b91a36ac8f570f8
                                          Module libmozgtk.so with build-id cac74292d25e0d95a76227d1e6094c7511850273
                                          Module libmozsqlite3.so with build-id b0502f57d3a9f6d685784b2b0c3037a7901eac2a
                                          Module liblgpllibs.so with build-id bd2c992049196a85b84005fde5fd826ce0bfdd8f
                                          Module libnspr4.so with build-id 7810f60fbe92aa8395979eb46f16f4dac61e6a93
                                          Module libmozsandbox.so with build-id 5f523897ad1ab40a733a0b860e29f1afbfacef86
                                          Module ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
                                          Module libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
                                          Module libgcc_s.so.1 with build-id 85db482c4585a328d95ec41124337a967bb24d8f
                                          Module libm.so.6 with build-id 2c8ff1d29b255da5b7371efd5caf57444d622838
                                          Module libstdc++.so.6 with build-id 735a3d0cc7699fd69337361cba4aedb644b2a7ed
                                          Module firefox with build-id 28798103752afd21fa377c8c27d43f87b4d64152
                                          Stack trace of thread 111398:
                                          #0  0x00007fdcb75e0544 XDisplayString (libX11.so.6 + 0x2f544)
                                          #1  0x00007fdcaa64ea1d __vaDriverInit_1_13 (nvidia_drv_video.so + 0xda1d)
                                          #2  0x00007fdcaa1d3c9c n/a (libva.so.2 + 0x3c9c)
                                          #3  0x00007fdcaa1d8df1 vaInitialize (libva.so.2 + 0x8df1)
                                          #4  0x00007fdcb2da8347 n/a (libxul.so + 0x8751347)
                                          #5  0x00007fdcb2da8f1e n/a (libxul.so + 0x8751f1e)
                                          #6  0x00007fdcaebc3cde n/a (libxul.so + 0x456ccde)
                                          #7  0x00007fdcaebc131d n/a (libxul.so + 0x456a31d)
                                          #8  0x00007fdcaebb32b5 n/a (libxul.so + 0x455c2b5)
                                          #9  0x00007fdcaebb246d n/a (libxul.so + 0x455b46d)
                                          #10 0x000055ad9a28ecec n/a (firefox + 0x58cec)
                                          #11 0x00007fdcb93c5290 n/a (libc.so.6 + 0x23290)
                                          #12 0x00007fdcb93c534a __libc_start_main (libc.so.6 + 0x2334a)
                                          #13 0x000055ad9a29ecc5 _start (firefox + 0x68cc5)
                                          ELF object binary architecture: AMD x86-64
1 Like

I suffered the same problem for ~2 weeks and now found a solution to what had been the issue - on my machine. Since this thread helped me a lot, I’ll post it here.

Deactivating hardware-acceleration did not help, so I focused on potential file manager issue by running from a terminal

❯ thunar
Failed to activate service 'org.gtk.vfs.AfcVolumeMonitor': timed out (service_start_timeout=120000ms) (g-dbus-error-quark, 20)

That service is from the package gvfs-afc and manually starting it revealed

❯ /usr/lib/gvfs-afc-volume-monitor
/usr/lib/gvfs-afc-volume-monitor: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

So, pacman -S openssl-1.1 solved all freezes/lags for me. It looks like the openssl package internally switched version from 1.1 to 3.0. The gvfs-afc package should better upgrade or depend on openssl-1.1 package instead.

Hope it helps someone. best regards.

1 Like

I confirm the issue, FF freezes quite often and for no apparent reason recently.

Interesting analysis, thanks for sharing that. “openssl-1.1” is required by steam-native-runtime so looks like it stayed on my system (in addition to “openssl” v3.) Thankfully I don’t have Apple devices so I also safely blew away “gvfs-afc” without breaking the entire xfce desktop :slightly_smiling_face:

Here is one of the Bugs I am experiencing: 1802229 - Firefox window randomly freezes

There is a video attached in that bug report. It basically shows rapidly switching between tabs; after a few seconds it will freeze (not update the contents of the Window). However it seems to still respond to mouse clicks, which are simply not displayed.

1 Like