Closed
Bug 1745063
Opened 2 years ago
Closed 2 years ago
Assertion failure: gIOService->IsNetTearingDown(), at /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:1855
Categories
(Core :: Networking, defect, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
97 Branch
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: kershaw, Assigned: kershaw)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Hit this assertion when trying to enable running xpcshell tests on windows with socket process.
Here is the explanation:
- Shutdown begins. We first send
SetOffline
and second "profile-change-net-teardown" notification to socket process. - In socket process,
nsIOService::SetHttpHandlerAlreadyShutingDow
is called bynsHttphandler
here. - At this point,
gIOService->IsNetTearingDown()
is true, becausemHttpHandlerAlreadyShutingDown
is true. - Now,
nsIOService::Observe
is called with "profile-change-net-teardown". mHttpHandlerAlreadyShutingDown
is reset to false here and mOfflineForProfileChange won't be set to true becauseSetOffline
is happened before.gIOService->IsNetTearingDown()
becomes false and we hit the assertion.
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/396f2f4b1be4 Don't send SetOffline IPC to socket process in nsIOService::Observe, r=necko-reviewers,valentin
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox97:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•