Bug 2262959 - firefox 100% CPU with message "Wayland Proxy warning: ConnectToCompositor() try again : Connection refused"
Summary: firefox 100% CPU with message "Wayland Proxy warning: ConnectToCompositor() t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-06 09:06 UTC by Baptiste Mille-Mathias
Modified: 2024-02-17 01:40 UTC (History)
8 users (show)

Fixed In Version: firefox-122.0-6.fc40 firefox-122.0-6.fc39 firefox-122.0.1-1.fc38
Clone Of:
Environment:
Last Closed: 2024-02-12 16:18:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1874857 0 -- RESOLVED wayland proxy connection failure after applying update, defaulting to xwayland (take 2) 2024-02-12 08:45:10 UTC

Description Baptiste Mille-Mathias 2024-02-06 09:06:00 UTC
Firefox is constantly 100% CPU on one core, with lots (thousand ?) of following messages  

Feb 06 09:58:46 scamorza firefox.desktop[169303]: Wayland Proxy warning: ConnectToCompositor() try again : Connection refused

also as a consequence systemd-journald is also using a lot of CPU and IO

➜  rpm -q firefox 
firefox-122.0-5.fc39.x86_64

restarting Firefox makes this disappear, until next appearance.

Reproducible: Sometimes

Steps to Reproduce:
I don't know how to trigger this



I don't know what relevant information I can provide

Comment 1 Jan Vlug 2024-02-07 14:52:10 UTC
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1878829

Comment 2 Fuzz Bug Attractor Putz 2024-02-07 19:23:34 UTC
Dealing with the same issue here.  Firefox will not start either.

From the command line I get the warnings in stdout/stderr.  Starting from the launcher panel, they end up in journal logs.

These error(?) messages started around this log entry

>journalctl |grep "Wayland Proxy warning" |head -1
Feb 03 16:19:55 host.domain plasmashell[617333]: Wayland Proxy warning: ConnectToCompositor() try again : Connection refused

>journalctl |grep "Wayland Proxy warning" |wc -l  # I added the comma's
12,135,286


Today I dnf updated and rebooted, now firefox will not start.  I'm using Fedora 39, x86_64, no 3rd party repositories, nothing special or unique.

What additional information can I provide?

Comment 3 Martin Stransky 2024-02-12 08:46:42 UTC
Will be fixed in next release 123.0. I'll remove the Fedora custom patch until it.

Comment 4 Martin Stransky 2024-02-12 09:01:36 UTC
Added to 122-6 builds.

Comment 5 Fedora Update System 2024-02-12 14:23:57 UTC
FEDORA-2024-b1f54edbf7 (firefox-122.0-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b1f54edbf7

Comment 6 Fedora Update System 2024-02-12 16:18:05 UTC
FEDORA-2024-b1f54edbf7 (firefox-122.0-6.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-02-13 11:39:06 UTC
FEDORA-2024-60e163e74d (firefox-122.0-6.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-60e163e74d

Comment 8 Fedora Update System 2024-02-13 11:39:07 UTC
FEDORA-2024-2f20170a46 (firefox-122.0-6.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-2f20170a46

Comment 9 Fedora Update System 2024-02-14 02:24:21 UTC
FEDORA-2024-2f20170a46 (firefox-122.0-6.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-02-14 02:25:23 UTC
FEDORA-2024-60e163e74d has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-60e163e74d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-60e163e74d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-02-15 01:52:54 UTC
FEDORA-2024-7def22c8a2 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7def22c8a2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7def22c8a2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-02-17 01:37:27 UTC
FEDORA-2024-7def22c8a2 (firefox-122.0.1-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fuzz Bug Attractor Putz 2024-02-17 01:40:23 UTC
Confirming this is fixed in F39, x86_64 in my use case.


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