Closed Bug 1763219 Opened 3 years ago Closed 1 year ago

At shutdown: Assertion failure: redirectParentChannel, at netwerk/protocol/http/HttpChannelParent.cpp:862

Categories

(Core :: Networking: HTTP, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: assertion, Whiteboard: [necko-triaged])

I just hit a fatal-assertion at shutdown after visiting https://www.msn.com/en-us/weather/forecast and clicking "hourly" and then quitting, in a debug build:

Assertion failure: redirectParentChannel, at /mozilla/netwerk/protocol/http/HttpChannelParent.cpp:862
#01: mozilla::net::HttpChannelParent::RecvRedirect2Verify(nsresult const&, CopyableTArray<mozilla::net::RequestHeaderTuple> const&, unsigned int const&, mozilla::Maybe<mozilla::net::ChildLoadInfoForwarderArgs> const&, unsigned int const&, nsIReferrerInfo*, mozilla::Maybe<mozilla::ipc::URIParams> const&, mozilla::Maybe<mozilla::net::CorsPreflightArgs> const&) (/mozilla/netwerk/protocol/http/HttpChannelParent.cpp:862)
#02: mozilla::net::PHttpChannelParent::OnMessageReceived(IPC::Message const&) (/obj-debug-opt/ipc/ipdl/PHttpChannelParent.cpp:677)
#03: mozilla::dom::PContentParent::OnMessageReceived(IPC::Message const&) (/obj-debug-opt/ipc/ipdl/PContentParent.cpp:7018)
#04: mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) (/mozilla/ipc/glue/MessageChannel.cpp:1707)
#05: mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message&&) (/mozilla/ipc/glue/MessageChannel.cpp:0)
#06: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) (/mozilla/ipc/glue/MessageChannel.cpp:0)
#07: mozilla::ipc::MessageChannel::MessageTask::Run() (/mozilla/ipc/glue/MessageChannel.cpp:0)
#08: mozilla::RunnableTask::Run() (/mozilla/xpcom/threads/TaskController.cpp:468)
#09: mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) (/mozilla/xpcom/threads/TaskController.cpp:778)
#10: mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) (/mozilla/xpcom/threads/TaskController.cpp:612)
#11: mozilla::TaskController::ProcessPendingMTTask(bool) (/mozilla/xpcom/threads/TaskController.cpp:390)
#12: mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_1>::Run() (/obj-debug-opt/dist/include/nsThreadUtils.h:532)
#13: nsThread::ProcessNextEvent(bool, bool*) (/mozilla/xpcom/threads/nsThread.cpp:0)
#14: nsThread::Shutdown() (/mozilla/xpcom/threads/nsThread.cpp:882)
#15: nsUrlClassifierDBService::Shutdown() (/mozilla/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2359)
#16: nsUrlClassifierDBService::Observe(nsISupports*, char const*, char16_t const*) (/mozilla/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:0)
#17: nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) (/mozilla/xpcom/ds/nsObserverList.cpp:69)
#18: nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) (/mozilla/xpcom/ds/nsObserverService.cpp:295)
#19: mozilla::AdvanceShutdownPhaseInternal(mozilla::ShutdownPhase, bool, char16_t const*, nsCOMPtr<nsISupports> const&) (/mozilla/xpcom/base/AppShutdown.cpp:347)
#20: mozilla::AppShutdown::AdvanceShutdownPhase(mozilla::ShutdownPhase, char16_t const*, nsCOMPtr<nsISupports> const&) (/mozilla/xpcom/base/AppShutdown.cpp:366)
#21: nsXREDirProvider::DoShutdown() (/mozilla/toolkit/xre/nsXREDirProvider.cpp:988)
#22: ScopedXPCOMStartup::~ScopedXPCOMStartup() (/mozilla/toolkit/xre/nsAppRunner.cpp:2051)
#23: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (/mozilla/toolkit/xre/nsAppRunner.cpp:5941)
#24: XRE_main(int, char**, mozilla::BootstrapConfig const&) (/mozilla/toolkit/xre/nsAppRunner.cpp:5991)
#25: mozilla::BootstrapImpl::XRE_main(int, char**, mozilla::BootstrapConfig const&) (/mozilla/toolkit/xre/Bootstrap.cpp:45)
#26: main (/mozilla/browser/app/nsBrowserApp.cpp:395)
#27: ??? (/lib/x86_64-linux-gnu/libc.so.6 + 0x29fd0)
#28: __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6 + 0x2a07d)
#29: ??? (/obj-debug-opt/dist/bin/firefox + 0x3a699)
#30: ??? (???:???)

I happened to catch it in rr; I was trying to capture a different shutdown-crash but I caught this one instead. :)

I'm uploading the trace to pernosco and I'll share the link here when I've got it.

This was on a mozilla-central build with yesterday's tip (https://hg.mozilla.org/mozilla-central/rev/634515c4e099 ) plus the two relatively-small layout-specific patches on bug 1700474 (which are irrelevant to this assertion-failure, so I think we can consider this ~unmodified mozilla-central).

Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

I think we fixed this recently.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.