Bug 2017123 - Firefox on Wayland crashing in KDE Plasma [NEEDINFO]
Summary: Firefox on Wayland crashing in KDE Plasma
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 38
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2112033 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-25 16:31 UTC by T.I. "Luna" Ericson
Modified: 2023-10-21 09:22 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-07 21:51:38 UTC
Type: Bug
Embargoed:
gbcox: needinfo? (rdieter)


Attachments (Terms of Use)

Description T.I. "Luna" Ericson 2021-10-25 16:31:31 UTC
Description of problem:
I'm having an odd issue with Firefox on Wayland (firefox-wayland package).
The issue results in firefox reporting that it has been disconnected from the Wayland compositor, then crashing.

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

How reproducible:
Consistent.

Steps to Reproduce:
1. Have, at least two tabs open in Firefox on Wayland
2. Wiggle the tabs so that they swap orders repeatedly.
3. The animation for the tabs will begin to lag, and Firefox will crash.

Actual results:
Firefox on Wayland lagging and/or crashing when dragging tabs.

Expected results:
Firefox on Wayland not lagging and/or crashing when dragging tabs.

Additional info:

The errors thrown in the system logs when the crash occurs:
Oct 25 09:36:57 Celestia GeckoMain[21400]: Couldn't map window 0x7fcbadde50a0 as subsurface because its parent is not mapped.
Oct 25 09:36:57 Celestia GeckoMain[21400]: Couldn't map window 0x7fcbadde50a0 as subsurface because its parent is not mapped.
Oct 25 09:37:24 Celestia GeckoMain[21400]: Lost connection to Wayland compositor.
Oct 25 09:37:24 Celestia plasmashell[21779]: Exiting due to channel error.
Oct 25 09:37:24 Celestia plasmashell[21788]: Exiting due to channel error.
Oct 25 09:37:24 Celestia plasmashell[21731]: Exiting due to channel error.
Oct 25 09:37:24 Celestia plasmashell[21650]: Exiting due to channel error.
Oct 25 09:37:24 Celestia plasmashell[21614]: Exiting due to channel error.
Oct 25 09:37:24 Celestia plasmashell[21573]: Exiting due to channel error.
Oct 25 09:37:24 Celestia systemd[3883]: app-firefox\x2dwayland-cd7fe58404f04f8798921e585f5d99d3.scope: Consumed 3min 39.286s CPU time.

The compositor is set to use OpenGL 3.0.
Changing this doesn't seem to have any effect.

Other potentially relevant software: 
Kernel 5.13.6 (running with amdgpu drivers)
Wayland 1.19.0
KDE Plasma 5.22.5

It may also be worth noting that KDE was installed after-the-fact, along side Cinnamon.

Comment 1 Martin Stransky 2021-10-26 08:45:30 UTC
Yes, looks like Firefox issue. Please try latest nightly under Wayland:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
Thanks.

Comment 2 T.I. "Luna" Ericson 2021-10-26 10:06:31 UTC
(In reply to Martin Stransky from comment #1)
> Yes, looks like Firefox issue. Please try latest nightly under Wayland:
> https://fedoraproject.org/wiki/
> How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries
> Thanks.

I have tried the latest nightly build (95.0a1) under Wayland, and the issue persists without change.

Comment 3 Martin Stransky 2021-10-26 13:10:57 UTC
Can you try Gnome or mutter
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_different_Wayland_compositor
if you can reproduce the issue?

Comment 4 T.I. "Luna" Ericson 2021-10-26 13:51:13 UTC
I tried mutter in nested mode, and didn't seem to have any problems.

I'd really prefer not to install all of GNOME, so I hope that's enough to narrow it down.

Comment 5 Martin Stransky 2021-11-03 13:51:58 UTC
Please try Fedora 35 & Firefox 94.
If you still see the crashes (and mutter works ok) please file a bug at bugzilla.mozilla.org and cc me there.
Thanks.

Comment 6 T.I. "Luna" Ericson 2021-11-09 07:53:09 UTC
Sorry for taking so long to get back to this.

The bug still persists on Firefox 94.
I will proceed to file a bug on the Mozilla tracker as soon as possible.

Comment 7 Martin Stransky 2021-11-10 11:09:40 UTC
Okay, can you please try to get backtrace info of the crash?
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_Mozilla_crash_reporter
Thanks.

Comment 8 Ben Cotton 2022-05-12 15:26:19 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Ben Cotton 2022-06-07 21:51:38 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Gerald Cox 2022-09-02 15:50:33 UTC
Reopening, problem still occuring with Fedora 36 and Fx 104.

Comment 11 Gerald Cox 2022-09-02 15:52:21 UTC
*** Bug 2112033 has been marked as a duplicate of this bug. ***

Comment 12 Gerald Cox 2022-09-04 13:06:12 UTC
Here is some information from journalctl regarding the last crash.  Hope this helps.


plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///home/gbcox/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaListItem.qml:195:15: QML AgendaEventItem: Binding loop detected for property "implicitHeight"
kwin_wayland_wrapper[3500]: error in client communication (pid 400933)
firefox[400933]: Error reading events from display: Connection reset by peer
plasmashell[401627]: Exiting due to channel error.
plasmashell[401632]: Exiting due to channel error.
plasmashell[401444]: Exiting due to channel error.
plasmashell[401623]: Exiting due to channel error.
plasmashell[401773]: Exiting due to channel error.
plasmashell[401129]: Exiting due to channel error.
plasmashell[401094]: Exiting due to channel error.
systemd[3421]: app-firefox\x2dwayland-8878ac7a0d7f41c4b77163a83fa509bd.scope: Consumed 1min 29.512s CPU time.
kioslave5[401337]: kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
kioslave5[401335]: kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
kioslave5[401340]: kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
kioslave5[401343]: kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
systemd[3421]: Started app-firefox\x2dwayland-42df50221eb845fca79adfc579489009.scope - Firefox on Wayland - Web Browser.
plasmashell[277248]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:385: Unable to assign [undefined] to QString
rtkit-daemon[987]: Successfully made thread 402000 of process 401818 (/usr/lib64/firefox/firefox) owned by '1000' RT at priority 10.
plasmashell[401818]: Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
kioslave5[401352]: kf.kio.core: timeoutSpecialCommand() did not call finished() or error()! Please fix the kio_http KIO slave
plasmashell[277248]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x7f3f5400d5a0) QQmlContext(0x55df08729640) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
plasmashell[277248]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x7f3f5400d5a0) QQmlContext(0x55df08729640) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
plasmashell[277248]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
plasmashell[277248]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
plasmashell[277248]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
plasmashell[277248]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"

Comment 13 Gerald Cox 2022-09-04 13:08:45 UTC
Rex, does this look like a Fx issue or a Plasma issue to you?  I want to make sure I'm reporting in the correct queue.  Thanks!

Comment 14 Gerald Cox 2022-09-04 13:12:03 UTC
(In reply to Martin Stransky from comment #7)
> Okay, can you please try to get backtrace info of the crash?
> https://fedoraproject.org/wiki/
> Debugging_guidelines_for_Mozilla_products#Using_Mozilla_crash_reporter
> Thanks.

Martin, unfortunately there wasn't any information in about:crashes.  I'm asking Rex if he thinks this may be a plasma issue instead.

Comment 15 Martin Stransky 2022-09-26 07:31:06 UTC
Not a problem, I think this is related to popup handling and that code is under development right now.

Comment 16 Ben Cotton 2023-02-07 15:08:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.


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