Closed Bug 1614172 Opened 6 years ago Closed 3 years ago

crashes repeatedly, Exiting due to channel error.

Categories

(Core :: Widget: Gtk, defect, P3)

71 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jeffrey.denison, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

$ firefox
ran a few minutes, then crashes.

Actual results:

$ firefox
Gtk-Message: 19:06:50.424: Failed to load module "appmenu-gtk-module"

###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

Exiting due to channel error.
Killed
$

Expected results:

Should not have crashed.

Please follow the steps on http://support.mozillamessaging.com/kb/thunderbird-crashes and report back here. Thanks!

Flags: needinfo?(jeffrey.denison)

Errm, sorry that link should have been: http://support.mozilla.com/kb/Firefox%20crashes

thanks. After one of the crashes it popped up with a dialog box asking whether to refresh Firefox & I clicked yes, which closed all the tabs & dumped my add-ons. That may have solved it. It does seem to still have problems & hang when I'm using youtube with several tabs open. Seems like a memory issue. I will follow the link info.

Flags: needinfo?(jeffrey.denison)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please try to update to latest Firefox at Fedora - 73.0.

Priority: -- → P3

Jeffrey, do you still crash?

Flags: needinfo?(jeffrey.denison)
Whiteboard: [closeme 2021-12-01]

Yes it still crashes. I'm running Fedora 30, Firefox 94.0
thanks
Jeffrey

Flags: needinfo?(jeffrey.denison)

Fedora 30 is an ancient version unsupported for many months with now many unfixed security vulnerabilities. Please run supported versions.

Is Firefox a RPM or Flatpak provided by Fedora? Or did you install it by explicitly downloading it from Mozilla? Can you please provide a crash ID or stacktrace, as requested 20 months ago? Does this also happen in safe mode with a new user profile in Firefox?

Flags: needinfo?(jeffrey.denison)

Thanks. I'd like to update my system but I'm afraid of losing everything, going to have to buy another drive & start over eventually. Was there an issue with Fedora 30 itself & Firefox? I downloaded the binary from Mozilla. I had too much trouble with the others.

How do I provide a crash ID or stacktrace?
thanks

Flags: needinfo?(jeffrey.denison)

Also it does hang very frequently. Locks up my computer & I have to reboot.

If you're ok to use the binary from Mozilla and works for you there's no need to debug it. Fedora 30 is no longer supported so it's difficult to debug Firefox there due to missing debug symbols on Fedora and Mozilla side.

That's what I'm using, but still the same problems. I tried the Flatpak & installing from Discover/dnf but had these issues. I created a new folder in my home for software & put Mozilla's binary there. I figured it must be a memory issue, tried at one point to increase memory in the about page but didn't work.

In my experience every version of Firefox for YEARS has been randomly crashing.
The average time between crashes has varied: some versions crashed every half hour, a very few were stable for days, and I see about about 4 crashes per week.

I download each release as a tarball from from mozilla.org, and I run it from a terminal window so that I can see any diagnostics.
The observable diagnostic messages have changed, but the overall behaviour has not.

I run Firefox in its own Linux CG group, limiting it to 4 GiB RAM and 128 MiB of kernel network buffers, because if I don't, it will start swapping.

It seems like the common theme is crashing out due to memory exhaustion during JIT compilation.

I've submitted MANY crash reports.

bp-214e01a0-4604-4398-accd-1a6e80210928
bp-335440c1-52ad-40c1-9743-ccd8a0210928
bp-f221bf6f-c35b-4207-bf1a-abc650210928
bp-8d897fc7-5d48-4729-842a-cb77a0210928
bp-61cd04ea-62c8-4243-a5d7-01c090210928
bp-0884c738-5679-40ec-913b-1b67b0210928
bp-43289927-5ae5-47b9-853c-3c5680210928
bp-cf48d420-6592-438f-b3b6-768fb0210928
bp-9c231e85-e248-4f44-ad19-d54890210928
bp-bbd5fe69-423c-4e5e-8b13-38a460210928
bp-e66f8421-538f-4393-bbb0-982350210819
bp-6a7bf943-8cad-4321-b6f8-7bb610210813
bp-e74945c5-aa88-402f-89a2-ab80c0210607
bp-1a031998-33c5-4997-9673-d4a800210505
bp-8735ab2a-7c80-4036-b9cf-74d020210412
bp-b7403e8d-225a-4d4f-a696-c86b50210103
bp-abc69664-9542-4971-aced-594c80201231
bp-f6ae73b4-64cd-4c93-95d5-c2dac0201228
bp-5c401f46-ea82-4c1d-91c1-718a50201214
bp-bd6e583f-eaf1-4dd8-8103-aaa620201012
bp-a1998c2b-3d02-4560-8650-4f0710201012
bp-4833428b-df50-4eef-b8d6-e81c00201012
bp-5d57accd-aa03-4f74-84ec-57d230201012
bp-c9ff636c-12b6-424f-84e6-1d4950200917
bp-ea255756-692d-436c-9dd8-730090200906
bp-e7b8913c-203d-4864-9ff2-a02ce0200629

