Closed
Bug 1435962
Opened 6 years ago
Closed 4 years ago
mozilla::net::nsHttpConnectionMgr::Shutdown() blocks the shutdown of other components
Categories
(Core :: Networking, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1633342
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | wontfix |
firefox-esr60 | --- | wontfix |
firefox59 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
firefox71 | --- | wontfix |
firefox72 | --- | wontfix |
firefox73 | --- | wontfix |
People
(Reporter: baku, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, nightly-community, topcrash, Whiteboard: [necko-triaged])
Crash Data
https://crash-stats.mozilla.com/report/index/83089e4b-77e7-4920-ae56-16d960180206#allthreads and https://crash-stats.mozilla.com/report/index/a910bdd8-a605-4444-a2a6-d4d4f0180206#allthreads and https://crash-stats.mozilla.com/report/index/73db45ac-e05c-4441-8a8f-1b5b00180206#allthreads mozilla::net::nsHttpConnectionMgr::Shutdown() spins the event loop when xpcom-shutdown notification is received, but this spinning is not terminated and other components do not receive the same notification. This means that they don't start the shutdown procedure and, eventually, firefox crashes.
Reporter | ||
Updated•6 years ago
|
Flags: needinfo?(michal.novotny)
Flags: needinfo?(honzab.moz)
Comment 1•6 years ago
|
||
I'm not familiar with nsHttpConnectionMgr shutdown process. Patrick, do you have any idea why OnMsgShutdownConfirm was not called?
Flags: needinfo?(michal.novotny) → needinfo?(mcmanus)
Priority: -- → P3
Whiteboard: [necko-triaged]
Comment 3•6 years ago
|
||
an informed guess is that the socket transport thread is hung. this looks like the hanging PR_POLL() issue dragana was chasing forever and I've heard might be a network driver bug.
Flags: needinfo?(mcmanus)
Updated•6 years ago
|
Flags: needinfo?(honzab.moz)
Comment 4•6 years ago
|
||
We definitely already have a bug filed for this and there has been a lot of attempts to find (and fix) the cause. Don't have the #'s by hand.
Updated•6 years ago
|
Crash Signature: [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ]
Comment 5•6 years ago
|
||
Signature report for mozilla::dom::workers::RuntimeService::CrashIfHanging Showing results from 7 days ago Windows 7 1419 53.5% Windows 10 780 29.4% Windows 8.1 324 12.2% OS X 10.13 40 1.5% OS X 10.11 30 1.1% Windows 8 20 0.8% OS X 10.12 16 0.6% Linux 10 0.4% OS X 10.10 10 0.4% OS X 10.9 2 0.1% Firefox 59.0.1 1329 50.7% 1157 Firefox 59.0.2 703 26.8% 1048 Thunderbird 59.0b2 197 7.5% 231 Firefox 59.0b12 54 2.1% 42 Firefox 59.0b13 61 2.3% 41 Firefox 59.0b11 37 1.4% 36 Firefox 59.0b9 25 1.0% 30 Firefox 59.0b7 27 1.0% 29 Firefox 59.0b8 21 0.8% 27 amd64 1776 67.0% x86 875 33.0%
Comment 6•6 years ago
|
||
Top Crashers for Firefox 59.0.2 9 1.08% new mozilla::dom::workers::RuntimeService::CrashIfHanging 704 683 20 1 694 0 2017-11-16 Top Crashers for Firefox 59.0.1 8 1.06% -0.08% mozilla::dom::workers::RuntimeService::CrashIfHanging 1328 1280 42 6 1296 0 2017-11-16
Keywords: topcrash
Updated•6 years ago
|
Crash Signature: [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ] → [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ]
[@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | mozilla::net::nsHttpConnectionMgr::Shutdown ]
status-firefox60:
--- → affected
status-firefox-esr52:
--- → affected
Updated•6 years ago
|
Blocks: IPCError_ShutDownKill
Updated•6 years ago
|
Comment 10•5 years ago
|
||
massive 6 fold increase in crashes on 12/13 according to https://crash-stats.mozilla.com/signature/?signature=shutdownhang%20%7C%20mozilla%3A%3ASpinEventLoopUntil<T>%20%7C%20mozilla%3A%3Anet%3A%3AnsHttpConnectionMgr%3A%3AShutdown&date=>%3D2018-09-15T06%3A58%3A27.000Z&date=<2018-12-15T06%3A58%3A27.000Z#graphs 12/14 still more than double
Updated•5 years ago
|
Crash Signature: [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ]
[@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | mozilla::net::nsHttpConnectionMgr::Shutdown ] → [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ]
[@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | ntdll.dll | mo…
status-firefox64:
--- → wontfix
status-firefox65:
--- → affected
status-firefox66:
--- → affected
Updated•5 years ago
|
status-firefox67:
--- → affected
status-firefox68:
--- → affected
status-firefox69:
--- → affected
status-firefox-esr60:
--- → affected
Keywords: nightly-community
Updated•5 years ago
|
Crash Signature: mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | ntdll.dll | kernel32.dll | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown] → mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | ntdll.dll | kernel32.dll | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown]
[@ shutdownhang | ntdll.dll | kernelbase.dll | moz…
Updated•4 years ago
|
Crash Signature: mozilla::net::nsHttpConnectionMgr::Shutdown ] → mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | kernelbase.dll | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | kernelbase.dll | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdow…
Updated•4 years ago
|
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Crash Signature: [@ mozilla::dom::workers::RuntimeService::CrashIfHanging ]
[@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | ntdll.dll | mo… → [@ shutdownhang | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | mozilla::net::nsHttpConnectionMgr::Shutdown ]
[@ shutdownhang | ntdll.dll | mozilla::SpinEventLoopUntil<T> | mozilla::net::nsHttpConnectio…
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•