firefox 120 on nixos crashes opening discord.com
Categories
(Core :: Widget: Gtk, defect, P2)
Tracking
()
People
(Reporter: m.viey, Unassigned)
References
Details
Attachments
(1 file)
8.33 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
open firefox 120 from a fresh upgraded on sway(wayland) / nixos
Actual results:
Any time I try to open this site. The browser crashes. I tried with FF120 from mac os it works. So maybe an issue with wayland.
Expected results:
Browser should not crash. At least only tab should crashes with an error message.
I tried from command line and reproduces the crash. Last messages appear just before the crash.
$ firefox
[Parent 17930, Main Thread] WARNING: Failed to call GetIdletime(): GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Mutter.IdleMonitor was not provided by any .service files
: 'glib warning', file /build/firefox-120.0/toolkit/xre/nsSigHandlers.cpp:187
** (firefox:17930): WARNING **: 23:26:36.308: Failed to call GetIdletime(): GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Mutter.IdleMonitor was not provided by any .service files
ExceptionHandler::GenerateDump cloned child 18428
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.
Exiting due to channel error.
Exiting due to channel error.
Comment 2•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
|
||
Can you please test latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Also is that a recent regression?
Thanks.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)
Can you please test latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binariesAlso is that a recent regression?
Thanks.
yes it's recent. Just after an upgrade. I tried with new profile too.
I am going to try with nightly nixos version.
Thank you
(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)
Can you please test latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binariesAlso is that a recent regression?
Thanks.
Only beta version is available on nix.
Following your instruction I got an error launching firefox
[mik@labo:~/Downloads/firefox]$ ls
application.ini firefox-bin libfreeblpriv3.so libmozsqlite3.so libsmime3.so platform.ini
browser firefox-bin.sig libgkcodecs.so libmozwayland.so libsoftokn3.so precomplete
crashreporter firefox.sig libipcclientcerts.so libnspr4.so libssl3.so removed-files
crashreporter.ini fix_stacks.py liblgpllibs.so libnss3.so libxul.so Throbber-small.gif
defaults fonts libmozavcodec.so libnssckbi.so libxul.so.sig updater
dependentlibs.list glxtest libmozavutil.so libnssutil3.so minidump-analyzer updater.ini
dmd.py gmp-clearkey libmozgtk.so libplc4.so omni.ja update-settings.ini
firefox icons libmozsandbox.so libplds4.so pingsender vaapitest
[mik@labo:~/Downloads/firefox]$ MOZ_ENABLE_WAYLAND=1 ./firefox -ProfileManager -no-remote
bash: ./firefox: cannot execute: required file not found
[mik@labo:~/Downloads/firefox]$ ./firefox
bash: ./firefox: cannot execute: required file not found
Also I noticed issues with wayland on the page you link in the issue. I am on sway. And mutter is not installed.
I tried this version https://www.mozilla.org/en-US/firefox/all/#product-desktop-nightly
I will try with mutter. But I will not have the time before long. Could you try to reproduce this bug ? I am pretty sure it's related to sway.
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Okay, we'd need a backtrace of the crash. Please try to:
- try to run Firefox with Wayland logging, make it crash and attach the log.txt here:
WAYLAND_DEBUG=1 firefox > log.txt 2>&1
- install firefox debuginfo packages according to your distro
- check if there's anything in coredumpctl from previous crashes:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_coredumpctl_to_get_backtrace - if coredumpctl is missing try to run Firefox under gdb and attach the backtrace here:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_local_debugging
Thanks.
The problem comes from webgl:
https://github.com/NixOS/nixpkgs/issues/269571
https://bugzilla.mozilla.org/show_bug.cgi?id=1861365
Reporter | ||
Comment 10•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #8)
Okay, we'd need a backtrace of the crash. Please try to:
- try to run Firefox with Wayland logging, make it crash and attach the log.txt here:
WAYLAND_DEBUG=1 firefox > log.txt 2>&1
- install firefox debuginfo packages according to your distro
- check if there's anything in coredumpctl from previous crashes:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_coredumpctl_to_get_backtrace- if coredumpctl is missing try to run Firefox under gdb and attach the backtrace here:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_local_debuggingThanks.
I trying this thanks. FYI I tried with webgl disabled work around (see nix github issue) and this resolves the issue.
Reporter | ||
Comment 11•1 year ago
|
||
This is a session with webgl enabled resulting in a crash after login in discrod
Reporter | ||
Comment 12•1 year ago
|
||
I think we could closed this issue as duplicated of https://bugzilla.mozilla.org/show_bug.cgi?id=1861365
Description
•