Closed Bug 1996320 Opened 1 month ago Closed 1 month ago

Assertion failure: !aRequest->getLoadedScript()->HasDiskCacheReference(), at /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:3346

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox144 --- unaffected
firefox145 --- unaffected
firefox146 --- fixed

People

(Reporter: tsmith, Assigned: arai)

References

(Blocks 2 open bugs, Regression, )

Details

(Keywords: assertion, pernosco, regression)

Found with m-c 20251024-46d11fbf41a3 (--enable-debug)

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://hotelclub.net/.

Assertion failure: !aRequest->getLoadedScript()->HasDiskCacheReference(), at /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:3346

0|0|xul.dll|mozilla::dom::ScriptLoader::MaybePrepareForDiskCacheAfterExecute(JS::loader::ScriptLoadRequest*, nsresult)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|3345|0x169
0|1|xul.dll|mozilla::dom::ScriptLoader::EvaluateScript(nsIGlobalObject*, JS::loader::ScriptLoadRequest*)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|3471|0x6aa
0|2|xul.dll|mozilla::dom::ScriptLoader::EvaluateScriptElement(JS::loader::ScriptLoadRequest*)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|2989|0x2ab
0|3|xul.dll|mozilla::dom::ScriptLoader::ProcessRequest(JS::loader::ScriptLoadRequest*)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|2495|0x2d2
0|4|xul.dll|mozilla::dom::ScriptLoader::ProcessPendingRequests(bool)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|3774|0x99
0|5|xul.dll|mozilla::dom::ScriptLoader::ProcessOffThreadRequest(JS::loader::ScriptLoadRequest*)|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|2437|0x184
0|6|xul.dll|mozilla::dom::(anonymous namespace)::OffThreadCompilationCompleteTask::Run()|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|1977|0x300
0|7|xul.dll|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|1325|0x737
0|8|xul.dll|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|1148|0x57
0|9|xul.dll|mozilla::TaskController::ProcessPendingMTTask(bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|641|0x69
0|10|xul.dll|mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:333:7'>::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|550|0x16
0|11|xul.dll|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|1166|0x66b
0|12|xul.dll|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|462|0x70
0|13|xul.dll|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|85|0xb7
0|14|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|361|0x3e
0|15|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|343|0x6e
0|16|xul.dll|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|152|0x27
0|17|xul.dll|nsAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/windows/nsAppShell.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|674|0x17d
0|18|xul.dll|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|657|0x78
0|19|xul.dll|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|235|0x39
0|20|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|361|0x3e
0|21|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|343|0x6e
0|22|xul.dll|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|595|0xa59
0|23|firefox.exe|NS_internal_main(int, char**, char**)|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|465|0x27d
0|24|firefox.exe|wmain(int, wchar_t**)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsWindowsWMain.cpp:46d11fbf41a3492fab9eb7e7fcddbbffb27ad2fe|150|0x246

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

Keywords: pernosco

Thank you for filing!

Fix incoming in bug 1996181.
Planned to be landed in next week.
If it's urgent, then we can backout bug 1992646 and then bug 1992341.

Thanks, no hurry for the fix.

Set release status flags based on info from the regressing bug 1992341

Depends on: 1996181
Blocks: stencil-nav
Severity: -- → S3
Priority: -- → P3

This should be fixed by bug 1996181 patch.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Assignee: nobody → arai.unmht
Target Milestone: --- → 146 Branch
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.