-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clients get disconnected by notifications from Firefox #284
Comments
Do you have any hints in the system-log or system-journal about this? Any messages from |
I don't think so, not really:
That "Invalid user-name" looks to be https://bugzilla.redhat.com/show_bug.cgi?id=1996198 and can be harmless, while the duplicate name in the service file is explicitly ignored, so... I also tried to look for ways to start |
It unconditionally prints any warnings/errors. Does that log include messages when the bug actually appears? |
I see.
Of course. These disconnections result in no log output from |
Is there any way I could raise the log level, or enable some verbose/debug/tracing mode, where everything (not just errors) is dumped into the journal, so that I (we?) can try getting to the end of this? :/ |
Hmmm, could the fact that I have literally over 9000 tabs open in 4 Firefox windows have something to do with this? 🤔 So, when these 50+ MiB long messages are running around between the browser and the window manager all the time (possibly on each window focus change, most likely also involving additional serialization/deserialization at the endpoints?), is it possible that something somewhere gets out of sync, times out, gets limited, or in any way garbled? |
I'm not affected by this issue personally (or a user of
Although later:
They also mention raising quota and connection limits as workarounds. Perhaps doing so reduces or delays the problem you're experiencing here? This wiki page may also be relevant. 9k tabs is probably a really niche scenario 😅 I personally often have up to 20-30 windows across virtual desktops with 2-3k tabs across them. That isn't causing problems like described here, but it does add friction to my UX, so I'll be managing them via separate VM instances instead.. might be applicable to you if the 9k tabs is legit usage beyond temporary/testing purposes. |
Can you reproduce this with <20 tags open? If no, it might very well be related. And yes, I can easily imagine there being bus-notifications that encapsulate the full information of those open tabs, and thus might easily exceed signature-limits, body-limits, or quota-limits of the process in question. Note that dbus-broker is behaving normally, according to your logs. If an application is unresponsive, it is really up to that application to report where it hangs. But please note that the firefox-bugtracker might be unwilling to spend much time debugging issues with 9000 tabs open (but I might be wrong...). Can you try narrowing this down? Try figuring out under which circumstances this happens. Try figuring out why clients disconnect (are you telling me several clients disconnect without any message in the system logs whatsoever?), try finding reproducers for other people to test. |
I'm starting to go mad because I can't seem to reproduce it on my other (almost identical, software-wise) machine with however many tabs, nor on this machine with any other Firefox instance (a separate Beta build for example) running, also with however many tabs. It's only this Firefox (the main one on the system) on this particular machine. Even though I have, so far (already with significant effort), reduced the number of open tabs to below 4000, in only two windows.
Yes, I'm trying really hard...
At least Bustle reports some sort of error, I have posted a screenshot of it attached to the KDE bug linked in the OP: https://bugsfiles.kde.org/attachment.cgi?id=147085
That's exactly what I'm seeing. |
And again, it's really weird that I have to copy-paste something first - either a screenshot from Spectacle into GIMP, or some text from Firefox to LibreOffice Writer - in order to trigger it. |
have you checked that dbus-broker is activated properly and dbus is disabled? After some updates of my distro dbus was partly active again. |
Well, that is possible... As my system was also distro-upgraded into dbus-broker from the "vanilla" server. But so far I found no evidence that there's still anything active other than dbus-broker... |
my firefox problem isn't fixed by removing dbus-broker (so it is not related). The other problem I still evaluate |
dbus-broker is also not the culprit of the second issue |
I have a (seemingly) fairly complex issue at hand, and I'm not sure which component of many is at fault.
Basically I'm cross-posting this issue here: https://bugs.kde.org/show_bug.cgi?id=450050
In short: I can reliably trigger the disconnection of a number of independent clients (such as
plasmashell
,dbus-monitor
, and Bustle) from the session bus by sending desktop notifications repeatedly from a page in Firefox.When this happens, Firefox gets blocked (maybe waiting for a reply from the bus?), and any invocations of
notify-send
after this also just hang indefinitely.The text was updated successfully, but these errors were encountered: