Firefox freezes randomly my computer when opening a new tab

Hi!

For a few months Firefox has randomly frozen my computer when opening a new tab. The only solution is to hard reset.

In the last days, it appears more and more frequently (before it was 1 in 2 weeks, now several times a day). It’s maybe more likely when the new tab is a “heavy page” like a youtube page or Google map?.

I’ve disabled all the addons but to no avail.

How can I debug this? It looks like some memory leak maybe???
Here’s my current swap partition anyway (15 tabs open):

$ swapon
NAME      TYPE SIZE USED PRIO
/swapfile file  10G   0B   -2

I am on Firefox 105.0.3 (64-bit)
Desktop Cinnamon.

Thanks a lot in advance

I’m also getting problematic firefox tabbed behavior for at least a week as well. For me, freezing is self-contained within firefox itself and I can either kill it, or wait until item actions repaint by minimizing/maximizing from the task bar. There is a journalctl dump to work with, but no firefox crash report:

systemd-coredump

[🡕] Process 73348 (firefox) of user 1000 dumped core.

                                           Module /usr/lib/firefox/libmozsandbox.so with build-id 9cbe77faac70c4e67ce58437d342492ccbfc7c2e
                                           Module linux-vdso.so.1 with build-id e8d5459e45cff74c04d94e47fa7eed9802f4f4b4
                                           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 vdpau_drv_video.so with build-id 8976d88c463676c8a7a27a4fa06ab51a4f428200
                                           Module libdrm.so.2 with build-id 5b59e55b50556f6d541e4d73fd6a2dcfb1983894
                                           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 f92352eae0a30aea89d11beb22367fa985288925
                                           Module libdbus-glib-1.so.2 with build-id 9b483ffff76251ff057e007a0b960bff84ce34a8
                                           Module libnssutil3.so with build-id 88012b532a109e5b0dbc437ea8a7ca92ae905e6e
                                           Module libnss3.so with build-id 5ce14f6297f3d9e24242317a4393191a0f9d569d
                                           Module libsmime3.so with build-id 05058ebd3a55330d58ede6ebf181650605f14f39
                                           Module libssl3.so with build-id 4b7d562b622df018204d9480dc81d5a285dbd0d8
                                           Module libplc4.so with build-id ae18d68f01288868c93380064a1517522f3a844f
                                           Module libasound.so.2 with build-id aefb908044b1b408df406f1a9bab9bba486c0e94
                                           Module libxul.so with build-id c5f5f6e720048d43868447fb5669c6f6ffdc8a59
                                           Module libmozwayland.so with build-id 6d02ecade2d88e510e133704931ef70fe2cea078
                                           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.71 with build-id 4fef196388e678deb881978139e125e20ee2d94d
                                           Module libsystemd.so.0 with build-id 461d1674a5e4c71184837ae7a6a827c9570ada42
                                           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 49868de417eee9052facae410a866ebfbd5cceb8
                                           Module libjson-glib-1.0.so.0 with build-id 58decebd2c409d59b07f926ae4c513281918bc4d
                                           Module libicui18n.so.71 with build-id 6fd5c97fd2808ee29958bf809656d5885e7e8963
                                           Module libicuuc.so.71 with build-id 633fdc0c5385d916571f6140e7a978ad0630ef55
                                           Module libstemmer.so.0 with build-id 013b48e71279a5ec55e3021fc0bd8fb10a08bae5
                                           Module libdbus-1.so.3 with build-id 602aef78ca71b16013e8b47b1fc0074748bf88ba
                                           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 52f685635e8711c1164d20a1ef8acd3840312094
                                           Module libpixman-1.so.0 with build-id d2170a3ac106c2a68597bf7910ab04b1cdd69c14
                                           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 42e386d2acf3cde61081959d9671ca74acfb3edc
                                           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 fb5dba105458f179a9153659f3ccd8e1056a2f35
                                           Module libpcre2-8.so.0 with build-id 917fc43d2c9f8539a3e324555c6c73886e8000a8
                                           Module libXinerama.so.1 with build-id 8198240259261b612189e89c9fcfc902b025b382
                                           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 17beadf1cb40d41ab36629db3b4eed74110678a7
                                           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 b4ae6341a6b845e55701dd4577a12cdc3ec0c73e
                                           Module libcloudproviders.so.0 with build-id ed1d9c9e60be4e858ad148484767249be1edf95f
                                           Module libatk-bridge-2.0.so.0 with build-id 75ddfc46abae129a83449506506501117ce98ff8
                                           Module libX11.so.6 with build-id 21e886e968772b7964d646f54c1faecc56734de9
                                           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 b2822dc16bd1470683ce421978ad142c4f3c3f89
                                           Module libcairo-gobject.so.2 with build-id 9927090dddfb180365695a8f37d1cac89463f109
                                           Module libfribidi.so.0 with build-id fe9f35ac2a0074108c8306c517793f7279bd9b37
                                           Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
                                           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 2d058365c6559e779ba3079192020297aeb36af9
                                           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 804d947f8cb14bbbbf97e8bf2f93fd17b744e719
                                           Module libgobject-2.0.so.0 with build-id afb0315fefdf602be0615bd5c97f35a7ac1d6bbe
                                           Module libglib-2.0.so.0 with build-id 3ef8f9239c93af698703b12c5c6738fe0129eaa7
                                           Module libgmodule-2.0.so.0 with build-id 95ec7a190858206b2eaba22e06b126e4a4449200
                                           Module libgdk-3.so.0 with build-id f3bc07ea30b1a84c4e3df1d67deaadfcf747bc3c
                                           Module libgtk-3.so.0 with build-id f25162b866dd8b576794f6f06b91a36ac8f570f8
                                           Module libmozgtk.so with build-id f7b54738056849ef3b642236db95936b4aff4a33
                                           Module libmozsqlite3.so with build-id 66ab2f6025cb87dd8ff0a21bbfc64dca7a09ca81
                                           Module liblgpllibs.so with build-id 839ed8065dbed3eb477af98b3387f05fc8ad79c0
                                           Module libnspr4.so with build-id 7810f60fbe92aa8395979eb46f16f4dac61e6a93
                                           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 e7dfe0241aa86060a14a04ff579fc680ff8df544
                                           Stack trace of thread 73348:
                                           #0  0x00007f13fe507814 XDisplayString (libX11.so.6 + 0x2b814)
                                           #1  0x00007f13f17aaa1d __vaDriverInit_1_13 (vdpau_drv_video.so + 0xda1d)
                                           #2  0x00007f13f1451c9c n/a (libva.so.2 + 0x3c9c)
                                           #3  0x00007f13f1456df1 vaInitialize (libva.so.2 + 0x8df1)
                                           #4  0x00007f13f9d85997 n/a (libxul.so + 0x85d2997)
                                           #5  0x00007f13f9d865e9 n/a (libxul.so + 0x85d35e9)
                                           #6  0x00007f13f5c2ccfe n/a (libxul.so + 0x4479cfe)
                                           #7  0x00007f13f5c2a33d n/a (libxul.so + 0x447733d)
                                           #8  0x00007f13f5c1c065 n/a (libxul.so + 0x4469065)
                                           #9  0x00007f13f5c1b21d n/a (libxul.so + 0x446821d)
                                           #10 0x00005643780c503c n/a (firefox + 0x4903c)
                                           #11 0x00007f14002ed290 n/a (libc.so.6 + 0x23290)
                                           #12 0x00007f14002ed34a __libc_start_main (libc.so.6 + 0x2334a)
                                           #13 0x00005643780d98e5 _start (firefox + 0x5d8e5)
                                           ELF object binary architecture: AMD x86-64

Memory leaks have plagued firefox for years, but I believe this is different hw issue. Youtube seems to be a common occurrence when all the tabs freeze up for me.

edit: looks like my issues appear to have resolved after updating to v106. Will update later if freezing still occurs.