You are not logged in.

#1 2023-06-22 16:24:48

barraponto
Member
From: Campinas, Brazil
Registered: 2009-10-15
Posts: 34
Website

[SOLVED] Firefox crashes as soon as it opens

Happening to both firefox and firefox-developer-edition.
Running in troubleshoot mode (-safe-mode command line flag) makes it work, but turning off all extensions and hardware acceleration is not enough to make it work in normal mode.
Also, crashes happen on new and pristine profiles as well.

Gnome, Xorg, Nvidia RTX3060. Problem persists on Wayland, also on Kde/Xorg.

Last edited by barraponto (2023-06-22 20:41:53)

Offline

#2 2023-06-22 18:33:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] Firefox crashes as soon as it opens

https://bbs.archlinux.org/viewtopic.php?id=57855
https://wiki.archlinux.org/title/Core_d … _core_dump would probably be a good start, also console output or, well, anything.
If there's nothing else, the tail of a strace might provide some hint.

Offline

#3 2023-06-22 20:18:10

barraponto
Member
From: Campinas, Brazil
Registered: 2009-10-15
Posts: 34
Website

Re: [SOLVED] Firefox crashes as soon as it opens

Firefox output from the command line is kind of useless:

barraponto at archlinux in ~
$ firefox         
ExceptionHandler::GenerateDump cloned child 104600
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
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.
[1]    104249 bus error (core dumped)  firefox

Core dump seems more interesting, thanks for pointing it out: http://ix.io/4yQT

Finally, the package versions are all up to date:

firefox 114.0.2-1
gnome-desktop 1:44.0-1
linux 6.3.9.arch1-1
nvidia 535.54.03-3
xorg-server 21.1.8-1

Offline

#4 2023-06-22 20:29:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] Firefox crashes as soon as it opens

pacman -Qs freetype
pacman -Qikk freetype2

Signal: 7 (BUS)

Is the coredump pattern consistent?
I guess some broken font might cause invalid memory access, on a rare chance, check dmesg/the system journal for IO errors.

Offline

#5 2023-06-22 20:33:31

barraponto
Member
From: Campinas, Brazil
Registered: 2009-10-15
Posts: 34
Website

Re: [SOLVED] Firefox crashes as soon as it opens

output from pacman: http://ix.io/4yQX

yes, pattern is consistent. I'll look into dmesg.

Offline

#6 2023-06-22 20:38:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] Firefox crashes as soon as it opens

freetype2 looks ok,  "strace firefox -f 2>&1 | grep -i font" might show the problematic font.

Offline

#7 2023-06-22 20:41:07

barraponto
Member
From: Campinas, Brazil
Registered: 2009-10-15
Posts: 34
Website

Re: [SOLVED] Firefox crashes as soon as it opens

thanks seth!
i instead tried

sudo paccheck --md5sum --quiet

and it showed some package files with I/O errors.
removing and reinstalling the troublesome packages was enough to get firefox back running!

do you think this spells bad news for my SSD device?

Offline

#8 2023-06-22 20:47:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,501

Re: [SOLVED] Firefox crashes as soon as it opens

https://wiki.archlinux.org/title/SMART

I/O errors can happen on the drive or the bus (though "re-install fixes" doesn't sound like the bus), did you check the dmesg/journal?

Offline

Board footer

Powered by FluxBB