Assertion failure: mMightHaveUnreportedJSException (Why didn't you tell us you planned to throw a JS exception?), at checkouts/gecko/dom/bindings/BindingUtils.cpp:686
Categories
(Core :: Storage: IndexedDB, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | wontfix |
| firefox153 | --- | wontfix |
| firefox154 | --- | fixed |
People
(Reporter: tsmith, Assigned: abienner)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: assertion, pernosco, regression)
Attachments
(1 external file)
Found with m-c 20260712-b53abafc73d0 (--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://submit.shutterstock.com/. A Pernosco session is available here: https://pernos.co/debug/o3JqgeGwTg07PgE1ICR8ig/index.html
Assertion failure: mMightHaveUnreportedJSException (Why didn't you tell us you planned to throw a JS exception?), at checkouts/gecko/dom/bindings/BindingUtils.cpp:686
0|0|libxul.so|mozilla::binding_danger::TErrorResult<mozilla::binding_danger::AssertAndSuppressCleanupPolicy>::StealExceptionFromJSContext(JSContext*)|git:github.com/mozilla-firefox/firefox:dom/bindings/BindingUtils.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|685|0xff
0|1|libxul.so|mozilla::dom::GetAllOptionsFromQueryOrOptions(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Optional<unsigned int> const&, mozilla::dom::IDBTransaction*)|git:github.com/mozilla-firefox/firefox:dom/indexedDB/IDBGetAllOptions.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|56|0x8fc
0|2|libxul.so|mozilla::dom::IDBIndex::GetAll(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Optional<unsigned int> const&, mozilla::ErrorResult&)|git:github.com/mozilla-firefox/firefox:dom/indexedDB/IDBIndex.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|123|0x11e
0|3|libxul.so|mozilla::dom::IDBIndex_Binding::getAll(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&)|s3:gecko-generated-sources:18d4ebece55b8267e550abb28e0425591145eed2a78d29d8f6d22cc724769a7bf93dcdab52a14a44809367ddf74a522f6d643b06c086c39f2320701dfbb53840/dom/bindings/IDBIndexBinding.cpp:|691|0x1b5
0|4|libxul.so|mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|git:github.com/mozilla-firefox/firefox:dom/bindings/BindingUtils.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|3215|0x1b5
0|5|libxul.so|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|498|0xf4
0|6|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|594|0x2bf
0|7|libxul.so|js::Interpret(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|3280|0xbd02
0|8|libxul.so|MaybeEnterInterpreterTrampoline(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|392|0x236
0|9|libxul.so|js::RunScript(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|468|0x3da
0|10|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|626|0x2e5
0|11|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|693|0x12c
0|12|libxul.so|js::PromiseObject::create(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, bool)|git:github.com/mozilla-firefox/firefox:js/src/builtin/Promise.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|3491|0x548
0|13|libxul.so|PromiseConstructor(JSContext*, unsigned int, JS::Value*)|git:github.com/mozilla-firefox/firefox:js/src/builtin/Promise.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|3393|0x279
0|14|libxul.so|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|498|0xf4
0|15|libxul.so|CallJSNativeConstructor(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|516|0x8c
0|16|libxul.so|InternalConstruct(JSContext*, js::AnyConstructArgs const&, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|722|0x38d
0|17|libxul.so|js::Interpret(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|3265|0xbca3
0|18|libxul.so|MaybeEnterInterpreterTrampoline(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|392|0x236
0|19|libxul.so|js::RunScript(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|468|0x3da
0|20|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|626|0x2e5
0|21|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|693|0x12c
0|22|libxul.so|js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/SelfHosting.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|1185|0xf7
0|23|libxul.so|js::jit::InterpretResume(JSContext*, JS::Handle<JSObject*>, JS::Value*, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/jit/VMFunctions.cpp:d4ae522db3b933e502d1febec899e7955c1fb633|1197|0x1ae
0|24|||||
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 2•4 months ago
|
||
| Assignee | ||
Comment 3•4 months ago
|
||
As I understand it, those debug checks are here to make sure we explicitly describe when we might have an exception (which is the case here since we are "stealing" it if one occurred), to make sure no exception is leaked/swallowed without us noticing.
Since we are already stealing the exception if there is one, there was no leak/no real bug here: just a missing call to MightThrowJSException to correctly set the flag used for debug asserts.
Because it's only a debug assert, and because it didn't hide a real bug/exception leak, I don't see any reason to request an uplift.
Updated•4 months ago
|
Updated•3 months ago
|
Description
•