Open Bug 1795663 Opened 3 years ago Updated 2 years ago

[sway][nvidia] Firefox randomly (and unfrequently) closes with "Exiting due to channel error"

Categories

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

Firefox 105
defect

Tracking

()

UNCONFIRMED

People

(Reporter: prathamIN, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Attached file mozconfig

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

Steps to reproduce:

  1. Install firefox 105.0
  2. Use it for a while (could be hours, could be days), moving tabs around, opening extension popups, ...

Sway - commit 6e023257e8e9a6673fc3ff69048cdaf8baa70044
Nvidia - 520.56.06
egl-wayland 1.1.11

Actual results:

Firefox randomly exits with "Exiting due to channel error." and no extra output. This happens when a UI-related action is performed like moving a tab or right clicking.

One time it exited when I had ~15 tabs open and shifting them around and another time it happened when I right clicked on a link, pressed "Save Link as" and right clicked again before the save popup showed up

Neither of these are reproducible though

Log with WAYLAND_DEBUG output

[1678774.573] wl_callback@58.done(7291023)
[1678774.577]  -> wl_surface@42.frame(new id wl_callback@58)
[1678774.580]  -> wl_surface@42.commit()
[1678774.598] wl_callback@110.done(7291023)
[1678774.602]  -> wl_surface@42.frame(new id wl_callback@110)
[1678774.605]  -> wl_surface@42.commit()
[1678774.618] wl_callback@105.done(7291023)
[1678774.621]  -> wl_surface@42.frame(new id wl_callback@105)
[1678774.623]  -> wl_surface@42.commit()
[1678774.998]  -> wl_compositor@5.create_surface(new id wl_surface@80)
[1678775.008]  -> xdg_wm_base@26.create_positioner(new id xdg_positioner@108)
[1678775.012]  -> xdg_positioner@108.set_size(419, 26)
[1678775.015]  -> xdg_positioner@108.set_anchor_rect(256, 30, 1, 1)
[1678775.018]  -> xdg_positioner@108.set_offset(0, 21)
[1678775.021]  -> xdg_positioner@108.set_anchor(5)
[1678775.024]  -> xdg_positioner@108.set_gravity(8)
[1678775.027]  -> xdg_positioner@108.set_constraint_adjustment(63)
[1678775.030]  -> xdg_wm_base@26.get_xdg_surface(new id xdg_surface@79, wl_surface@80)
[1678775.033]  -> xdg_surface@79.get_popup(new id xdg_popup@82, xdg_surface@44, xdg_positioner@108)
[1678775.036]  -> xdg_positioner@108.destroy()
[1678775.039]  -> wl_surface@80.commit()
[1678775.573]  -> wl_surface@42.attach(wl_buffer@109, 0, 0)
[1678775.581]  -> wl_surface@42.damage(0, 0, 1528, 1628)
[1678775.584]  -> wl_surface@42.commit()
[1678775.587]  -> wl_display@1.sync(new id wl_callback@76)
[1678775.672]  -> xdg_popup@82.destroy()
[1678775.682]  -> xdg_surface@79.destroy()
[1678775.687]  -> wl_surface@80.destroy()
[1678775.693] discarded [unknown]@80.[event 0](0 fd, 12 byte)
[1678775.699] discarded [unknown]@82.[event 0](0 fd, 24 byte)
[1678775.700] discarded [unknown]@79.[event 0](0 fd, 12 byte)
[1678775.703] wl_display@1.delete_id(108)
[1678775.707] wl_callback@76.done(27447)
[1678775.706] wl_display@1.delete_id(76)
[1678775.716] wl_buffer@57.release()
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.
Exiting due to channel error.
Exiting due to channel error.

Expected results:

Firefox should continue running as normal

Blocks: wayland-sway
Priority: -- → P3

Happened again today (firefox 106.0.4, same egl-wayland and nvidia version) after not happening for a couple of weeks, again, not reproducible at all.

  • Launched sway
  • Launched firefox as the first program, from bemenu
  • Ctrl + Shift + P, new private window opened to the right
  • Opened phoronix.com in the normal left window and yewtu.be in the right window
  • Searched something on yewtu.be
  • Crashed (not sure whether both the pages had fully loaded or not at the time of crash)

Log with WAYLAND_DEBUG=1 and MOZ_LOG=ObserverService:5. Attached the file to the report as exit.log

Attached file exit.log
Attached file about-support.txt
Hi, I'm having the same issue on Arch Linux for quite a while now. I'm just using the official `firefox` package provided by Arch Linux. ``` $ LC_ALL=C journalctl _COMM='Web Content' Nov 13 02:55:08 arch firefox.desktop[112282]: Exiting due to channel error. Nov 13 02:55:08 arch firefox.desktop[112248]: Exiting due to channel error. -- Boot cf7de8217ba64e1e9801a5d0f0bbe96f -- Nov 15 08:40:08 arch firefox.desktop[31132]: Exiting due to channel error. Nov 15 08:40:08 arch firefox.desktop[31400]: Exiting due to channel error. Nov 15 08:40:08 arch firefox.desktop[31439]: Exiting due to channel error. Nov 15 10:36:36 arch firefox.desktop[43560]: Exiting due to channel error. Nov 15 10:36:36 arch firefox.desktop[43697]: Exiting due to channel error. Nov 15 10:36:36 arch firefox.desktop[43341]: Exiting due to channel error. -- Boot a4d8338d01b04edd89fec162def79ab4 -- Nov 18 01:21:42 arch firefox.desktop[618566]: Exiting due to channel error. Nov 18 01:21:42 arch firefox.desktop[617210]: Exiting due to channel error. Nov 18 01:21:42 arch firefox.desktop[618438]: Exiting due to channel error. -- Boot 8561d05abadf447fa15436a8ccfad739 -- Nov 18 01:50:11 arch firefox.desktop[21586]: Exiting due to channel error. Nov 18 01:50:11 arch firefox.desktop[21663]: Exiting due to channel error. Nov 18 01:50:11 arch firefox.desktop[18848]: Exiting due to channel error. -- Boot ec14b1f9577c46529eb4fc3b5bc65083 -- Nov 25 11:27:11 arch firefox.desktop[96169]: Exiting due to channel error. Nov 25 12:31:28 arch firefox.desktop[100448]: Exiting due to channel error. Nov 25 12:31:28 arch firefox.desktop[100293]: Exiting due to channel error. Nov 25 12:31:28 arch firefox.desktop[100451]: Exiting due to channel error. -- Boot a0ff76385a434a6cb130b8f093542fef -- Nov 25 22:05:35 arch firefox.desktop[108965]: Exiting due to channel error. Nov 25 22:05:35 arch firefox.desktop[108901]: Exiting due to channel error. Nov 25 22:05:35 arch firefox.desktop[108858]: Exiting due to channel error. Nov 25 22:07:32 arch firefox.desktop[109855]: Exiting due to channel error. Nov 25 22:07:32 arch firefox.desktop[109963]: Exiting due to channel error. Nov 25 22:07:32 arch firefox.desktop[109923]: [GFX1-]: Receive IPC close with reason=AbnormalShutdown Nov 25 22:07:32 arch firefox.desktop[109923]: Exiting due to channel error. -- Boot 66e00aa32983477c8303fd58838dadb9 -- Nov 27 13:54:25 arch firefox.desktop[127383]: Exiting due to channel error. Nov 27 13:54:25 arch firefox.desktop[136492]: Exiting due to channel error. Nov 27 13:54:25 arch firefox.desktop[132997]: Exiting due to channel error. Nov 27 15:30:11 arch firefox.desktop[224225]: Exiting due to channel error. Nov 27 15:30:11 arch firefox.desktop[224275]: Exiting due to channel error. Nov 27 15:30:11 arch firefox.desktop[224311]: Exiting due to channel error. ``` Some more details I could think of: - I'm *not* on a Wayland session, just a regular Xorg session. - My GPU is from NVIDIA as well (GTX 660), but I'm using the 470.161.03 drivers instead. - I'm using [`nvidia-vaapi-driver`](https://github.com/elFarto/nvidia-vaapi-driver) to make Firefox use my GPU to decode h264 content. - My `about:crashes` is empty. - My `about:support`:

Hi, I'm having the same issue on Arch Linux for quite a while now. I'm just using the official firefox package provided by Arch Linux.

$ LC_ALL=C journalctl _COMM='Web Content'
Nov 13 02:55:08 arch firefox.desktop[112282]: Exiting due to channel error.
Nov 13 02:55:08 arch firefox.desktop[112248]: Exiting due to channel error.
-- Boot cf7de8217ba64e1e9801a5d0f0bbe96f --
Nov 15 08:40:08 arch firefox.desktop[31132]: Exiting due to channel error.
Nov 15 08:40:08 arch firefox.desktop[31400]: Exiting due to channel error.
Nov 15 08:40:08 arch firefox.desktop[31439]: Exiting due to channel error.
Nov 15 10:36:36 arch firefox.desktop[43560]: Exiting due to channel error.
Nov 15 10:36:36 arch firefox.desktop[43697]: Exiting due to channel error.
Nov 15 10:36:36 arch firefox.desktop[43341]: Exiting due to channel error.
-- Boot a4d8338d01b04edd89fec162def79ab4 --
Nov 18 01:21:42 arch firefox.desktop[618566]: Exiting due to channel error.
Nov 18 01:21:42 arch firefox.desktop[617210]: Exiting due to channel error.
Nov 18 01:21:42 arch firefox.desktop[618438]: Exiting due to channel error.
-- Boot 8561d05abadf447fa15436a8ccfad739 --
Nov 18 01:50:11 arch firefox.desktop[21586]: Exiting due to channel error.
Nov 18 01:50:11 arch firefox.desktop[21663]: Exiting due to channel error.
Nov 18 01:50:11 arch firefox.desktop[18848]: Exiting due to channel error.
-- Boot ec14b1f9577c46529eb4fc3b5bc65083 --
Nov 25 11:27:11 arch firefox.desktop[96169]: Exiting due to channel error.
Nov 25 12:31:28 arch firefox.desktop[100448]: Exiting due to channel error.
Nov 25 12:31:28 arch firefox.desktop[100293]: Exiting due to channel error.
Nov 25 12:31:28 arch firefox.desktop[100451]: Exiting due to channel error.
-- Boot a0ff76385a434a6cb130b8f093542fef --
Nov 25 22:05:35 arch firefox.desktop[108965]: Exiting due to channel error.
Nov 25 22:05:35 arch firefox.desktop[108901]: Exiting due to channel error.
Nov 25 22:05:35 arch firefox.desktop[108858]: Exiting due to channel error.
Nov 25 22:07:32 arch firefox.desktop[109855]: Exiting due to channel error.
Nov 25 22:07:32 arch firefox.desktop[109963]: Exiting due to channel error.
Nov 25 22:07:32 arch firefox.desktop[109923]: [GFX1-]: Receive IPC close with reason=AbnormalShutdown
Nov 25 22:07:32 arch firefox.desktop[109923]: Exiting due to channel error.
-- Boot 66e00aa32983477c8303fd58838dadb9 --
Nov 27 13:54:25 arch firefox.desktop[127383]: Exiting due to channel error.
Nov 27 13:54:25 arch firefox.desktop[136492]: Exiting due to channel error.
Nov 27 13:54:25 arch firefox.desktop[132997]: Exiting due to channel error.
Nov 27 15:30:11 arch firefox.desktop[224225]: Exiting due to channel error.
Nov 27 15:30:11 arch firefox.desktop[224275]: Exiting due to channel error.
Nov 27 15:30:11 arch firefox.desktop[224311]: Exiting due to channel error.

Some more details I could think of:

  • I'm not on a Wayland session, just a regular Xorg session.
  • My GPU is from NVIDIA as well (GTX 660), but I'm using the 470.161.03 drivers instead.
  • I'm using nvidia-vaapi-driver to make Firefox use my GPU to decode h264 content.
  • My about:crashes is empty.
  • My about:support is attached to this thread.
Attached file sway.log
Attached file firefox-sway.log.gz

Got another crash but this time captured the corresponding sway log output aswell

Okay, my issue is probably unrelated to this. In my case, Firefox locks up (as opposed to exiting itself) randomly, and only after I inevitably terminate its process that I get the Exiting due to channel error messages.

So I think it makes more sense to open a new ticket for my issue. Sorry for the noise here.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: