[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-09-19 Thread Bug Watch Updater
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/ubu

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-06-24 Thread Amin Bandali
With Firefox 125 having been released already, are folks able to confirm
that it has indeed fixed this issue?

** Also affects: firefox via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1882449
   Importance: Unknown
   Status: Unknown

** Changed in: firefox (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-03-03 Thread Steve
The Firefox issue can be found at:
https://bugzilla.mozilla.org/show_bug.cgi?id=1882449

The issue has been closed and supposedly fixed. The target milestone has
been set to 125, which I assume means that it should be included in the
Firefox 125 release planned for 16 April 2024. In the meantime, the
recommended workaround is to run Firefox with
`MOZ_DISABLE_WAYLAND_PROXY=1`.

** Bug watch added: Mozilla Bugzilla #1882449
   https://bugzilla.mozilla.org/show_bug.cgi?id=1882449

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/firefox/+bug/2051838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-02-27 Thread Frederic Van Espen
This is probably the same issue:
https://bbs.archlinux.org/viewtopic.php?pid=2153594

I don't have the issue when I launch firefox like: MOZ_ENABLE_WAYLAND=0
firefox

MOZ_ENABLE_WAYLAND=1 became the default in firefox 121.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/firefox/+bug/2051838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-02-26 Thread Steve
Also have this issue (100% cpu usage by /usr/sbin/rsyslogd) with Firefox
in Sway on Ubuntu 22.04. So far I've only noticed this after reloading
the sway config (`swaymsg reload` or Mod+Shift+c).

Fabien (afabien) wrote:
> To avoid having disk full problems, I used the following workaround:
>
> I created a file /etc/rsyslog.d/10-no-gdm-wayland.conf
> Containing the following lines:
> :msg, contains, "Error: WaylandMessage::Write() too many files to send" ~
> :msg, contains, " :" ~
>
> And then restarted rsyslog (as root): systemctl restart rsyslog.service

This workaround didn't work for me, even after replacing the `~` with
`stop`.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/firefox/+bug/2051838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-02-26 Thread BjornW
Same problem here. Any suggestions on how I may help fixing this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/firefox/+bug/2051838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2051838] Re: /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too many files to send

2024-02-25 Thread Zoe
This actually also affects other distros, I use Arch Linux and Sway on
my Laptop and Ubuntu on my PC. I have the same issue on Arch Linux Sway.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/ubuntu/+source/firefox/+bug/2051838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs