I compile my own packages with portmaster for AMD64. firefox-esr was working great for me until the bump to 78 in the 2020Q3 ports branch. firefox-esr builds fine, however when running it, I get a segmentation fault. This is on 12.2-RELEASE. All of my ports are up to date.
DISPLAY=:9999 firefox will complaint the display is bad and exit as it should.
What does not:
Both segmentation fault.
Have this on two systems. I rebuilt the package with less options and had the same thing.
What should I try next?
www/firefox also behaves the same way.
Check bug 243252. Without stacktrace and messages leading up to crash it's impossible to guess. There'd be a lot of noise on gecko@ list if this was a common issue.
I can't reproduce inside 12.2 amd64 jail with locally built packages. pkg.freebsd.org provides packages built on 12.1 for both 12.1 and 12.2 but it's rarely an issue outside of *-kmod ports.
Thanks for getting back to me. I didn't see anything on that thread.
When I run firefox, I get this.
I get the everything before the Segmentation fault, the GUI comes up asking if I want to start it in safe mode because it crashed before. I click safe mode and it segfaults.
Extension error: Error while loading 'jar:file:///email@example.com!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:570 :: readJSON/</<@resource://gre/modules/Extension.jsm:570:20
Extension error: Error while loading 'jar:file:///usr/local/lib/firefox/browser/omni.ja!/chrome/browser/search-extensions/twitter/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:570 :: readJSON/</<@resource://gre/modules/Extension.jsm:570:20
(Safe mode dialogue here)
I think I turned off core dumps. Should I enable that then get the core dump?
I have a 12.1 jail (albeit, built from source) that I just tried the upstream Firefox package with. firefox --headless segfaults in the jail on the 12.2 kernel (also built from source).
I've updated firefox to 83 in ports r554921. Check if it helps.
Does it crash with a new profile or a separate HOME directory?
I found the bug!!!!!!!!
I spent hours and hours and hours on this one...
If you install dante, Firefox segfaults and dies.
Can you reproduce this?
If I install dante, firefox fails. Remove, it's fine. Upstream or locally built Firefox, doesn't matter.
Can anyone else confirm this behavior?
(In reply to Teran McKinney from comment #7)
firefox works for me even if dante is installed (I haven't tried firefox-esr)