Closed Bug 1470499 Opened 7 years ago Closed 6 years ago

crash near null in [@ mozilla::dom::SVGTransform::SetRotate]

Categories

(Core :: SVG, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox-esr60 --- wontfix
firefox62 --- wontfix
firefox66 --- fixed
firefox67 --- fixed
firefox68 --- fixed

People

(Reporter: tsmith, Assigned: jwatt)

References

(Blocks 1 open bug)

Details

(Keywords: crash, testcase)

Attachments

(1 file)

Attached file testcase.html
Reduced with m-c: BuildID=20180621135543 SourceStamp=1c33a38da75d550750923358e73d7af2102b9c1d ==74533==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000038 (pc 0x7f852f243150 bp 0x7fff1a822fd0 sp 0x7fff1a822ea0 T0) ==74533==The signal is caused by a READ memory access. ==74533==Hint: address points to the zero page. #0 0x7f852f24314f in ~AutoChangeTransformNotifier src/obj-firefox/dist/include/mozilla/RefPtr.h:296:27 #1 0x7f852f24314f in mozilla::dom::SVGTransform::SetRotate(float, float, float, mozilla::ErrorResult&) src/dom/svg/SVGTransform.cpp:248 #2 0x7f852c59a39c in mozilla::dom::SVGTransformBinding::setRotate(JSContext*, JS::Handle<JSObject*>, mozilla::dom::SVGTransform*, JSJitMethodCallArgs const&) src/obj-firefox/dom/bindings/SVGTransformBinding.cpp:293:9 #3 0x7f852d9ddd25 in bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*) src/dom/bindings/BindingUtils.cpp:3285:13 #4 0x7f85343233d3 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) src/js/src/vm/JSContext-inl.h:274:15 #5 0x7f853430e111 in CallFromStack src/js/src/vm/Interpreter.cpp:526:12 #6 0x7f853430e111 in Interpret(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:3122 #7 0x7f85342f4a1a in js::RunScript(JSContext*, js::RunState&) src/js/src/vm/Interpreter.cpp:421:12 #8 0x7f8534323bc2 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) src/js/src/vm/Interpreter.cpp:493:15 #9 0x7f85343249c2 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) src/js/src/vm/Interpreter.cpp:539:10 #10 0x7f8534e47ada in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) src/js/src/jsapi.cpp:2910:12 #11 0x7f852bccea22 in mozilla::dom::MutationCallback::Call(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Sequence<mozilla::OwningNonNull<nsDOMMutationRecord> > const&, nsDOMMutationObserver&, mozilla::ErrorResult&) src/obj-firefox/dom/bindings/MutationObserverBinding.cpp:672:8 #12 0x7f852b49ed55 in Call<nsDOMMutationObserver *> src/obj-firefox/dist/include/mozilla/dom/MutationObserverBinding.h:200:12 #13 0x7f852b49ed55 in Call<nsDOMMutationObserver *> src/obj-firefox/dist/include/mozilla/dom/MutationObserverBinding.h:222 #14 0x7f852b49ed55 in nsDOMMutationObserver::HandleMutation() src/dom/base/nsDOMMutationObserver.cpp:891 #15 0x7f852b499cc7 in nsDOMMutationObserver::HandleMutationsInternal(mozilla::AutoSlowOperation&) src/dom/base/nsDOMMutationObserver.cpp:921:26 #16 0x7f8528228151 in mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint() src/xpcom/base/CycleCollectedJSContext.cpp:562:17 #17 0x7f852e11201f in LeaveMicroTask src/obj-firefox/dist/include/mozilla/CycleCollectedJSContext.h:209:7 #18 0x7f852e11201f in ~nsAutoMicroTask src/obj-firefox/dist/include/mozilla/CycleCollectedJSContext.h:304 #19 0x7f852e11201f in mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*) src/dom/events/EventListenerManager.cpp:1126 #20 0x7f852e11360c in mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*) src/dom/events/EventListenerManager.cpp:1298:20 #21 0x7f852e0fc03c in mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&) src/dom/events/EventDispatcher.cpp:622:16 #22 0x7f852e1015dd in mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*) src/dom/events/EventDispatcher.cpp:1088:9 #23 0x7f853044edd1 in nsDocumentViewer::LoadComplete(nsresult) src/layout/base/nsDocumentViewer.cpp:1166:7 #24 0x7f85335c6d0f in nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, nsresult) src/docshell/base/nsDocShell.cpp:7098:21 #25 0x7f85335c30f4 in nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) src/docshell/base/nsDocShell.cpp:6891:7 #26 0x7f85335ca8df in non-virtual thunk to nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, nsresult) src/docshell/base/nsDocShell.cpp #27 0x7f852a14e5b7 in nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, nsresult) src/uriloader/base/nsDocLoader.cpp:1309:3 #28 0x7f852a14d657 in nsDocLoader::doStopDocumentLoad(nsIRequest*, nsresult) src/uriloader/base/nsDocLoader.cpp:852:14 #29 0x7f852a14a258 in nsDocLoader::DocLoaderIsEmpty(bool) src/uriloader/base/nsDocLoader.cpp:741:9 #30 0x7f852a14c22a in nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, nsresult) src/uriloader/base/nsDocLoader.cpp:627:5 #31 0x7f852a14d22c in non-virtual thunk to nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, nsresult) src/uriloader/base/nsDocLoader.cpp #32 0x7f85285bbc15 in mozilla::net::nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, nsresult) src/netwerk/base/nsLoadGroup.cpp:629:28 #33 0x7f852b51ae3e in DoUnblockOnload src/dom/base/nsDocument.cpp:8313:18 #34 0x7f852b51ae3e in nsDocument::UnblockOnload(bool) src/dom/base/nsDocument.cpp:8235 #35 0x7f852b4fb6cf in nsIDocument::DispatchContentLoadedEvents() src/dom/base/nsDocument.cpp:5126:3 #36 0x7f852b5f60a4 in applyImpl<nsIDocument, void (nsIDocument::*)()> src/obj-firefox/dist/include/nsThreadUtils.h:1165:12 #37 0x7f852b5f60a4 in apply<nsIDocument, void (nsIDocument::*)()> src/obj-firefox/dist/include/nsThreadUtils.h:1171 #38 0x7f852b5f60a4 in mozilla::detail::RunnableMethodImpl<nsIDocument*, void (nsIDocument::*)(), true, (mozilla::RunnableKind)0>::Run() src/obj-firefox/dist/include/nsThreadUtils.h:1216 #39 0x7f85283c07a5 in mozilla::SchedulerGroup::Runnable::Run() src/xpcom/threads/SchedulerGroup.cpp:337:32 #40 0x7f85283df4d4 in nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1051:14 #41 0x7f85283faf04 in NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:519:10 #42 0x7f85292d6daa in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:97:21 #43 0x7f852922babc in RunInternal src/ipc/chromium/src/base/message_loop.cc:325:10 #44 0x7f852922babc in RunHandler src/ipc/chromium/src/base/message_loop.cc:318 #45 0x7f852922babc in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:298 #46 0x7f852fd848ba in nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:158:27 #47 0x7f8534054b2f in XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:896:22 #48 0x7f852922babc in RunInternal src/ipc/chromium/src/base/message_loop.cc:325:10 #49 0x7f852922babc in RunHandler src/ipc/chromium/src/base/message_loop.cc:318 #50 0x7f852922babc in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:298 #51 0x7f85340544e6 in XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:722:34 #52 0x4f1ca4 in content_process_main src/browser/app/../../ipc/contentproc/plugin-container.cpp:50:30 #53 0x4f1ca4 in main src/browser/app/nsBrowserApp.cpp:287 #54 0x7f8547dab82f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291 #55 0x4210e8 in _start (firefox+0x4210e8)
Flags: in-testsuite?
Assignee: nobody → jwatt
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME

We should land the crashtest.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Depends on: 1507961
Flags: in-testsuite? → in-testsuite+
Target Milestone: mozilla68 → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: