Closed Bug 1562104 Opened 6 years ago Closed 5 years ago

Assertion failure: result (SendCrossProcessRedirect failed), at netwerk/protocol/http/HttpChannelParentListener.cpp:215

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Fission Milestone M5

People

(Reporter: hiro, Assigned: mattwoodrow)

References

(Depends on 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

I am not sure what I did actually but it happened.

#01: mozilla::MozPromise<unsigned long, nsresult, false>::ThenValue<mozilla::net::HttpChannelParentListener::TriggerCrossProcessRedirect(nsIChannel*, nsILoadInfo*, unsigned long)::$_27, mozilla::net::HttpChannelParentListener::TriggerCrossProcessRedirect(nsIChannel*, nsILoadInfo*, unsigned long)::$_28>::DoResolveOrRejectInternal(mozilla::MozPromise<unsigned long, nsresult, false>::ResolveOrRejectValue&) (/home/hiro/central/obj-firefox/dist/include/mozilla/MozPromise.h:?)
#02: mozilla::MozPromise<unsigned long, nsresult, false>::ThenValueBase::ResolveOrRejectRunnable::Run() (/home/hiro/central/obj-firefox/dist/include/mozilla/RefPtr.h:62)
#03: nsThread::ProcessNextEvent(bool, bool*) (/home/hiro/central/xpcom/threads/nsThread.cpp:1214)
#04: NS_ProcessNextEvent(nsIThread*, bool) (/home/hiro/central/xpcom/threads/nsThreadUtils.cpp:486)
#05: bool mozilla::SpinEventLoopUntil<(mozilla::ProcessFailureBehavior)1, nsThread::Shutdown()::$_2>(nsThread::Shutdown()::$_2&&, nsIThread*) (/home/hiro/central/xpcom/threads/nsThreadUtils.h:348)
#06: nsThreadPool::Shutdown() (/home/hiro/central/xpcom/threads/nsThreadPool.cpp:352)
#07: mozilla::detail::RunnableMethodImpl<nsCOMPtr<nsIThreadPool>, nsresult (nsIThreadPool::)(), true, (mozilla::RunnableKind)0>::Run() (/home/hiro/central/xpcom/threads/nsThreadUtils.h:1124)
#08: nsThread::ProcessNextEvent(bool, bool
) (/home/hiro/central/xpcom/threads/nsThread.cpp:1214)
#09: NS_ProcessNextEvent(nsIThread*, bool) (/home/hiro/central/xpcom/threads/nsThreadUtils.cpp:486)
#10: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (/home/hiro/central/ipc/glue/MessagePump.cpp:88)
#11: MessageLoop::RunInternal() (/home/hiro/central/ipc/chromium/src/base/message_loop.cc:315)
#12: MessageLoop::AutoRunState::~AutoRunState() (/home/hiro/central/ipc/chromium/src/base/message_loop.cc:584)
#13: nsBaseAppShell::Run() (/home/hiro/central/widget/nsBaseAppShell.cpp:139)
#14: nsAppStartup::Run() (/home/hiro/central/toolkit/components/startup/nsAppStartup.cpp:286)
#15: XREMain::XRE_mainRun() (/home/hiro/central/toolkit/xre/nsAppRunner.cpp:4636)
#16: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (/home/hiro/central/toolkit/xre/nsAppRunner.cpp:4770)
#17: XRE_main(int, char**, mozilla::BootstrapConfig const&) (/home/hiro/central/toolkit/xre/nsAppRunner.cpp:4852)

Over to Nhi to find an owner.

Flags: needinfo?(nhnguyen)
Assignee: nobody → juhsu
Priority: -- → P2

assigned

Flags: needinfo?(nhnguyen)
Whiteboard: [necko-triaged]

Michal, will this continue to be a problem even after DocumentChannel?

Flags: needinfo?(michal.novotny)

HttpChannelParentListener::TriggerCrossProcessRedirect() will be moved into HttpChannelParent. DocumentChannelParent should probably use its own implementation, but details are being discussed at this moment...

Flags: needinfo?(michal.novotny)
Fission Milestone: --- → M5
No longer blocks: document-channel
Depends on: document-channel

The DocumentChannel work converted SendCrossProcessRedirect to use a promise, and added handling for the rejected case.

Assignee: juhsu → matt.woodrow
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Attachment #9075048 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: