Closed Bug 1915031 Opened 1 year ago Closed 2 months ago

Assertion failure: JS::StringIsASCII(message.get()), at /builds/worker/checkouts/gecko/js/src/vm/ErrorReporting.cpp:564

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 2014878
Tracking Status
firefox131 --- affected

People

(Reporter: tsmith, Unassigned, NeedInfo)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, pernosco)

Found with m-c 20240812-2d25134707f3 (--enable-debug --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://dzen.ru/video/watch/6634ae8a994329234f1cfb10?clid=1400.

Assertion failure: JS::StringIsASCII(message.get()), at /builds/worker/checkouts/gecko/js/src/vm/ErrorReporting.cpp:564

0|0|xul.dll|js::ReportErrorVA(JSContext*, js::IsWarning, char const*, js::ErrorArgumentsType, char*)|hg:hg.mozilla.org/mozilla-central:js/src/vm/ErrorReporting.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|563|0x2fe
0|1|xul.dll|JS::WarnASCII(JSContext*, char const*, <NoType>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Warnings.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|33|0x5e
0|2|xul.dll|mozilla::dom::MediaError::GetMessage(nsTSubstring<char16_t>&) const|hg:hg.mozilla.org/mozilla-central:dom/html/MediaError.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|60|0x416
0|3|xul.dll|mozilla::dom::MediaError_Binding::get_message(JSContext*, JS::Handle<JSObject *>, void*, JSJitGetterCallArgs)|s3:gecko-generated-sources:bd1b5607a7755534daa5bd3d3d1c0b18eb384eb1456bc88f189f0d1978c35c66e4d67cc8cfa2796f580a5f971830a852e050bbefd1c668faedbc72bee83b2a0c/dom/bindings/MediaErrorBinding.cpp:|75|0xca
0|4|xul.dll|mozilla::dom::binding_detail::GenericGetter<mozilla::dom::binding_detail::NormalThisPolicy,mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|3150|0x1a4
0|5|xul.dll|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|487|0xf2
0|6|xul.dll|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|581|0x2a3
0|7|xul.dll|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|680|0x12c
0|8|xul.dll|js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|802|0x78
0|9|xul.dll|GetExistingProperty<1>(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::NativeObject *>, JS::Handle<JS::PropertyKey>, js::PropertyInfoBase<unsigned int>, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|2170|0x182
0|10|xul.dll|NativeGetPropertyInline<1>(JSContext*, JS::Handle<js::NativeObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, IsNameLookup, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|2318|0x1fd
0|11|xul.dll|js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|2349|0x1a
0|12|xul.dll|js::GetProperty(JSContext*, JS::Handle<JSObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/ObjectOperations-inl.h:5a8d6ce1655d114207f0129b163b98b49de3b656|117|0x7f
0|13|xul.dll|js::GetProperty(JSContext*, JS::Handle<JSObject *>, JS::Handle<JS::Value>, js::PropertyName*, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/ObjectOperations-inl.h:5a8d6ce1655d114207f0129b163b98b49de3b656|124|0x96
0|14|xul.dll|js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName *>, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|4901|0x1dd
0|15|xul.dll|js::Interpret(JSContext*, js::RunState&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|3112|0x6da1
0|16|xul.dll|js::RunScript(JSContext*, js::RunState&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|459|0x23c
0|17|xul.dll|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|613|0x2c0
0|18|xul.dll|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|680|0x12c
0|19|xul.dll|JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/vm/CallAndConstruct.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|119|0x20a
0|20|xul.dll|mozilla::dom::EventListener::HandleEvent(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::dom::Event&, mozilla::ErrorResult&)|s3:gecko-generated-sources:6abfc13115b948309184a7e9ce543dc15ead92ad0e3ca71d0317d30e904bb6ec61f75c018d28aff86d703b76fb4e3f03c2b28e269b262119a2f0a86ea09bf0f4/dom/bindings/EventListenerBinding.cpp:|62|0x41c
0|21|xul.dll|mozilla::dom::EventListener::HandleEvent<mozilla::dom::EventTarget *>(mozilla::dom::EventTarget* const&, mozilla::dom::Event&, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*)|s3:gecko-generated-sources:6ce01df723388c944dad872d465a7cef8b44b4d3c95ccae2972f258a811379269fccf96b88cd4c7252bb87b4ea9473f0a2e8c3b62fc0f2dc052db9b0dfb08f70/dist/include/mozilla/dom/EventListenerBinding.h:|65|0x126
0|22|xul.dll|mozilla::EventListenerManager::HandleEventSingleListener(mozilla::EventListenerManager::Listener*, nsAtom*, mozilla::WidgetEvent*, mozilla::dom::Event*, mozilla::dom::EventTarget*, bool)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1339|0x268
0|23|xul.dll|mozilla::EventListenerManager::HandleEventWithListenerArray(mozilla::EventListenerManager::ListenerArray*, nsAtom*, mozilla::EventMessage, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, bool)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1662|0x3f3
0|24|xul.dll|mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1559|0x226
0|25|xul.dll|mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|365|0x1ec
0|26|xul.dll|mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|606|0x684
0|27|xul.dll|mozilla::EventDispatcher::Dispatch(mozilla::dom::EventTarget*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget *>*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1221|0x1414
0|28|xul.dll|mozilla::EventDispatcher::DispatchDOMEvent(mozilla::dom::EventTarget*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsPresContext*, nsEventStatus*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1363|0x12f
0|29|xul.dll|nsINode::DispatchEvent(mozilla::dom::Event&, mozilla::dom::CallerType, mozilla::ErrorResult&)|hg:hg.mozilla.org/mozilla-central:dom/base/nsINode.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1441|0x11d
0|30|xul.dll|nsContentUtils::DispatchEvent(mozilla::dom::Document*, mozilla::dom::EventTarget*, nsTSubstring<char16_t> const&, mozilla::CanBubble, mozilla::Cancelable, mozilla::Composed, mozilla::Trusted, bool*, mozilla::ChromeOnlyDispatch)|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|4872|0x11c
0|31|xul.dll|nsContentUtils::DispatchTrustedEvent(mozilla::dom::Document*, mozilla::dom::EventTarget*, nsTSubstring<char16_t> const&, mozilla::CanBubble, mozilla::Cancelable, mozilla::Composed, bool*)|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|4838|0x8a
0|32|xul.dll|mozilla::dom::HTMLMediaElement::DispatchEvent(nsTSubstring<char16_t> const&)|hg:hg.mozilla.org/mozilla-central:dom/html/HTMLMediaElement.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|6363|0xe7
0|33|xul.dll|mozilla::RunnableTask::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|618|0x1d
0|34|xul.dll|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|945|0x96c
0|35|xul.dll|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|768|0x57
0|36|xul.dll|mozilla::TaskController::ProcessPendingMTTask(bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/TaskController.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|554|0x69
0|37|xul.dll|mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:268:7'>::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:5a8d6ce1655d114207f0129b163b98b49de3b656|548|0x16
0|38|xul.dll|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|1155|0x642
0|39|xul.dll|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|480|0x6c
0|40|xul.dll|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|85|0xc9
0|41|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5a8d6ce1655d114207f0129b163b98b49de3b656|363|0x4c
0|42|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5a8d6ce1655d114207f0129b163b98b49de3b656|345|0x6e
0|43|xul.dll|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|148|0x27
0|44|xul.dll|nsAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/windows/nsAppShell.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|655|0x189
0|45|xul.dll|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|710|0x78
0|46|xul.dll|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|235|0x39
0|47|xul.dll|MessageLoop::RunHandler()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5a8d6ce1655d114207f0129b163b98b49de3b656|363|0x4c
0|48|xul.dll|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5a8d6ce1655d114207f0129b163b98b49de3b656|345|0x6e
0|49|xul.dll|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|645|0x8a9
0|50|firefox.exe|NS_internal_main(int, char**, char**)|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|403|0x259
0|51|firefox.exe|wmain(int, wchar_t**)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsWindowsWMain.cpp:5a8d6ce1655d114207f0129b163b98b49de3b656|151|0x216
0|52|firefox.exe|__scrt_common_main_seh()|/builds/worker/workspace/obj-build/browser/app/D:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl|288|0x10b
0|53|kernel32.dll||||
0|54|ntdll.dll||||
0|55|KERNELBASE.dll||||

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

Keywords: pernosco
Component: JavaScript Engine → Audio/Video: Playback
Flags: needinfo?(cchang)
Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 2014878
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.