Closed Bug 1752904 Opened 2 years ago Closed 2 years ago

Crash [@ nsWrapperCache::GetWrapperPreserveColor]

Categories

(Core :: DOM: Workers, defect, P3)

x86_64
Linux
defect

Tracking

()

VERIFIED FIXED
99 Branch
Tracking Status
firefox99 --- verified

People

(Reporter: jkratzer, Assigned: smaug)

References

(Blocks 1 open bug)

Details

(Keywords: testcase, Whiteboard: [bugmon:bisected,confirmed])

Crash Data

Attachments

(2 files)

Testcase found while fuzzing mozilla-central rev 49a9d19fd713 (built with: --enable-address-sanitizer --enable-fuzzing).

Testcase can be reproduced using the following commands:

$ pip install fuzzfetch grizzly-framework
$ python -m fuzzfetch --build 49a9d19fd713 --asan --fuzzing -n firefox
$ python -m grizzly.replay ./firefox/firefox testcase.zip
[@ nsWrapperCache::GetWrapperPreserveColor]

    =================================================================
    ==1661679==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x7f68cea98c82 bp 0x7f6839bd6b50 sp 0x7f6839bd6aa0 T21)
    ==1661679==The signal is caused by a READ memory access.
    ==1661679==Hint: address points to the zero page.
        #0 0x7f68cea98c82 in nsWrapperCache::GetWrapperPreserveColor() const /dom/base/nsWrapperCacheInlines.h
        #1 0x7f68ced07b70 in nsWrapperCache::GetWrapper() const /builds/worker/workspace/obj-build/dist/include/nsWrapperCacheInlines.h:28:19
        #2 0x7f68d2aa7a83 in DoGetOrCreateDOMReflector<mozilla::dom::Blob, mozilla::dom::binding_detail::eWrapIntoContextCompartment> /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingUtils.h:1049:26
        #3 0x7f68d2aa7a83 in GetOrCreateDOMReflector<mozilla::dom::Blob> /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingUtils.h:1124:10
        #4 0x7f68d2aa7a83 in mozilla::dom::GetOrCreateDOMReflectorHelper<RefPtr<mozilla::dom::Blob>, true>::GetOrCreate(JSContext*, RefPtr<mozilla::dom::Blob> const&, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingUtils.h:1693:12
        #5 0x7f68d6c13c18 in GetOrCreateDOMReflector<RefPtr<mozilla::dom::Blob> > /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingUtils.h:1711:10
        #6 0x7f68d6c13c18 in mozilla::dom::XMLHttpRequestWorker::GetResponse(JSContext*, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&) /dom/xhr/XMLHttpRequestWorker.cpp:2162:12
        #7 0x7f68d3ca89e5 in mozilla::dom::XMLHttpRequest_Binding::get_response(JSContext*, JS::Handle<JSObject*>, void*, JSJitGetterCallArgs) /builds/worker/workspace/obj-build/dom/bindings/XMLHttpRequestBinding.cpp:1793:24
        #8 0x7f68d43b7484 in bool mozilla::dom::binding_detail::GenericGetter<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) /dom/bindings/BindingUtils.cpp:3188:13
        #9 0x7f68dc00c934 in CallJSNative /js/src/vm/Interpreter.cpp:425:13
        #10 0x7f68dc00c934 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /js/src/vm/Interpreter.cpp:512:12
        #11 0x7f68dc00ebbb in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /js/src/vm/Interpreter.cpp:589:8
        #12 0x7f68dc01014b in js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /js/src/vm/Interpreter.cpp:715:10
        #13 0x7f68dc5005f2 in CallGetter /js/src/vm/NativeObject.cpp:1970:12
        #14 0x7f68dc5005f2 in GetExistingProperty<js::CanGC> /js/src/vm/NativeObject.cpp:1998:12
        #15 0x7f68dc5005f2 in NativeGetPropertyInline<js::CanGC> /js/src/vm/NativeObject.cpp:2144:14
        #16 0x7f68dc5005f2 in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /js/src/vm/NativeObject.cpp:2175:10
        #17 0x7f68dc015fe9 in GetProperty /js/src/vm/ObjectOperations-inl.h:120:10
        #18 0x7f68dc015fe9 in js::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, js::PropertyName*, JS::MutableHandle<JS::Value>) /js/src/vm/ObjectOperations-inl.h:127:10
        #19 0x7f68dc015644 in js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /js/src/vm/Interpreter.cpp:4710:10
        #20 0x7f68dbfe63e8 in GetPropertyOperation /js/src/vm/Interpreter.cpp:208:10
        #21 0x7f68dbfe63e8 in Interpret(JSContext*, js::RunState&) /js/src/vm/Interpreter.cpp:2973:12
        #22 0x7f68dbfddbc1 in js::RunScript(JSContext*, js::RunState&) /js/src/vm/Interpreter.cpp:394:13
        #23 0x7f68dc00ca6f in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /js/src/vm/Interpreter.cpp:544:13
        #24 0x7f68dc00ebbb in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /js/src/vm/Interpreter.cpp:589:8
        #25 0x7f68dc28cdfd in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /js/src/vm/CallAndConstruct.cpp:117:10
        #26 0x7f68d3fef24f in mozilla::dom::EventHandlerNonNull::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::dom::Event&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/EventHandlerBinding.cpp:283:37
        #27 0x7f68d4ce3a93 in void mozilla::dom::EventHandlerNonNull::Call<nsCOMPtr<mozilla::dom::EventTarget> >(nsCOMPtr<mozilla::dom::EventTarget> const&, mozilla::dom::Event&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*) /builds/worker/workspace/obj-build/dist/include/mozilla/dom/EventHandlerBinding.h:365:12
        #28 0x7f68d4ce1fc4 in mozilla::JSEventHandler::HandleEvent(mozilla::dom::Event*) /dom/events/JSEventHandler.cpp:201:12
        #29 0x7f68d4ca9198 in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*) /dom/events/EventListenerManager.cpp:1314:22
        #30 0x7f68d4caa7f8 in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool) /dom/events/EventListenerManager.cpp:1505:17
        #31 0x7f68d4c9887e in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) /dom/events/EventDispatcher.cpp:348:17
        #32 0x7f68d4c9708d in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) /dom/events/EventDispatcher.cpp:550:16
        #33 0x7f68d4c9b305 in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) /dom/events/EventDispatcher.cpp:1085:11
        #34 0x7f68d4ca0a69 in mozilla::EventDispatcher::DispatchDOMEvent(nsISupports*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsPresContext*, nsEventStatus*) /dom/events/EventDispatcher.cpp
        #35 0x7f68d4c5267d in mozilla::DOMEventTargetHelper::DispatchEvent(mozilla::dom::Event&, mozilla::dom::CallerType, mozilla::ErrorResult&) /dom/events/DOMEventTargetHelper.cpp:181:17
        #36 0x7f68d4cb83f3 in mozilla::dom::EventTarget::DispatchEvent(mozilla::dom::Event&) /dom/events/EventTarget.cpp:180:13
        #37 0x7f68d6866ff6 in mozilla::dom::MessageEventRunnable::DispatchDOMEvent(JSContext*, mozilla::dom::WorkerPrivate*, mozilla::DOMEventTargetHelper*, bool) /dom/workers/MessageEventRunnable.cpp:105:12
        #38 0x7f68d68ddd1b in mozilla::dom::WorkerRunnable::Run() /dom/workers/WorkerRunnable.cpp:377:12
        #39 0x7f68cecb8fdb in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1189:16
        #40 0x7f68cecc398c in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:467:10
        #41 0x7f68d68c5ae0 in mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) /dom/workers/WorkerPrivate.cpp:3114:7
        #42 0x7f68d688c65d in mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() /dom/workers/RuntimeService.cpp:2167:42
        #43 0x7f68cecb8fdb in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1189:16
        #44 0x7f68cecc398c in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:467:10
        #45 0x7f68d01d7d3d in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:300:20
        #46 0x7f68d005b6a1 in RunInternal /ipc/chromium/src/base/message_loop.cc:331:10
        #47 0x7f68d005b6a1 in RunHandler /ipc/chromium/src/base/message_loop.cc:324:3
        #48 0x7f68d005b6a1 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:306:3
        #49 0x7f68cecb14ef in nsThread::ThreadFunc(void*) /xpcom/threads/nsThread.cpp:391:10
        #50 0x7f68f192202e in _pt_root /nsprpub/pr/src/pthreads/ptthread.c:201:5
        #51 0x7f68f3a38608 in start_thread /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477:8
        #52 0x7f68f3600292 in __clone /build/glibc-eX1tMB/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
    
    AddressSanitizer can not provide additional info.
    SUMMARY: AddressSanitizer: SEGV /dom/base/nsWrapperCacheInlines.h in nsWrapperCache::GetWrapperPreserveColor() const
    Thread T21 (DOM Worker) created by T0 (Isolated Web Co) here:
        #0 0x559703c86fac in __interceptor_pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cpp:207:3
        #1 0x7f68f19120b4 in _PR_CreateThread /nsprpub/pr/src/pthreads/ptthread.c:458:14
        #2 0x7f68f190335e in PR_CreateThread /nsprpub/pr/src/pthreads/ptthread.c:533:12
        #3 0x7f68cecb4835 in nsThread::Init(nsTSubstring<char> const&) /xpcom/threads/nsThread.cpp:627:18
        #4 0x7f68d68ec162 in mozilla::dom::WorkerThread::Create(mozilla::dom::WorkerThreadFriendKey const&) /dom/workers/WorkerThread.cpp:102:7
        #5 0x7f68d686c6b8 in mozilla::dom::workerinternals::RuntimeService::ScheduleWorker(mozilla::dom::WorkerPrivate&) /dom/workers/RuntimeService.cpp:1326:14
        #6 0x7f68d686b5d7 in mozilla::dom::workerinternals::RuntimeService::RegisterWorker(mozilla::dom::WorkerPrivate&) /dom/workers/RuntimeService.cpp:1193:19
        #7 0x7f68d68c01f4 in mozilla::dom::WorkerPrivate::Constructor(JSContext*, nsTSubstring<char16_t> const&, bool, mozilla::dom::WorkerKind, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::WorkerLoadInfo*, mozilla::ErrorResult&, nsTString<char16_t>) /dom/workers/WorkerPrivate.cpp:2524:24
        #8 0x7f68d687695d in mozilla::dom::Worker::Constructor(mozilla::dom::GlobalObject const&, nsTSubstring<char16_t> const&, mozilla::dom::WorkerOptions const&, mozilla::ErrorResult&) /dom/workers/Worker.cpp:44:41
        #9 0x7f68d3c7a3ec in mozilla::dom::Worker_Binding::_constructor(JSContext*, unsigned int, JS::Value*) /builds/worker/workspace/obj-build/dom/bindings/WorkerBinding.cpp:1107:52
        #10 0x7f68dc00f765 in CallJSNative /js/src/vm/Interpreter.cpp:425:13
        #11 0x7f68dc00f765 in CallJSNativeConstructor /js/src/vm/Interpreter.cpp:441:8
        #12 0x7f68dc00f765 in InternalConstruct(JSContext*, js::AnyConstructArgs const&) /js/src/vm/Interpreter.cpp:636:10
        #13 0x7f68dbff8d16 in Interpret(JSContext*, js::RunState&) /js/src/vm/Interpreter.cpp:3299:16
        #14 0x7f68dbfddbc1 in js::RunScript(JSContext*, js::RunState&) /js/src/vm/Interpreter.cpp:394:13
        #15 0x7f68dc00ca6f in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /js/src/vm/Interpreter.cpp:544:13
        #16 0x7f68dc00ebbb in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /js/src/vm/Interpreter.cpp:589:8
        #17 0x7f68dc28cdfd in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /js/src/vm/CallAndConstruct.cpp:117:10
        #18 0x7f68d3ff1e09 in mozilla::dom::EventListener::HandleEvent(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, mozilla::dom::Event&, mozilla::ErrorResult&) /builds/worker/workspace/obj-build/dom/bindings/EventListenerBinding.cpp:62:8
        #19 0x7f68d4ca9644 in void mozilla::dom::EventListener::HandleEvent<mozilla::dom::EventTarget*>(mozilla::dom::EventTarget* const&, mozilla::dom::Event&, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObject::ExceptionHandling, JS::Realm*) /builds/worker/workspace/obj-build/dist/include/mozilla/dom/EventListenerBinding.h:65:12
        #20 0x7f68d4ca9100 in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*) /dom/events/EventListenerManager.cpp:1308:43
        #21 0x7f68d4caa7ac in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool) /dom/events/EventListenerManager.cpp:1505:17
        #22 0x7f68d4c9887e in mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&) /dom/events/EventDispatcher.cpp:348:17
        #23 0x7f68d4c9708d in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) /dom/events/EventDispatcher.cpp:550:16
        #24 0x7f68d4c9b305 in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) /dom/events/EventDispatcher.cpp:1085:11
        #25 0x7f68d76694c7 in nsDocumentViewer::LoadComplete(nsresult) /layout/base/nsDocumentViewer.cpp:1084:7
        #26 0x7f68db0ae433 in nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, nsresult) /docshell/base/nsDocShell.cpp:6291:20
        #27 0x7f68db0ad72b in nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) /docshell/base/nsDocShell.cpp:5680:7
        #28 0x7f68db0af6ff in non-virtual thunk to nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) /docshell/base/nsDocShell.cpp
        #29 0x7f68d130f970 in nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, nsresult) /uriloader/base/nsDocLoader.cpp:1377:3
        #30 0x7f68d130e584 in nsDocLoader::doStopDocumentLoad(nsIRequest*, nsresult) /uriloader/base/nsDocLoader.cpp:975:14
        #31 0x7f68d130adb2 in nsDocLoader::DocLoaderIsEmpty(bool, mozilla::Maybe<nsresult> const&) /uriloader/base/nsDocLoader.cpp:794:9
        #32 0x7f68d130cf75 in nsDocLoader::OnStopRequest(nsIRequest*, nsresult) /uriloader/base/nsDocLoader.cpp:677:5
        #33 0x7f68db0e828b in nsDocShell::OnStopRequest(nsIRequest*, nsresult) /docshell/base/nsDocShell.cpp:13590:23
        #34 0x7f68cf02155e in mozilla::net::nsLoadGroup::NotifyRemovalObservers(nsIRequest*, nsresult) /netwerk/base/nsLoadGroup.cpp:614:22
        #35 0x7f68cf023fa3 in mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult) /netwerk/base/nsLoadGroup.cpp:518:10
        #36 0x7f68d254f3c2 in mozilla::dom::Document::DoUnblockOnload() /dom/base/Document.cpp:11554:18
        #37 0x7f68d24fc7c7 in mozilla::dom::Document::UnblockOnload(bool) /dom/base/Document.cpp:11484:9
        #38 0x7f68d252717c in mozilla::dom::Document::DispatchContentLoadedEvents() /dom/base/Document.cpp:7999:3
        #39 0x7f68d2616d4d in applyImpl<mozilla::dom::Document, void (mozilla::dom::Document::*)()> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1147:12
        #40 0x7f68d2616d4d in apply<mozilla::dom::Document, void (mozilla::dom::Document::*)()> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1153:12
        #41 0x7f68d2616d4d in mozilla::detail::RunnableMethodImpl<mozilla::dom::Document*, void (mozilla::dom::Document::*)(), true, (mozilla::RunnableKind)0>::Run() /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:1200:13
        #42 0x7f68cec84fff in mozilla::SchedulerGroup::Runnable::Run() /xpcom/threads/SchedulerGroup.cpp:140:20
        #43 0x7f68cecd2bb2 in mozilla::RunnableTask::Run() /xpcom/threads/TaskController.cpp:467:16
        #44 0x7f68cec9848d in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:770:26
        #45 0x7f68cec959e8 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:606:15
        #46 0x7f68cec960f9 in mozilla::TaskController::ProcessPendingMTTask(bool) /xpcom/threads/TaskController.cpp:390:36
        #47 0x7f68cecdaf31 in operator() /xpcom/threads/TaskController.cpp:124:37
        #48 0x7f68cecdaf31 in mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() /xpcom/threads/nsThreadUtils.h:531:5
        #49 0x7f68cecb87a7 in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1195:16
        #50 0x7f68cecc398c in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:467:10
        #51 0x7f68d01d668f in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:85:21
        #52 0x7f68d005b6a1 in RunInternal /ipc/chromium/src/base/message_loop.cc:331:10
        #53 0x7f68d005b6a1 in RunHandler /ipc/chromium/src/base/message_loop.cc:324:3
        #54 0x7f68d005b6a1 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:306:3
        #55 0x7f68d6ff7f07 in nsBaseAppShell::Run() /widget/nsBaseAppShell.cpp:137:27
        #56 0x7f68dbd2a17f in XRE_RunAppShell() /toolkit/xre/nsEmbedFunctions.cpp:870:20
        #57 0x7f68d005b6a1 in RunInternal /ipc/chromium/src/base/message_loop.cc:331:10
        #58 0x7f68d005b6a1 in RunHandler /ipc/chromium/src/base/message_loop.cc:324:3
        #59 0x7f68d005b6a1 in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:306:3
        #60 0x7f68dbd293b3 in XRE_InitChildProcess(int, char**, XREChildData const*) /toolkit/xre/nsEmbedFunctions.cpp:707:34
        #61 0x559703cd120d in content_process_main(mozilla::Bootstrap*, int, char**) /browser/app/../../ipc/contentproc/plugin-container.cpp:57:28
        #62 0x559703cd1638 in main /browser/app/nsBrowserApp.cpp:327:18
        #63 0x7f68f35050b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
    
    ==1661679==ABORTING
