Closed Bug 1461725 Opened 2 years ago Closed 2 years ago

Assertion failure: surface->GetType() == SurfaceType::DATA (The snapshot SourceSurface from WebGL rendering contest is not DataSourceSurface.), at /home/worker/workspace/build/src/dom/canvas/ImageBitmap.cpp:878

Categories

(Core :: Canvas: WebGL, defect, P5)

52 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1358053

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase, Whiteboard: [gfx-noted])

Attachments

(1 file)

Attached file trigger.html
Testcase found while fuzzing esr52 rev d61516b059c116023c55b68b2b18ea5e3a1df6c3.

rax = 0x0000000000625d50   rdx = 0x0000000000000000
rcx = 0x00007f8a7e56a0c9   rbx = 0x00007ffc1a041020
rsi = 0x00007f8a795af770   rdi = 0x00007f8a795ae540
rbp = 0x00007ffc1a041090   rsp = 0x00007ffc1a040fc0
r8 = 0x00007f8a795af770    r9 = 0x00007f8a80b68c00
r10 = 0x0000000000000043   r11 = 0x0000000000000000
r12 = 0x00007ffc1a041260   r13 = 0x00007ffc1a0410d8
r14 = 0x00007ffc1a041128   r15 = 0x00007ffc1a041008
rip = 0x00007f8a7c17496a
OS|Linux|0.0.0 Linux 4.4.0-122-generic #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018 x86_64
CPU|amd64|family 6 model 78 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|mozilla::dom::ImageBitmap::CreateInternal|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/ImageBitmap.cpp:d61516b059c1|876|0x0
0|1|libxul.so|mozilla::dom::ImageBitmap::Create|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/ImageBitmap.cpp:d61516b059c1|1449|0x14
0|2|libxul.so|nsGlobalWindow::CreateImageBitmap|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsGlobalWindow.cpp:d61516b059c1|14997|0x5
0|3|libxul.so|mozilla::dom::WindowBinding::createImageBitmap|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dom/bindings/WindowBinding.cpp:d61516b059c1|14814|0x2f
0|4|libxul.so|mozilla::dom::WindowBinding::createImageBitmap_promiseWrapper|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dom/bindings/WindowBinding.cpp:d61516b059c1|14896|0x5
0|5|libxul.so|mozilla::dom::WindowBinding::genericPromiseReturningMethod|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dom/bindings/WindowBinding.cpp:d61516b059c1|15195|0x9
0|6|libxul.so|js::CallJSNative|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jscntxtinlines.h:d61516b059c1|239|0x9
0|7|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|459|0xf
0|8|libxul.so|Interpret|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|510|0xf
0|9|libxul.so|js::RunScript|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|405|0xb
0|10|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|477|0xb
0|11|libxul.so|js::Call|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|523|0x5
0|12|libxul.so|JS::Call|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jsapi.cpp:d61516b059c1|2828|0x20
0|13|libxul.so|mozilla::dom::EventListener::HandleEvent|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dom/bindings/EventListenerBinding.cpp:d61516b059c1|48|0xc
0|14|libxul.so|mozilla::dom::EventListener::HandleEvent<mozilla::dom::EventTarget*>|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dist/include/mozilla/dom/EventListenerBinding.h:d61516b059c1|64|0x1c
0|15|libxul.so|mozilla::EventListenerManager::HandleEventSubType|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.cpp:d61516b059c1|1131|0x33
0|16|libxul.so|mozilla::EventListenerManager::HandleEventInternal|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.cpp:d61516b059c1|1287|0x23
0|17|libxul.so|mozilla::EventTargetChainItem::HandleEvent|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.h:d61516b059c1|375|0xa
0|18|libxul.so|mozilla::EventTargetChainItem::HandleEventTargetChain|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventDispatcher.cpp:d61516b059c1|380|0xf
0|19|libxul.so|mozilla::EventDispatcher::Dispatch|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventDispatcher.cpp:d61516b059c1|712|0x5
0|20|libxul.so|nsDocumentViewer::LoadComplete|hg:hg.mozilla.org/releases/mozilla-esr52:layout/base/nsDocumentViewer.cpp:d61516b059c1|1047|0x26
0|21|libxul.so|nsDocShell::EndPageLoad|hg:hg.mozilla.org/releases/mozilla-esr52:docshell/base/nsDocShell.cpp:d61516b059c1|7638|0x11
0|22|libxul.so|nsDocShell::OnStateChange|hg:hg.mozilla.org/releases/mozilla-esr52:docshell/base/nsDocShell.cpp:d61516b059c1|7442|0x18
0|23|libxul.so|nsDocLoader::DoFireOnStateChange|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|1255|0x2b
0|24|libxul.so|nsDocLoader::doStopDocumentLoad|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|840|0x22
0|25|libxul.so|nsDocLoader::DocLoaderIsEmpty|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|730|0xf
0|26|libxul.so|nsDocLoader::OnStopRequest|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|612|0x16
0|27|libxul.so|mozilla::net::nsLoadGroup::RemoveRequest|hg:hg.mozilla.org/releases/mozilla-esr52:netwerk/base/nsLoadGroup.cpp:d61516b059c1|633|0x1f
0|28|libxul.so|nsDocument::DoUnblockOnload|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|8647|0x20
0|29|libxul.so|nsDocument::UnblockOnload|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|8575|0x5
0|30|libxul.so|nsDocument::DispatchContentLoadedEvents|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|5061|0x11
0|31|libxul.so|mozilla::detail::RunnableMethodImpl<void (nsDocument::*)(), true, false>::Run|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/glue/nsThreadUtils.h:d61516b059c1|810|0x5
0|32|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/threads/nsThread.cpp:d61516b059c1|1216|0x11
0|33|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/glue/nsThreadUtils.cpp:d61516b059c1|361|0xd
0|34|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|96|0xa
0|35|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|232|0x17
0|36|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|225|0x8
0|37|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/releases/mozilla-esr52:widget/nsBaseAppShell.cpp:d61516b059c1|156|0xd
0|38|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|866|0x6
0|39|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|269|0x5
0|40|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|232|0x17
0|41|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|225|0x8
0|42|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|698|0xf
0|43|plugin-container|content_process_main|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/contentproc/plugin-container.cpp:d61516b059c1|197|0xe
0|44|libc-2.23.so||||0x20830
0|45|plugin-container|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/releases/mozilla-esr52:mfbt/Assertions.h:d61516b059c1|170|0x5
Flags: in-testsuite?
Status: NEW → RESOLVED
Closed: 2 years ago
Priority: -- → P5
Resolution: --- → DUPLICATE
Whiteboard: [gfx-noted]
Version: 59 Branch → 52 Branch
Duplicate of bug: 1358053
You need to log in before you can comment on or make changes to this bug.