Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Segmentation fault 13.2-STABLE
I had this error on one machine, but another identical setup was ok. This was on the update from 117 to 118 I think. The only way I fixed it was to create a fresh profile then shutdown Firefox, copy the session-store dirs/files to the new profile; it took a few attempts but I did get all 300+ tabs back. I still had to reinstall extensions and do other setup. I think it happened because Firefox was running during the upgrade and I ran it for a while before it popped up the "Restart Firefox" dialog. Now I stop fFirefox, run a script to backup the profile, then do pkg upgrade. The upgrade to firefox-119.0_1,2 was successful.for me with this method.
(In reply to Christopher Hall from comment #1) Firefox-199 fails this way even when ~/.mozilla is removed - without any pre-existing configuration.
I think this is the same bug #273291. What do you think?
(In reply to Ken DEGUCHI from comment #3) But in the bug#273291 it doesn't have the "Exiting due to channel error" error.
(In reply to Yuri Victorovich from comment #4) See my attachement dated 2023-09-03 17:48 JST [1] on Bug 273291. The exactly same error appears near the end. [1] https://bz-attachments.freebsd.org/attachment.cgi?id=244607
I think Bug 273291, would be the same as this, is caused by out-of-bound accesses or mis-alignments exposed by any of optimization options implied by -O1 option. But firefox is tooo huge for me to track down. :-( Possibly, the root cause could be in other ports, but as firefox is the only software I've bitten by, so it could be fixed (at least worked around) on firefox side. But not by me, unfortunately. It's beyond my hand.
The complete set of error messages now is: > [Parent 2159, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-119.0/toolkit/xre/nsSigHandlers.cpp:167 > > (firefox:2159): GLib-GObject-CRITICAL **: 20:00:21.413: invalid (NULL) pointer instance > [Parent 2159, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-119.0/toolkit/xre/nsSigHandlers.cpp:167 > > (firefox:2159): GLib-GObject-CRITICAL **: 20:00:21.413: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > [Parent 2159, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-119.0/toolkit/xre/nsSigHandlers.cpp:167 > > (firefox:2159): GLib-GObject-CRITICAL **: 20:00:21.413: invalid (NULL) pointer instance > [Parent 2159, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-119.0/toolkit/xre/nsSigHandlers.cpp:167 > > (firefox:2159): GLib-GObject-CRITICAL **: 20:00:21.413: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory. > console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers has unknown featureId: accessibilityCache" > console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" > console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" > 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. > Segmentation fault
(In reply to Yuri Victorovich from comment #7) Console error messages part of what I've introduced at comment #5 are as follows. Continuously repeated more tham 5 lines are snipped. (firefox:8181): GLib-GObject-CRITICAL **: 16:39:57.432: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers has unknown featureId: accessibilityCache" console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers has unknown featureId: accessibilityCache" console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" console.error: "Experiment next-generation-accessibility-engine-powering-screen-readers-and-other-ats-copy has unknown featureId: accessibilityCache" console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined (snip) console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.error: "update.locale" " file doesn't exist in either the application or GRE directories" console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined (snip) console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined [Parent 8181, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:167 (firefox:8181): GLib-GObject-CRITICAL **: 16:40:08.740: invalid (NULL) pointer instance [Parent 8181, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:167 (firefox:8181): GLib-GObject-CRITICAL **: 16:40:08.740: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed [Parent 8181, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:167 (firefox:8181): GLib-GObject-CRITICAL **: 16:40:08.754: invalid (NULL) pointer instance [Parent 8181, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /wrkdirs/usr/ports/www/firefox/work/firefox-117.0/toolkit/xre/nsSigHandlers.cpp:167 (firefox:8181): GLib-GObject-CRITICAL **: 16:40:08.754: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed 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. [1] + segmentation fault (core dumped) firefox --safe-mode