I have a some essential security add-ons:

  • FoxyProxy Standard
  • AdBlockPlus
  • Firefox Multi-Account Containers;
  • Open external links in a container

I use these additional security plugins, as belt-and-braces:

  • Facebook container (NB: I don't use Facebook; this is just to make SURE they can't track me)
  • Twitter container (ditto)
  • Google container (NB: I use a Google container within Firefox Multi-Account Containers; this is a catch-all for anything I've missed)

(I could probably turn them off as their functionality is - theoretically - covered by ABP and FMAC.)

I also use a few plug-ins to improve my experience. They could certainly be turned off for testing.

  • Stylus (CSS overlay)
  • FeedBro (RSS Reader)
  • HTTPS Everywhere

I would add that lately it's simply quit, without generating a crash report:

(firefox:5472): GLib-GObject-WARNING **: /build/glib2.0-XBSKIw/glib2.0-2.48.2/./gobject/gsignal.c:3487: signal name 'load_complete' is invalid for instance '0x7f5d469625b0' of type 'MaiAtkType139'
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.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Killed

I'm running Ubuntu 16.04.2 LTS.
If that's not supported, which version of Firefox do I need to revert to where it is supported?

Same problem here on Debian 11.2 bullseye, after Update of firefox-esr to 91.5.0esr-1~deb11u1
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.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

Now it has one message more:
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.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
CPU time limit exceeded

Whiteboard: [closeme 2021-12-01]

Still crashing/exiting at random times

I can reproduce this without fail by selecting the "Rules" option on the new Cloudflare page. Here's a video of me doing exactly that

I ran Firefox at the terminal to see perhaps... what could be causing this and here's the result:

dejaydev@homepc:~$ firefox 
ExceptionHandler::GenerateDump cloned child 106814
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
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.
Exiting due to channel error.
dejaydev@homepc:~$ Exiting due to channel error.

I've also used the native reporter, here's a link!

This is also me: https://crash-stats.mozilla.org/report/index/6864c30b-ac77-43e1-bf7e-760430220216

As noted by the details above, I am on Firefox/97.0 - installed from the Ubuntu Impish (21.10) repo.

Please let me know if I should just make my own bug report, I am happy to help however I can.

Since last update to firefox-esr-91.6.0, I got some tabs that crashes as they load (e.g my bank homepage https://www.caisse-epargne.fr/ ), or when my mouse cursor hovers them (e.g. when hovering results from a youtube search results page), while they used to work flawlessly.

Trying to open my bank homepage always ends in segmentation fault, even in safe mode, with all add-ons disabled.


(firefox:15900): Gtk-WARNING **: 14:00:31.182: Theme parsing error: gtk.css:63:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(firefox:15900): Gtk-WARNING **: 14:00:31.182: Theme parsing error: gtk.css:73:35: The :prelight pseudo-class is deprecated. Use :hover instead.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=7.0142) Segmentation fault 

Using Xfce desktop, there's no Wayland on my system.

Can you go to about:crashes and paste the relevant crash id? Thanks.

Flags: needinfo?(m.krumpf)

about:crashes gives me invalid url page; It does not even appear in the about:about list :-s

After checking about:buildconfig, it seems my firefox gets compiled with --disable-crashreporter option (I'm using Gentoo, everything gets compiled from source, but I find it weird that crash reporter is disabled).

If there's any other information I can provide, please lemme know.

Flags: needinfo?(m.krumpf)

Can you try to reproduce with an official build from https://www.mozilla.org/en-US/firefox/linux/ (for stable) or https://nightly.mozilla.org (for nightly)? That should have crash reporter, debug symbols, etc.

I'm not an expert on Gentoo, if it builds with debug symbols and creates core dumps you might be able to do something like coredumpctl -r gdb or so?

Flags: needinfo?(m.krumpf)

Installed and tested firefox-bin esr 91.6.0 (which is the binary provided by Mozilla), and no crashes.
It works, but it leaves me kinda puzzled : comparing my buildconfig & Mozilla's one, it seems Mozilla's is using more aggressive flags (like -O3).
Anyway, I suppose there's something that went wrong when I compiled latest version (I even recompiled it after crashes happened), or it could be an issue with Gentoo ebuild.
I'll keep using mozilla's binary for now, thank for help.

Flags: needinfo?(m.krumpf)

Update : Someone on gentoo forums suggested my issue was due to dependency libwebp, because I compiled it using Clang+ThinLTO.
After recompiled libwebp without LTO, the compiled firefox worked normally.

Thanks for checking and glad it's fixed on your end! Seems like not a Firefox bug after all, so closing. Thanks for reporting again :)

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.