Firefox crashes

I have a small problem:
when I download a file (e.g. systemrescuecd or other) and I open the download manager,
then Firefox crashes.

This problem does not occur, when I use a new .mozilla folder with copied bookmarks

key4.db= has to do with passwords, I don’t remember exactly, but worth backing up
logins.json = saved passwords
places.sqlite=bookmarks
prefs.js- self explanatory
search.json.mozlz4= Search engines, including custom)

How can I track down the problem?
This occurs, when I have listened to internet radio (www.surfmusik.de).

I don’t know, but when you have a problem with Firefox, if you can’t figure it out quickly, just refresh the profile and be done with it (you need to configure Firefox settings again, get your add-ons, themes, but everything else is kept). It could be so many things, check terminal when it happens (obviously open Firefox from terminal).

//EDIT: Firefox is broken. I got the same problem. Will check it later.

Isn’t that related with the latest ‘libx11’ update?
The 1.8.2 version kind of mess with Firefox.
Can you check the version, please?

No need to check, I’m on the version currently in Manjaro, as we all are. Can’t find proper repro yet. Starting from terminal I always have no output showing in the terminal, when the download manager window opens, it hangs, it never shows content, and closing it leads to KDE asking to wait or close firefox process.

[omano@omano-nvme ~]$ /usr/lib/firefox/firefox   
[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Killed

If coredumpctl, or if you turn them off, journalctl -b -g core-dump --no-pager -o short-unix shows related output that could explain the slow shutdown, but not the root cause.

Just some thoughts, could try:

  • Turn off hardware acceleration if on, or
  • ctrl+shift+del to clear cache, offsite data…follow dialog as needed
    Alternatively use firefox menu > Settings and search for cache to get positioned and follow dialog
  • firefox’s about:about has some useful tools/data; see if any apply (i.e.: about:crashes)
  • Search bugzilla.mozilla for the messages you are seeing on the console or problem.

I am using Firefox 108.0.

How can I check libx11 version ?

Arch just updated libx11 with some patches to fix crashing on Firefox:

1 Like

Here is my inxi -Fza:

System:
  Kernel: 5.15.81-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-5.15-x86_64
    root=UUID=23aba05e-7286-4956-9332-1b136965ac7d rw quiet
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Server System: Supermicro product: X10SRA v: 0123456789
    serial: <superuser required> Chassis: type: 17 v: 0123456789
    serial: <superuser required>
  Mobo: Supermicro model: X10SRA v: 1.01 serial: <superuser required>
    UEFI: American Megatrends v: 2.1a date: 10/24/2018
CPU:
  Info: model: Intel Core i7-6800K bits: 64 type: MT MCP arch: Broadwell
    gen: core 6 level: v3 note: check built: 2015-18 process: Intel 14nm
    family: 6 model-id: 0x4F (79) stepping: 1 microcode: 0xB000040
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 15 MiB desc: 1x15 MiB
  Speed (MHz): avg: 1308 high: 2290 min/max: 1200/3800 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2290 2: 1203 3: 1203
    4: 1200 5: 1200 6: 1257 7: 1287 8: 1200 9: 1200 10: 1200 11: 1257 12: 1208
    bogomips: 81631
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] driver: nvidia v: 525.60.11
    alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 03:00.0
    chip-ID: 10de:2182 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
    s-diag: 692mm (27.26")
  Monitor-1: DP-0 res: 2560x1440 hz: 60 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.60.11 renderer: NVIDIA GeForce GTX 1660
    Ti/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Super Micro
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
    class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.1
    chip-ID: 10de:1aeb class-ID: 0403
  Sound API: ALSA v: k5.15.81-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Intel I210 Gigabit Network vendor: Super Micro driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 05:00.0
    chip-ID: 8086:1533 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel I210 Gigabit Network vendor: Super Micro driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: c000 bus-ID: 06:00.0
    chip-ID: 8086:1533 class-ID: 0200
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.38 TiB used: 282.36 GiB (20.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 5B2QGXA7 temp: 20.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 PRO 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4B6Q scheme: GPT
Partition:
  ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 10.01 GiB (10.2%)
    fs: ext4 dev: /dev/nvme0n1p8 maj-min: 259:8
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
    used: 117.2 MiB (12.0%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-3: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 316 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /home raw-size: 300 GiB size: 294.23 GiB (98.08%)
    used: 64.63 GiB (22.0%) fs: ext4 dev: /dev/nvme0n1p9 maj-min: 259:9
  ID-5: /var raw-size: 32.46 GiB size: 31.66 GiB (97.51%)
    used: 10.47 GiB (33.1%) fs: ext4 dev: /dev/nvme0n1p10 maj-min: 259:10
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p7 maj-min: 259:7
Sensors:
  System Temperatures: cpu: 16.0 C mobo: N/A gpu: nvidia temp: 28 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 38%
Info:
  Processes: 288 Uptime: 19m wakeups: 0 Memory: 31.23 GiB used: 2.8 GiB (9.0%)
  Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 1271 libs: 352
  tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.24

Im also experienced today my first Firefox crash under Linux. Or better to say, my window was freezing and inside of the window it copied the desktop after it was minimized.

But its sporadic… it crashed with 108.0 after using Firefox for around 24hours.

Anyways, no crash showed up in journal. I had to force close the firefox window.

libx11 is version 1.8.2-2.

Indeed, can’t find relevant errors. I also had sporadic random Firefox weirdness, in the past month, for example sometimes when I have multiple tabs opened, after some random event not yet discovered, it is like Firefox is frozen, you can not switch tabs, but if you right click a tab, it instantly shows it, but the content does not refresh, but playing with the right click on tabs properly show the tab, this is weird, and so sporadic I didn’t bother, but this all can be linked, maybe the update of libx11-1.8.3-3 that is on Testing now, will fix that, I’m updating right now, will update thread later tonight after doing more tests with the download manager window.

//EDIT: so far, I can’t reproduce the thread’s issue, will see if my (related?) issue is fixed too. So far so goo on my side on Testing branch.

1 Like

I have never experienced this issue. I am running Nightly as my main browser, updated daily, straight form Mozilla on xfce unstable. I hope it is fixed for you folks. On a side note, I had an issue with some nightly builds, last week, with the dropdown bookmark icon on taskbar where when hovering over on “Other Bookmarks” it would collapse instead of cascading to the right and no other bookmarks could be seen. I reported the bug and it was fixed within two days.

After the last update libx11 is now at version 1.8.3-3.

Firefox at version 108.0.1.

Now, the Firefox crashes are gone.

Yep I didn’t have issue since the update of libx11

1 Like

My (related?) issue was back today, but I guess it may not be related then

It appears that the latest firefox 109.0 is fixed. I use it with hardware acceleration enabled and i do not see it crashing. As expected, firefox is much faster and more agile with acceleration enabled. I use Manjaro Linux 22.0.0 Sikaris, Kernel 6.1.1-1, everything fully updated, no updates are available for my computer. Firefox runs two instances, one instance runs netflix and youtube, the other runs Facebook, LinkedIn and Manjaro forums at the same time and it works for me. People, please check and test if your can confirm the issue is gone, or if you still have it.

The issue was fixed one month ago in libx11.

1 Like

cool, thanks for the details.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.