I had Firefox 42 crashing recently on file upload attempts. After debugging it through gdb I found that the crash is caused by the oxygen-gtk theme in KDE. It will also crash Firefox 43 and I have found two workarounds for it: use other theme in KDE for GTK apps or keep using Firefox 40.
There have been lots of crashes reported for different GTK-based software with the oxygen-gtk theme:
- Bug 985986 - X_CreatePixmap: BadAlloc Crash with oxygen-gtk
- Eclipse crashes with 'oxygen-gtk' theme enabled
- Eclipse and GIMP crash at start for oxygen-gtk
There is a chance that this is fixed in later versions of the theme (I'm currently on KDE 4.10) but I have not tested it yet and probably have no time for it before upgrading my Slackware installation.
As per comments, I have tried to rebuild oxygen-gtk. I obtained source from here and rebuilt it with
ENABLE_INNER_SHADOWS_HACK 0 and invoked
Firefox 46 just crashes:
Program received signal SIGSEGV, Segmentation fault. 0x00007fffded1a283 in Oxygen::render_frame(_GtkThemingEngine*, _cairo*, double, double, double, double) () from /usr/lib64/gtk-3.0/3.0.0/theming-engines/liboxygen-gtk.so
The crash happens on other (older) systems too:
Firefox 40 still works with the updated libraries tho.
I also tried to use oxygen-gtk latest source, from here, but was unable to build it due to unmet dependencies:
-- checking for module 'gtk+-3.0>=3.10.0' -- package 'gtk+-3.0>=3.10.0' not found