Intermittently, pages just stall loading - they keep on loading and loading. Page opened in Chrome load instantly.
Categories
(Core :: Networking, defect, P1)
Tracking
()
People
(Reporter: mayankleoboy1, Assigned: valentin)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(3 files, 1 obsolete file)
Since maybe 2 weeks, intermittently pages will stop loading - they will keep on loading and loading. If i open the same page on Chrome, they load normally.
I have captured a partial log - log was started when i was already seeing the pageload stall. But the log does capture the moment when the pages again started loading.
Profile: https://share.firefox.dev/44fTKvS
Reporter | ||
Updated•18 days ago
|
Reporter | ||
Comment 1•18 days ago
|
||
Reporter | ||
Comment 2•18 days ago
|
||
Usually if I close the browser while the pages have stalled loading, the browser wont quit cleanly. When i restart, i get the message "Another instance of firefox is running. do you want to close that".
I had filed bug 1962022 for some crashes i was seeing at teh same time. So the stalling, the dirty shutdown and the occassional crash all happen together. The crashes have been fixed since bug 1962022 though.
Assignee | ||
Comment 3•18 days ago
|
||
Thank you for the profile. It's really odd that nothing is really happening on either the cache or the socket threads.
I did see a request for http://wpad/wpad.dat at the end, so I do wonder if there's another proxy request going on in the background, or if this is just another issue similar to bug 1937367.
@JanErik, in the profile here I do see that setupTelemetry is lasting for a very long time - Is it possible that addon initialization is waiting for telemetry and in turn that's blocking network requests?
https://share.firefox.dev/4cXKnU1
Assignee | ||
Comment 4•18 days ago
|
||
Updated•18 days ago
|
Assignee | ||
Comment 5•18 days ago
|
||
Additionally I noticed that https://phabricator.services.mozilla.com/D243076 doesn't include the NS_DISPATCH_EVENT_MAY_BLOCK when dispatching the potentially blocking runnable. I don't think that would block the entire thread pool, but it's better to be safe.
Assignee | ||
Updated•18 days ago
|
Comment 6•18 days ago
|
||
(In reply to Valentin Gosu [:valentin] (he/him) from comment #3)
@JanErik, in the profile here I do see that setupTelemetry is lasting for a very long time - Is it possible that addon initialization is waiting for telemetry and in turn that's blocking network requests?
https://share.firefox.dev/4cXKnU1
Uhm ... not that I know of? That code is essentially untouched for a long-time and we haven't had any other reports about it.
Comment 7•18 days ago
|
||
(In reply to Valentin Gosu [:valentin] (he/him) from comment #5)
Additionally I noticed that https://phabricator.services.mozilla.com/D243076 doesn't include the NS_DISPATCH_EVENT_MAY_BLOCK when dispatching the potentially blocking runnable. I don't think that would block the entire thread pool, but it's better to be safe.
Well, it just directs the event to a different pool with a few more threads. But once all those threads are blocked by really blocking events, the entire pool will block.
Comment 8•18 days ago
|
||
Comment on attachment 9485021 [details]
Bug 1964030 - Add NS_DISPATCH_EVENT_MAY_BLOCK for GetPACFromDHCP runnable r=#necko
Revision D247584 was moved to bug 1964064. Setting attachment 9485021 [details] to obsolete.
Assignee | ||
Comment 9•18 days ago
|
||
Dispatching multiple of them during a period when the system doesn't
return from the DhcpRequestParams call could potentially block all
background thread pool tasks.
Updated•14 days ago
|
Comment 10•13 days ago
|
||
Comment 11•13 days ago
|
||
Comment 12•13 days ago
|
||
Backed out for causing high frequency Gtest failures complaining about TestPACMan.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/1e64a48e351754157e6652d8a652dd5557a2bfc3
Failure log: https://treeherder.mozilla.org/logviewer?job_id=507046307&repo=autoland&lineNumber=13003
Comment 13•12 days ago
|
||
Assignee | ||
Updated•12 days ago
|
Comment 14•12 days ago
|
||
bugherder |
Assignee | ||
Updated•11 days ago
|
Assignee | ||
Comment 15•8 days ago
|
||
Dispatching multiple of them during a period when the system doesn't
return from the DhcpRequestParams call could potentially block all
background thread pool tasks.
Original Revision: https://phabricator.services.mozilla.com/D247615
Updated•8 days ago
|
Comment 16•8 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: The runnable dispatched to avoid hanging in an OS call may themselves hang blocking the user from making any networking requests.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: It's unclear exactly what causes the DhcpRequestParams call to hang in windows - probably network changes. Not easily reproducible (at least on my machine)
- Risk associated with taking this patch: Low
- Explanation of risk level: These two patches apply the NS_DISPATCH_EVENT_MAY_BLOCK flag to the runnable, so it ends in the correct thread pool, and make sure to not dispatch another one if we already have one in progress.
- String changes made/needed: none
- Is Android affected?: no
Updated•8 days ago
|
Updated•8 days ago
|
Comment 17•8 days ago
|
||
uplift |
Description
•