Description of problem: Using Fedora 22 with Mate Desktop it seems Firefox browser is crashing a lot.. crashes happens multiple times per day, but quite randomly. adobe flash-plugin is installed. Version-Release number of selected component (if applicable): firefox-40.0.3-1.fc22.x86_64 gtk3-3.16.6-1.fc22.x86_64 flash-plugin-11.2.202.508-release.x86_64 How reproducible: Crashes happen randomly, but quite often.. usually multiple times per day. Steps to Reproduce: 1. Use firefox and browse the web. Actual results: Firefox crashes. Expected results: Firefox doesn't crash. Additional info: example crash in /var/log/messages: Sep 3 00:58:56 localhost kernel: do_trap: 198 callbacks suppressed Sep 3 00:58:56 localhost kernel: traps: firefox[2937] trap stack segment ip:7f1d8cc97fb0 sp:7ffd70e228e0 error:0 in libgtk-3.so.0.1600.6[7f1d8c912000+6da000] Sep 3 00:58:56 localhost audit: <audit-1701> auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=2937 comm="firefox" exe="/usr/lib64/firefox/firefox" sig=7 Sep 3 00:58:59 localhost audit: <audit-1701> auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined _r:mozilla_plugin_t:s0-s0:c0.c1023 pid=3598 comm="Chrome_ChildThr" exe="/usr/lib64/firefox/plugin-container" sig=11 Sep 3 00:58:59 localhost kernel: Chrome_ChildThr[3598]: segfault at 0 ip 000055645838fd4a sp 00007f564f543470 error 6 in plugin-container[556458388000+39000] /var/log/audit/audit.log: type=ANOM_ABEND msg=audit(1441231136.272:592): auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=2937 comm="firefox" exe="/usr/lib64/firefox/firefox" sig=7 type=ANOM_ABEND msg=audit(1441231139.596:593): auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 pid=3598 comm="Chrome_ChildThr" exe="/usr/lib64/firefox/plugin-container" sig=11
If you open "about:crashes" page, can you post here links to the latest crashes? Also please attach data from "about:support" page. Thanks!
Here's four of the latest crashes: https://crash-stats.mozilla.com/report/index/bp-c82dba48-0b79-438c-a1e1-5a2b72150902 https://crash-stats.mozilla.com/report/index/bp-8418f4de-74b5-4280-9761-fa7682150902 https://crash-stats.mozilla.com/report/index/bp-7c62d25a-664f-4185-800c-2d8942150902 https://crash-stats.mozilla.com/report/index/bp-bea18d86-7d36-45e6-83b1-6cd282150901 I'll attach about:support info.
Created attachment 1069720 [details] firefox 40 about:support raw data firefox 40 about:support raw data
Created attachment 1069721 [details] firefox 40 about:support text firefox 40 about:support text
Unfortunately the crash stats are missing debuginfos, because of broken debugsymbols upload. Do you mind to run Firefox in gdb and attach a backtrace when it crashes? See http://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products for details.
OK. I'll try running firefox in gdb, and get back to you.
Created attachment 1072074 [details] firefox crash gdb backtrace
OK, crash backtrace attached. I can post another later, if needed.
Created attachment 1072364 [details] another firefox crash gdb backtrace
Created attachment 1072718 [details] third firefox crash gdb backtrace
OK, 3x gdb backtraces submitted. Is there anything else I should try/do? Thanks!
crashes in gtk_socket_filter_func () - looks related to the flash plugin. If you run flash - is there a process named "plugin-container"? Is it supposed to run flash out of the main Firefox process.
Yes, there is plugin-container when I run flash content on firefox: /usr/lib64/firefox/plugin-container /usr/lib64/flash-plugin/libflashplayer.so -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 3087 true plugin
A bit different crash now: Program received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7fffd9cfe700 (LWP 6256)] 0x00007ffff7bcfa2f in __libc_send (fd=156, buf=buf@entry=0x7fff99842000, n=n@entry=53, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/x86_64/send.c:31 31 ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, (gdb) It's weird that buggy flash-plugin is able to crash whole firefox.. even when flash-plugin is running in plugin-container. I'll attach gdb backtrace aswell.
Created attachment 1073719 [details] fourth firefox crash gdb backtrace
(and yes I can see the latest crash is not related to plugin-container, at least not directly, but most of the crashes seem to be related to plugin-container..)
Just got another one of these: Program received signal SIGPIPE, Broken pipe. [Switching to Thread 0x7fffd9cfe700 (LWP 9985)] 0x00007ffff7bcfa2f in __libc_send (fd=162, buf=buf@entry=0x7fff9e76c000, n=n@entry=37, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/x86_64/send.c:31 31 ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, (gdb) For some reason firefox has recently been crashing a lot for me.. many times per day..
I think I'll open another bug about the __libc_send / INLINE_SYSCALL issue. Let's keep this bug open about the original plugin-container crash. I think I'll also submit these issues to upstream mozilla bugzilla.
Upstream mozilla bug about the flash plugin-container / gtk_socket_filter_func crash: https://bugzilla.mozilla.org/show_bug.cgi?id=1205199
Just got the original crash once again, when trying to click play on a flash video on a web page: Program received signal SIGBUS, Bus error. gtk_socket_filter_func (gdk_xevent=0x7fffffffc1e0, event=0x7fffb44cb790, data=0x7fff9ee76030) at gtksocket.c:1371 1371 if (private->plug_widget) (gdb) dmesg: [58832.569404] Chrome_ChildThr[10319]: segfault at 0 ip 000055e2d93a4d4a sp 00007f7d5f343470 error 6 in plugin-container[55e2d939d000+39000] I'll attach full GDB backtrace.
Created attachment 1073927 [details] fifth firefox crash gdb backtrace
Btw this crash seems to be specific to Fedora build of Firefox. When I run the firefox binary provided by Mozilla it's stable - no crashes.
For the last two weeks I've been running Mozilla build/binary of Firefox 40, and that seems to be very stable (no crashes so far).. While the Fedora build of Firefox crashes multiple times per day.. Any suggestions what to try next?
It crashes in gtk3 build (Mozilla is still gtk2) in plugin handler code. May be fixed when Mozilla also switch to Gtk3, in FF43 or so.
I'm currently running F22 build of Firefox 41.0.2, and it crashes a lot too..
Interesting comment on the upstream mozilla bugzilla about this plugin-container crashing firefox -issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1205199#c7 "on one of linuxfromscratch pages regarding firefox, there's a note >=firefox-40 needing to be built with bundled cairo, due to unspecified crashes. One of Fedora bugs mentions something similar in the passing (and states plans of switching to bundled cairo too)..."
(In reply to Pasi Karkkainen from comment #27) > Interesting comment on the upstream mozilla bugzilla about this > plugin-container crashing firefox -issue: > https://bugzilla.mozilla.org/show_bug.cgi?id=1205199#c7 > > "on one of linuxfromscratch pages regarding firefox, there's a note > >=firefox-40 needing to be built with bundled cairo, due to unspecified > crashes. > One of Fedora bugs mentions something similar in the passing (and states > plans of switching to bundled cairo too)..." Fedora Firefox is already built with bundled cairo because of the stability issues. I see the gtk3 crashes too (usually once a day). I'll try to look at it.
Oh, good to hear it's not only me who is seeing the crashes :) Btw at least for me going to paypal.com website triggers the crash quite often.. Thanks for looking into this!
I have the same crashes, in firefox 42.0, in fedora 19, most recently about one hour ago. Here is a link to the relevant about:crashes entry https://crash-stats.mozilla.com/report/index/dcdf0a86-f0fe-4ef3-a933-8443b2151204 The message in dmesg is the same type as the one Pasi Karkkainen has reported, that is: Thu Dec 3 16:49:34 2015: Chrome_ChildThr[17288]: segfault at 0 ip 000000000040c28f sp 00007fb4bb6fe430 error 6 in plugin-container[400000+65000] Some additional tidbits that may or may not be useful: 1. I do not know any particular website causing the crash 2. I was not actively browsing when the crash happened 3. Out of multiple instances of firefox running (each instance runs in a separate profile, of course), there is only ONE specific instance/profile that has this problem. 4. Once the crash happens, a restart will soon again crash, UNLESS I clean the cache (remove cache2/entries/*, to be specific) . With cache cleaning, firefox will usually last for a day or so (varies). 5. The profile that regularly crashes has the most tabs of any of the instances I have running, 1314 at last count, but not sure that is relevant. Pasi, how many tabs do you have when this happens? 6. I always use the "Don't load tabs until selected" setting, or "lazy loading" as some call it. I hope the above may provide some clues.
Reik: Thanks for the "me too" :) Yes, I have a *lot* of tabs open, in many windows.. that might be related, yes. I've noticed this particular URL will crash my firefox *often*: https://www.paypal.com/signin/?country.x=FI&locale.x=en_FI Most of the times when I go to that url, I get a firefox crash..
Pasi: I tried your paypal link in one of my other firefox instances. It warps from the Finnoish site to the US site and I can login in, No crash. This instance has 5 windows and 304 tabs at the moment (note to self: profile1).
Executive summary: Was able to get ebay/paypal to trigger the bug by making a purchase. Long version: I split my previously mentioned 1312 tab session into two unequal halves (13 + 12 windows), one with 973 tabs and the other with 369 tabs. (I used the session manager extension, loaded full session, quickly closed about half the windows, saved the session, repeat from full session, with the other half of the windows being closed, save again. Then I could run each half session at will). After this, 1st half ran stable for a long time, and so did 2nd half. BUT then something very interesting happened. I added a tab to buy something at ebay, and I used paypal to pay. At the exact moment I pressed BUY, firefox crashed. So, yes, I think we have confirmation that, just as Pasi has said above, that paypal/ebay has something to do with triggering the bug. Here is the crash report: https://crash-stats.mozilla.com/report/index/68609338-dd1e-4f07-8ee9-71e1f2151223 In this crash, there was no error messages about the plugin container, as far as I could see in my xterm where I had started firefox. I copied all error messages (lots of them) and searched for the word plugin, no matches.
It seems F22 build of latest Firefox 43 crashes aswell when plugin-container/flash crashes.. so the bug is still in gtk3 build of Firefox 43.
Pasi, do you know if it is possible to get a relevant firefox 43.0 (say) that was compiled with cc -g (or whatever they call it these days) debug options set? Then we could look at a coredump with gdb and perhaps see what caused the segfault? It appears that nobody is interested in analyzing the crash data we already sent out...this stuff is a bit beyond my capability.
(In reply to Reik Red from comment #33) > After this, 1st half ran stable for a long time, and so did 2nd half. BUT > then something very interesting happened. I added a tab to buy something at > ebay, and I used paypal to pay. At the exact moment I pressed BUY, firefox > crashed. > > So, yes, I think we have confirmation that, just as Pasi has said above, > that paypal/ebay has something to do with triggering the bug. > > Here is the crash report: > > https://crash-stats.mozilla.com/report/index/68609338-dd1e-4f07-8ee9- > 71e1f2151223 Folks, there are various crash reports together. This one is clear, it's crash here: http://hg.mozilla.org/releases/mozilla-release/annotate/e2f9a0ed50bc/security/manager/ssl/nsSDR.cpp#l309 Kai, any idea how to handle this one? Thanks.
Btw now there has been activity in the upstream Mozilla bugzilla, and it seems the issue for the Firefox crashes has been identified/fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1205199
Added to Firefox-44.0.2-3 for Fedora.
firefox-44.0.2-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1d8f67dc76
firefox-44.0.2-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8794abe899
firefox-44.0.2-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8794abe899
I installed firefox-44.0.2 on fedora fc19/x64. So far so good, after about 24 hrs. There have been no crashes in the previously crash-prone profile and set of tabs. What are you seeing, Pasi?
firefox-44.0.2-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1d8f67dc76
firefox-44.0.2-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
firefox-44.0.2-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.