-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
[Bug]: Periodic UI hang on profile with large numberof tabs #1478
Comments
An update on this: I've broken into |
Alright, I got it nice and quickly. It looks like it's happening as a result of a timer event, created through a call to |
After a great deal of pain, I now have a JS stack: (order is top of stack to bottom of stack; most recent frame at the top)
(The first line number seems to be just a bit off, but the others seem more or less accurate) For those wondering how
|
Per the docs on
I think adding a |
Thank you so much for the detailed explanation and the steps involved! |
Pre-Submission Checklist
Bug Summary
Starting around 11.17.6, I began to notice that the UI would periodically hang for multiple seconds, with no discernible cause.
It seems to only happen when I have a website sidebar panel configured (not even necessarily open).It only happens on my very large profile, not my much smaller second profile.
I have a profiler trace showing it happen.
Reproduction Steps
Expected Behavior
No UI hangs.
Actual Behavior
Multiple second UI hangs, rendering the browser entirely unusable for that period.
Screenshots
It seems to be spending its time in
mozilla::dom::ContentParent::LaunchSubprocessResolve
, specifically inmozilla::dom::BlobURLProtocolHandler::ForEachBlobURL()
andmozilla::dom::PContentParent::SendInitBlobURLs()
, where it seems to be enumerating a very large linked list repeatedly as it tries to serialize the blob URLs.I speculate that this is triggered by something relating to the sidebar,
since the issue doesn't appear to happen without any sidebar views presentscratch that, it seems to happen anyway. I also see the main process memory usage grow massively when this happens (most recently to ~20GB before I had to kill it).I don't think the profiler can track task/promise causality, so I don't know how to get anything more specific without a very intrusive full debugger.
Browser Version
11.19.1 (Firefox 128.4.0)
Operating System
Windows 10 22H2
Additional Context
Here is the profile (for https://profiler.firefox.com):
Floorp 2024-10-13 03.35 profile.json.gz
(Note that I'm currently running a local build of 11.19.1 so I have symbols.)
The text was updated successfully, but these errors were encountered: