I have built firefox versions 78.10.1 and 88.0.1 , both have the same issue. They crash immediately when I drag (re-arrange) any tabs. I have a fairly minimal X11 setup, with only the bare X server and the lumina desktop, I didn't install any gnome. Looking at the console output of the crashing firefox: doj@cubicle:~ $ firefox (firefox:7244): Gtk-WARNING **: 17:32:27.606: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. ** Gtk:ERROR:/var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/gnome/32x32/status/image-missing.png: Error opening file /usr/share/icons/gnome/32x32/status/image-missing.png: No such file or directory (g-io-error-quark, 1) Bail out! Gtk:ERROR:/var/tmp/portage/x11-libs/gtk+-3.24.26/work/gtk+-3.24.26/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/gnome/32x32/status/image-missing.png: Error opening file /usr/share/icons/gnome/32x32/status/image-missing.png: No such file or directory (g-io-error-quark, 1) Redirecting call to abort() to mozalloc_abort Indeed my system did not have the file /usr/share/icons/gnome/32x32/status/image-missing.png In fact, my system didn't even have the directory /usr/share/icons/gnome/32x32/status/ I created that directory and copied a png image with the expected filename into it. Now firefox is not crashing any more and I can re-arrange tabs as expected. I assume that somewhere in firefox this path is hardcoded. Maybe the ebuild can install an image into this location?
Created attachment 709935 [details] emerge --info
Update: after submitting the bug, I wanted to add an attachment. Clicking the "Browse..." button had firefox crash again, this time expecting the file: /usr/share/icons/gnome/16x16/status/image-missing.png After I copied a file into that location, I could use the browse file feature. So maybe firefox is expecting this icon in several sizes. On my system I have such icons in the directory /usr/share/icons/Adwaita/
I am not sure this is a firefox problem. Firefox doesn't install these files and they aren't referenced in source code. Like you, I have these files below /usr/share/icons/Adwaita but no /usr/share/icons/gnome/<size>... at all and I have no crashes. A quick search showed https://bugzilla.mozilla.org/show_bug.cgi?id=1472420 -- sadly, the reporter did not mention the software causing the problem.
So it's maybe the GTK framework that wants to look up this icon? And maybe my Gentoo system doesn't correctly set a default path for icon lookups? Looking at https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-icon-theme-name it seems that "Adwaita" is the default gtk (3) icon theme name. https://www.reddit.com/r/voidlinux/comments/b5ngjy/application_crashes_when_attempting_to_open_the/ had the same issue I have.
I'm pretty sure this isn't an issue anymore with updated versions.