Bug 1991250 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Crash report: https://crash-stats.mozilla.org/report/index/10c2ee8a-0313-4b52-be52-8a31e0250927

MOZ_CRASH Reason:
```
MOZ_RELEASE_ASSERT(!listElem->isInList())
```

Top 10 frames:
```
0  xul.dll  mozilla::LinkedListElement<JS::loader::ScriptLoadRequest>::setPreviousUnsafe(...  mfbt/LinkedList.h:334
0  xul.dll  mozilla::LinkedList<JS::loader::ScriptLoadRequest>::insertBack(JS::loader::Sc...  mfbt/LinkedList.h:526
0  xul.dll  JS::loader::ScriptLoadRequestList::AppendElement(JS::loader::ScriptLoadRequest*)  js/loader/ScriptLoadRequestList.cpp:42
0  xul.dll  mozilla::dom::ScriptLoader::CalculateCacheFlag(JS::loader::ScriptLoadRequest*)  dom/script/ScriptLoader.cpp:2875
1  xul.dll  mozilla::dom::ModuleLoader::CompileJavaScriptModule(JSContext*, JS::CompileOp...  dom/script/ModuleLoader.cpp:236
1  xul.dll  mozilla::dom::ModuleLoader::CompileFetchedModule(JSContext*, JS::Handle<JSObj...  dom/script/ModuleLoader.cpp:223
2  xul.dll  JS::loader::ModuleLoaderBase::CreateModuleScript(JS::loader::ModuleLoadRequest*)  js/loader/ModuleLoaderBase.cpp:977
2  xul.dll  JS::loader::ModuleLoaderBase::OnFetchComplete(JS::loader::ModuleLoadRequest*,...  js/loader/ModuleLoaderBase.cpp:748
3  xul.dll  JS::loader::ModuleLoadRequest::OnFetchComplete(nsresult)  js/loader/ModuleLoadRequest.h:105
3  xul.dll  mozilla::dom::ScriptLoader::PrepareLoadedRequest(JS::loader::ScriptLoadReques...  dom/script/ScriptLoader.cpp:4689
```


Getting this when opening https://www.tomshardware.com/. 

Repros with all addons disabled. Does not repro on a fresh profile.
Crash report: https://crash-stats.mozilla.org/report/index/10c2ee8a-0313-4b52-be52-8a31e0250927

MOZ_CRASH Reason:
```
MOZ_RELEASE_ASSERT(!listElem->isInList())
```

Top 10 frames:
```
0  xul.dll  mozilla::LinkedListElement<JS::loader::ScriptLoadRequest>::setPreviousUnsafe(...  mfbt/LinkedList.h:334
0  xul.dll  mozilla::LinkedList<JS::loader::ScriptLoadRequest>::insertBack(JS::loader::Sc...  mfbt/LinkedList.h:526
0  xul.dll  JS::loader::ScriptLoadRequestList::AppendElement(JS::loader::ScriptLoadRequest*)  js/loader/ScriptLoadRequestList.cpp:42
0  xul.dll  mozilla::dom::ScriptLoader::CalculateCacheFlag(JS::loader::ScriptLoadRequest*)  dom/script/ScriptLoader.cpp:2875
1  xul.dll  mozilla::dom::ModuleLoader::CompileJavaScriptModule(JSContext*, JS::CompileOp...  dom/script/ModuleLoader.cpp:236
1  xul.dll  mozilla::dom::ModuleLoader::CompileFetchedModule(JSContext*, JS::Handle<JSObj...  dom/script/ModuleLoader.cpp:223
2  xul.dll  JS::loader::ModuleLoaderBase::CreateModuleScript(JS::loader::ModuleLoadRequest*)  js/loader/ModuleLoaderBase.cpp:977
2  xul.dll  JS::loader::ModuleLoaderBase::OnFetchComplete(JS::loader::ModuleLoadRequest*,...  js/loader/ModuleLoaderBase.cpp:748
3  xul.dll  JS::loader::ModuleLoadRequest::OnFetchComplete(nsresult)  js/loader/ModuleLoadRequest.h:105
3  xul.dll  mozilla::dom::ScriptLoader::PrepareLoadedRequest(JS::loader::ScriptLoadReques...  dom/script/ScriptLoader.cpp:4689
```


Getting this when opening https://www.tomshardware.com/. 

Repros with all addons disabled. Does not repro on a fresh profile.

Edit: I dont repro now.  The crash had something to do with dom.script_loader.navigation_cache = TRUE

Back to Bug 1991250 Comment 0