Closed Bug 1919416 Opened 5 months ago Closed 3 months ago

Assertion failure: mOnDataAvailableStartTime.IsNull(), at /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:3048

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1928962
Tracking Status
firefox132 --- affected

People

(Reporter: tsmith, Assigned: smayya)

References

(Blocks 1 open bug, )

Details

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

Found with m-c 20240917-48a19540af0f (--enable-address-sanitizer --enable-fuzzing)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://hemeroteca.mundodeportivo.com/preview/1923/06/04/pagina-1/1383045/pdf.html.

Assertion failure: mOnDataAvailableStartTime.IsNull(), at /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:3048

#0 0x763a1be374a9 in mozilla::net::HttpChannelChild::RetargetDeliveryTo(nsISerialEventTarget*) /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:3048:3
#1 0x763a1c6aa5f8 in nsHtml5StreamParser::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1202:37
#2 0x763a1c6a9b90 in nsHtml5StreamListener::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamListener.cpp:69:45
#3 0x763a1c5c457d in nsDocumentOpenInfo::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/uriloader/base/nsURILoader.cpp:169:34
#4 0x763a1b7ad921 in NS_InvokeByIndex /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:101
#5 0x763a1c4a12ad in Invoke /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1620:10
#6 0x763a1c4a12ad in CallMethodHelper::Call() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1174:19
#7 0x763a1c4a0fa7 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNative.cpp:1120:23
#8 0x763a1c4a2ea5 in XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:966:10
#9 0x763a21ed0084 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:518:13
#10 0x763a21ecf86f in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:12
#11 0x763a21edf039 in CallFromStack /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:684:10
#12 0x763a21edf039 in js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3509:16
#13 0x763a21ecefb6 in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:490:13
#14 0x763a21ecf968 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:644:13
#15 0x763a21ed0e6f in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:711:8
#16 0x763a21fd1dc2 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:55:10
#17 0x763a1c4991ed in nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17
#18 0x763a1b7ae7f4 in PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37
#19 0x763a1b7adaea in SharedStub xptcstubs_x86_64_linux.cpp
#20 0x763a1c4d4b1f in nsJARChannel::OnStartRequest(nsIRequest*) /builds/worker/checkouts/gecko/modules/libjar/nsJARChannel.cpp:1205:28
#21 0x763a1b99574d in nsInputStreamPump::OnStateStart() /builds/worker/checkouts/gecko/netwerk/base/nsInputStreamPump.cpp:504:20
#22 0x763a1b9952f4 in nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/checkouts/gecko/netwerk/base/nsInputStreamPump.cpp:409:21
#23 0x763a1b99667c in non-virtual thunk to nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) /builds/worker/checkouts/gecko/netwerk/base/nsInputStreamPump.cpp
#24 0x763a1b72e4cf in operator() /builds/worker/checkouts/gecko/xpcom/io/nsPipe3.cpp:86:47
#25 0x763a1b72e4cf in already_AddRefed<mozilla::CancelableRunnable> NS_NewCancelableRunnableFunction<CallbackHolder::CallbackHolder(nsIAsyncOutputStream*, nsIOutputStreamCallback*, unsigned int, nsIEventTarget*)::'lambda'()>(char const*, CallbackHolder::CallbackHolder(nsIAsyncOutputStream*, nsIOutputStreamCallback*, unsigned int, nsIEventTarget*)::'lambda'()&&)::FuncCancelableRunnable::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:636:9
#26 0x763a1b76d1c7 in mozilla::RunnableTask::Run() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:618:16
#27 0x763a1b762c56 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:945:26
#28 0x763a1b761667 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:768:15
#29 0x763a1b761ae5 in mozilla::TaskController::ProcessPendingMTTask(bool) /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:554:36
#30 0x763a1b770b36 in operator() /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:268:37
#31 0x763a1b770b36 in mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:548:5
#32 0x763a1b78425b in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1155:16
#33 0x763a1b78af3f in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10
#34 0x763a1c2f4c05 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:85:21
#35 0x763a1c247fe1 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3
#36 0x763a1c247fe1 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3
#37 0x763a20db2c28 in nsBaseAppShell::Run() /builds/worker/checkouts/gecko/widget/nsBaseAppShell.cpp:148:27
#38 0x763a20e60178 in nsAppShell::Run() /builds/worker/checkouts/gecko/widget/gtk/nsAppShell.cpp:469:33
#39 0x763a21d2468b in XRE_RunAppShell() /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:710:20
#40 0x763a1c2f5a56 in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:235:9
#41 0x763a1c247fe1 in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3
#42 0x763a1c247fe1 in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3
#43 0x763a21d23f1b in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/checkouts/gecko/toolkit/xre/nsEmbedFunctions.cpp:645:34
#44 0x5fc01b90d08e in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:403:22

This assertion was just added by bug 1887783.

A Pernosco session is available here: https://pernos.co/debug/PJwXACIWTgFoagR4AEaEgA/index.html

Flags: needinfo?(smayya)
Keywords: pernosco

I will check this next week.

Flags: needinfo?(smayya)
Assignee: nobody → smayya
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

Making it S2 inline with Bug 1928962.

We also have steps mentioned in Bug 1928962.



The stack trace at the NS_WARNING is attached.

STR: I have no idea if this associated with wasm; I only know that our tests
cause it to fail.

A recent debug build of m-c (from Sun 3 Nov 2024 or later)

Set javascript.options.wasm_caching = false
Set javascript.options.wasm_lazy_tiering = true
(optional) run with MOZ_LOG=wasmPerf:3

https://zal.im/wasm/jetsnack triggers the above warning.
Severity: S3 → S2
Rank: 1
See Also: → 1928962
Status: NEW → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1928962
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.