Closed Bug 1583280 Opened 6 years ago Closed 5 years ago

Assertion failure: false (MOZ_ASSERT_UNREACHABLE: leaking stream event), at src/xpcom/io/nsStreamUtils.cpp:67

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1477446
Tracking Status
firefox71 --- affected

People

(Reporter: tsmith, Unassigned)

Details

(Keywords: assertion)

Found with m-c:
BuildID=20190923160444
SourceStamp=e3a4bd8e4991ca6d26115faf528416e405759946

STR:

  1. open twitch.tv in a new tab and wait for the page to load fully
  2. close the tab

Assertion failure: false (MOZ_ASSERT_UNREACHABLE: leaking stream event), at src/xpcom/io/nsStreamUtils.cpp:67

#0 nsInputStreamReadyEvent::~nsInputStreamReadyEvent() src/xpcom/io/nsStreamUtils.cpp:67:11
#1 nsInputStreamReadyEvent::~nsInputStreamReadyEvent() src/xpcom/io/nsStreamUtils.cpp:47:30
#2 mozilla::Runnable::Release() src/xpcom/threads/nsThreadUtils.cpp:54:1
#3 nsPipeEvents::InputEntry::~InputEntry() src/xpcom/io/nsPipe3.cpp:80:10
#4 nsTArray_Impl<nsPipeEvents::InputEntry, nsTArrayInfallibleAllocator>::DestructRange(unsigned long, unsigned long) src/obj-firefox/dist/include/nsTArray.h:2247:7
#5 nsTArray_Impl<nsPipeEvents::InputEntry, nsTArrayInfallibleAllocator>::ClearAndRetainStorage() src/obj-firefox/dist/include/nsTArray.h:1329:5
#6 nsTArray_Impl<nsPipeEvents::InputEntry, nsTArrayInfallibleAllocator>::Clear() src/obj-firefox/dist/include/nsTArray.h:1828:5
#7 nsPipeEvents::~nsPipeEvents() src/xpcom/io/nsPipe3.cpp:1133:14
#8 nsPipe::OnPipeException(nsresult, bool) src/xpcom/io/nsPipe3.cpp:964:1
#9 nsPipeOutputStream::CloseWithStatus(nsresult) src/xpcom/io/nsPipe3.cpp:1622:10
#10 mozilla::dom::FetchDriver::OnStopRequest(nsIRequest*, nsresult) src/dom/fetch/FetchDriver.cpp:1221:21
#11 nsCORSListenerProxy::OnStopRequest(nsIRequest*, nsresult) src/netwerk/protocol/http/nsCORSListenerProxy.cpp:639:27
#12 mozilla::net::HttpChannelChild::DoOnStopRequest(nsIRequest*, nsresult, nsISupports*) src/netwerk/protocol/http/HttpChannelChild.cpp:1259:15
#13 mozilla::net::HttpChannelChild::OnStopRequest(nsresult const&, mozilla::net::ResourceTimingStruct const&, mozilla::net::nsHttpHeaderArray const&) src/netwerk/protocol/http/HttpChannelChild.cpp:1136:5
#14 mozilla::net::ChannelEventQueue::FlushQueue() src/netwerk/ipc/ChannelEventQueue.cpp:90:12
#15 mozilla::net::ChannelEventQueue::MaybeFlushQueue() src/obj-firefox/dist/include/mozilla/net/ChannelEventQueue.h:314:5
#16 mozilla::net::ChannelEventQueue::CompleteResume() src/obj-firefox/dist/include/mozilla/net/ChannelEventQueue.h:293:5
#17 mozilla::net::ChannelEventQueue::ResumeInternal()::CompleteResumeRunnable::Run() src/netwerk/ipc/ChannelEventQueue.cpp:148:17
#18 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1225:14
#19 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:486:10
#20 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:88:21
#21 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#22 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3
#23 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27
#24 XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:934:20
#25 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:238:9
#26 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#27 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3
#28 XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:769:34
#29 content_process_main(mozilla::Bootstrap*, int, char**) src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
#30 main src/browser/app/nsBrowserApp.cpp:272:18
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.