Bug 1860451 - firefox crashes (wayland)
Summary: firefox crashes (wayland)
Keywords:
Status: CLOSED DUPLICATE of bug 1888920
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-24 16:00 UTC by Bill Nottingham
Modified: 2020-10-27 07:29 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-07-31 10:20:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
WAYLAND_DEBUG log (2.85 MB, text/plain)
2020-10-13 09:21 UTC, Tomeu Vizoso
no flags Details

Description Bill Nottingham 2020-07-24 16:00:56 UTC
Description of problem:

Jul 24 11:50:15 nostromo gnome-shell[2818]: WL: unknown object (3857049061), message get_subsurface(noo)
Jul 24 11:50:15 nostromo gnome-shell[2818]: WL: error in client communication (pid 4579)
Jul 24 11:50:15 nostromo firefox.desktop[4579]: ExceptionHandler::GenerateDump cloned child 78277
Jul 24 11:50:15 nostromo firefox.desktop[4579]: ExceptionHandler::SendContinueSignalToChild sent continue signal to child
Jul 24 11:50:15 nostromo firefox.desktop[78277]: ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Jul 24 11:50:15 nostromo firefox[4579]: Error 22 (Invalid argument) dispatching to Wayland display.
Jul 24 11:50:16 nostromo firefox.desktop[6835]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4837]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4821]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4993]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4803]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4846]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4815]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4795]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4786]: Exiting due to channel error.
Jul 24 11:50:16 nostromo firefox.desktop[4745]: [GFX1-]: Receive IPC close with reason=AbnormalShutdown
Jul 24 11:50:16 nostromo firefox.desktop[4745]: Exiting due to channel error.


Version-Release number of selected component (if applicable):

firefox-78.0.2-1.fc32.x86_64

How reproducible:

Regularly

Steps to Reproduce:
1. Usually seems to involve either bluejeans or google meet in a browser tab
2. Be on a call
3. Whoops, there went the browser

Additional info:

Comment 1 Martin Stransky 2020-07-25 09:35:05 UTC
Please try to enable webrender as a workaround (see https://www.ghacks.net/2019/05/20/firefox-webrender-rollout-begins-with-the-release-of-firefox-67/)
This should be fixed in Firefox 79.

Comment 2 Bill Nottingham 2020-07-29 15:56:47 UTC
Still seeing at least some crashes:

Jul 29 11:45:08 nostromo firefox.desktop[3779]: [GFX1-]: Updating unknown shared surface: 38654707027
Jul 29 11:45:08 nostromo firefox.desktop[3779]: IPDL protocol error: Handler returned error code!
Jul 29 11:45:08 nostromo firefox.desktop[3779]: ###!!! [Parent][DispatchAsyncMessage] Error: PWebRenderBridge::Msg_UpdateResources Processing error: message was deserialized, but the handler returned false (indicating failure)
Jul 29 11:53:10 nostromo gnome-shell[2818]: WL: error in client communication (pid 3779)
Jul 29 11:53:10 nostromo firefox[3779]: Lost connection to Wayland compositor.
Jul 29 11:53:13 nostromo gnome-shell[2818]: Window manager warning: last_focus_time (3957401) is greater than comparison timestamp (3957400).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW>
Jul 29 11:53:13 nostromo gnome-shell[2818]: Window manager warning: last_user_time (3957401) is greater than comparison timestamp (3957400).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.>
Jul 29 11:53:13 nostromo gnome-shell[2818]: Window manager warning: W11 appears to be one of the offending windows with a timestamp of 3957401.  Working around...
Jul 29 11:53:16 nostromo firefox.desktop[5994]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4207]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4080]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4094]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4007]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[3998]: [GFX1-]: Receive IPC close with reason=AbnormalShutdown
Jul 29 11:53:16 nostromo firefox.desktop[3998]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[3935]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4026]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4039]: Exiting due to channel error.
Jul 29 11:53:16 nostromo firefox.desktop[4056]: Exiting due to channel error.

Comment 3 Martin Stransky 2020-07-30 07:31:08 UTC
Please try new builds from https://koji.fedoraproject.org/koji/taskinfo?taskID=48093962

Comment 4 Martin Stransky 2020-07-30 07:33:01 UTC
You can also use firefox-x11 package as a workaround.

Comment 5 Martin Stransky 2020-07-31 10:20:24 UTC
Should be fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2020-856ae65766, please reopen if not.
Thanks.

Comment 6 Dima Ryazanov 2020-09-22 18:53:18 UTC
Just got the same crash in Firefox 80:

Sep 21 21:23:17 dima-dell gnome-shell[2094]: WL: unknown object (3857049061), message get_subsurface(noo)
Sep 21 21:23:17 dima-dell gnome-shell[2094]: WL: error in client communication (pid 3023)
Sep 21 21:23:17 dima-dell MainThread[3023]: Error 22 (Invalid argument) dispatching to Wayland display.
Sep 21 21:23:17 dima-dell firefox.desktop[6917]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[10708]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[3768]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[6955]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[3238]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[3187]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[6879]: [GFX1-]: Receive IPC close with reason=AbnormalShutdown
Sep 21 21:23:17 dima-dell firefox.desktop[3298]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[3171]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[7104]: Exiting due to channel error.
Sep 21 21:23:17 dima-dell firefox.desktop[6879]: Exiting due to channel error.

I'm assuming version 80 already has the fixes above?

Comment 7 Martin Stransky 2020-09-25 07:23:28 UTC
(In reply to Dima Ryazanov from comment #6)
> Just got the same crash in Firefox 80:
> 
> Sep 21 21:23:17 dima-dell gnome-shell[2094]: WL: unknown object
> (3857049061), message get_subsurface(noo)
> Sep 21 21:23:17 dima-dell gnome-shell[2094]: WL: error in client
> communication (pid 3023)
> Sep 21 21:23:17 dima-dell MainThread[3023]: Error 22 (Invalid argument)
> dispatching to Wayland display.
> Sep 21 21:23:17 dima-dell firefox.desktop[6917]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[10708]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[3768]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[6955]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[3238]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[3187]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[6879]: [GFX1-]: Receive IPC close
> with reason=AbnormalShutdown
> Sep 21 21:23:17 dima-dell firefox.desktop[3298]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[3171]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[7104]: Exiting due to channel
> error.
> Sep 21 21:23:17 dima-dell firefox.desktop[6879]: Exiting due to channel
> error.
> 
> I'm assuming version 80 already has the fixes above?

Can you reproduce it reliably? If so can you please try to run Firefox with WAYLAND_DEBUG=1 env variable on terminal and attach the log here?
like:

WAYLAND_DEBUG=1 firefox > log.txt 2>&1

and attach the log.txt here.
Thanks.

Comment 8 Tomeu Vizoso 2020-10-13 09:21:15 UTC
Created attachment 1721153 [details]
WAYLAND_DEBUG log

Hit something similar, I had this in my journal at the time when firefox crashed:

Oct 13 10:55:17 cizrna gnome-shell[3667]: WL: error in client communication (pid 20787)

Comment 9 Jens Petersen 2020-10-20 03:26:51 UTC
(In reply to Martin Stransky from comment #7)
> Can you reproduce it reliably?

I can't - I don't think so.

I am considering to switch to Xorg, because it is quite annoying.

I think this is probably the same as bug 1888920?

Comment 10 Martin Stransky 2020-10-26 21:11:48 UTC
Yes, seems to be dupe of Bug 1888920.

*** This bug has been marked as a duplicate of bug 1888920 ***

Comment 11 Jens Petersen 2020-10-27 07:29:18 UTC
Actually after tweaking my earlyoom settings (to take swap into account too) I haven't seen a crash in days...?! 😬


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