Attached file Testcase

Bugmon Analysis
Verified bug as reproducible on mozilla-central 20220131212843-788ab1920ef8.
Failed to bisect testcase (Testcase reproduces on start build!):

Start: babdc3b3a30001ae014cc9180992549c5e4d5045 (20210202033500)
End: 49a9d19fd713faf83affd72946da2a335a350063 (20220131094559)
BuildFlags: BuildFlags(asan=True, tsan=False, debug=False, fuzzing=True, coverage=False, valgrind=False, no_opt=False, fuzzilli=False)

Whiteboard: [bugmon:confirm] → [bugmon:bisected,confirmed]

I think DOM:Worker might be the proper component for this bug.

Component: Networking → DOM: Workers

:smaug, can you help with triage here? Thanks!

Flags: needinfo?(bugs)
Severity: -- → S3
Priority: -- → P3
Flags: needinfo?(bugs)

https://searchfox.org/mozilla-central/rev/94d7c959115c03ea1e9406d6105b36cabe63775d/dom/xhr/XMLHttpRequestWorker.cpp#2174 looks bogus.
Blob::Create may return null, so mResponseBlob can be null and GetOrCreateDOMReflector isn't null-safe

Assignee: nobody → bugs
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ef81464f2f8f
null check the return value of Blob::Create, r=jari
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Bugmon Analysis
Verified bug as fixed on rev mozilla-central 20220216214005-d0676cb0864b.
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.

Status: RESOLVED → VERIFIED
Keywords: bugmon

:smaug, since this bug contains a bisection range, could you fill (if possible) the regressed_by field?
For more information, please visit auto_nag documentation.

Flags: needinfo?(bugs)

Bug in the bot.

Flags: needinfo?(bugs)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: