[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send
Bug Watch Updater
2051838 at bugs.launchpad.net
Thu Sep 19 19:47:02 UTC 2024
Launchpad has imported 15 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1882449.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2024-02-28T06:23:25+00:00 Harishankar Gaddanakeri wrote:
Created attachment 9387977
wayland-session.log
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101
Firefox/123.0
Steps to reproduce:
1. Lauch Firefox
2. CPU usage rises to 80-90%
3. The ~/.local/share/sddm/wayland-session.log grows in size very fastly, consuming large amounts of disk space.
4. The log file is spammed with the message "Error: WaylandMessage::Write() too many files to send
: "
Actual results:
This only happens whenever I start firefox on sway (wayland), regardless of whether I reload swaywm using mod+shift+c. CPU usage stays at 80-90% and the log file starts to consume disk space. At the time I noticed it, the log file was ~140GB with all of the lines being "Error: WaylandMessage::Write() too many files to send
: "
Expected results:
CPU usage should be normal.
Log files shouldn't consume large amount of space in a very short period of time.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/12
------------------------------------------------------------------------
On 2024-02-28T06:42:00+00:00 Release-mgmt-account-bot wrote:
The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug
should belong to the 'Core::Widget: Gtk' component, and is moving the
bug to that component. Please correct in case you think the bot is
wrong.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/13
------------------------------------------------------------------------
On 2024-02-28T19:27:46+00:00 Nigel Babu wrote:
I've seen this happen to my /var/log/syslog file. There are some
upstream bugs in several distros:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/14
------------------------------------------------------------------------
On 2024-02-29T09:07:07+00:00 Stransky wrote:
That's interesting, Thanks. Do you see that on Sway only? Can you test Mutter for instance?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_different_Wayland_compositor
It looks like Sway sends too many files over IPC so we can't handle it.
As a workaround you can run Firefox with MOZ_DISABLE_WAYLAND_PROXY=1 env variable set.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/15
------------------------------------------------------------------------
On 2024-02-29T09:18:46+00:00 Harishankar Gaddanakeri wrote:
Can you mind looking at this issue:
https://github.com/swaywm/sway/issues/8006
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/16
------------------------------------------------------------------------
On 2024-02-29T09:43:27+00:00 Harishankar Gaddanakeri wrote:
Created attachment 9388332
wayland-session.log
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/17
------------------------------------------------------------------------
On 2024-02-29T09:43:47+00:00 Harishankar Gaddanakeri wrote:
By running firefox in mutter, I get these logs
```
01:09:40.053 [ERROR] [wlr] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x5f107dcb2440
01:09:41.877 [ERROR] [wlr] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x5f107d4f9230
```
With lots of space and newline characters in the file.
I've attached the file
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/18
------------------------------------------------------------------------
On 2024-02-29T11:11:01+00:00 Stransky wrote:
It's because we write max MAX_LIBWAY_FDS-1 fds.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/19
------------------------------------------------------------------------
On 2024-02-29T11:30:18+00:00 Stransky wrote:
Created attachment 9388353
Bug 1882449 [Wayland Proxy] Use ErrorPlain() to print all errors without errno r?emilio
- Make Error()/Warning() always print errno
- Use ErrorPlain() to print all warnings without errno
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/20
------------------------------------------------------------------------
On 2024-02-29T11:30:35+00:00 Stransky wrote:
Created attachment 9388354
Bug 1882449 [Wayland Proxy] Allow to read/write up to MAX_LIBWAY_FDS fds num r?emilio
Depends on D203107
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/21
------------------------------------------------------------------------
On 2024-02-29T11:30:51+00:00 Stransky wrote:
Created attachment 9388355
Bug 1882449 [Wayland Proxy] Remove redundant mLoaded flag r?emilio
Depends on D203108
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/22
------------------------------------------------------------------------
On 2024-02-29T13:25:31+00:00 Pulsebot-d wrote:
Pushed by stransky at redhat.com:
https://hg.mozilla.org/integration/autoland/rev/aef095e096ff
[Wayland Proxy] Use ErrorPlain() to print all errors without errno r=emilio
https://hg.mozilla.org/integration/autoland/rev/7d0c24d09691
[Wayland Proxy] Allow to read/write up to MAX_LIBWAY_FDS fds num r=emilio
https://hg.mozilla.org/integration/autoland/rev/44c183650174
[Wayland Proxy] Remove redundant mLoaded flag r=emilio
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/23
------------------------------------------------------------------------
On 2024-02-29T21:40:04+00:00 Ctuns wrote:
https://hg.mozilla.org/mozilla-central/rev/aef095e096ff
https://hg.mozilla.org/mozilla-central/rev/7d0c24d09691
https://hg.mozilla.org/mozilla-central/rev/44c183650174
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/24
------------------------------------------------------------------------
On 2024-03-08T10:42:12+00:00 Stransky wrote:
*** Bug 1882295 has been marked as a duplicate of this bug. ***
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/26
------------------------------------------------------------------------
On 2024-03-11T13:40:03+00:00 Stransky wrote:
*** Bug 1884429 has been marked as a duplicate of this bug. ***
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2051838/comments/27
** Changed in: firefox
Status: Unknown => Fix Released
** Bug watch added: github.com/swaywm/sway/issues #8006
https://github.com/swaywm/sway/issues/8006
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2051838
Title:
/usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too
many files to send
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/2051838/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list