Open Bug 1445745 Opened 6 years ago Updated 2 years ago

MOZ_GL_DEBUG_ABORT_ON_ERROR near [@ mozilla::WebGLContext::GetSurfaceSnapshot]

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

59 Branch
defect

Tracking

()

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 d61516b059c1.

rax = 0x0000000000625d50   rdx = 0x0000000000000000
rcx = 0x00007f9c0d2db231   rbx = 0x00007f9be0ccb000
rsi = 0x00007f9c08472770   rdi = 0x00007f9c08471540
rbp = 0x00007ffe529f1de0   rsp = 0x00007ffe529f1dc0
r8 = 0x00007f9c08472770    r9 = 0x00007f9c0fa27c00
r10 = 0x0000000000000043   r11 = 0x0000000000000000
r12 = 0x0000000000000502   r13 = 0x00007f9c0d2dd8d0
r14 = 0x0000000000000000   r15 = 0x00007ffe529f1e20
rip = 0x00007f9c0a56acb9
OS|Linux|0.0.0 Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
CPU|amd64|family 6 model 78 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|mozilla::gl::GLContext::AfterGLCall|hg:hg.mozilla.org/releases/mozilla-esr52:gfx/gl/GLContext.h:d61516b059c1|768|0x0
0|1|libxul.so|mozilla::WebGLContext::GetSurfaceSnapshot|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/WebGLContext.cpp:d61516b059c1|1942|0xd
0|2|libxul.so|mozilla::WebGLContext::GetInputStream|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/WebGLContext.cpp:d61516b059c1|1256|0xc
0|3|libxul.so|mozilla::dom::ImageEncoder::ExtractDataInternal|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/ImageEncoder.cpp:d61516b059c1|388|0x25
0|4|libxul.so|mozilla::dom::ImageEncoder::ExtractData|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/ImageEncoder.cpp:d61516b059c1|259|0x27
0|5|libxul.so|mozilla::dom::HTMLCanvasElement::ExtractData|hg:hg.mozilla.org/releases/mozilla-esr52:dom/html/HTMLCanvasElement.cpp:d61516b059c1|759|0x19
0|6|libxul.so|mozilla::dom::HTMLCanvasElement::ToDataURLImpl|hg:hg.mozilla.org/releases/mozilla-esr52:dom/html/HTMLCanvasElement.cpp:d61516b059c1|786|0x15
0|7|libxul.so|mozilla::dom::HTMLCanvasElementBinding::toDataURL|hg:hg.mozilla.org/releases/mozilla-esr52:dom/html/HTMLCanvasElement.h:d61516b059c1|181|0x8
0|8|libxul.so|mozilla::dom::GenericBindingMethod|hg:hg.mozilla.org/releases/mozilla-esr52:dom/bindings/BindingUtils.cpp:d61516b059c1|2904|0x9
0|9|libxul.so|js::CallJSNative|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jscntxtinlines.h:d61516b059c1|239|0x9
0|10|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|459|0xf
0|11|libxul.so|Interpret|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|510|0xf
0|12|libxul.so|js::RunScript|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|405|0xb
0|13|libxul.so|js::ExecuteKernel|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|686|0x5
0|14|libxul.so|js::Execute|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|719|0x28
0|15|libxul.so|Evaluate|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jsapi.cpp:d61516b059c1|4440|0xf
0|16|libxul.so|Evaluate|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jsapi.cpp:d61516b059c1|4466|0x1d
0|17|libxul.so|nsJSUtils::EvaluateString|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsJSUtils.cpp:d61516b059c1|207|0x1c
0|18|libxul.so|nsJSUtils::EvaluateString|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsJSUtils.cpp:d61516b059c1|275|0x2a
0|19|libxul.so|nsScriptLoader::EvaluateScript|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsScriptLoader.cpp:d61516b059c1|2194|0x21
0|20|libxul.so|nsScriptLoader::ProcessRequest|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsScriptLoader.cpp:d61516b059c1|1979|0xb
0|21|libxul.so|nsScriptLoader::ProcessScriptElement|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsScriptLoader.cpp:d61516b059c1|1712|0xf
0|22|libxul.so|nsScriptElement::MaybeProcessScript|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsScriptElement.cpp:d61516b059c1|149|0x13
0|23|libxul.so|nsIScriptElement::AttemptToExecute|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsIScriptElement.h:d61516b059c1|222|0x3
0|24|libxul.so|nsHtml5TreeOpExecutor::RunScript|hg:hg.mozilla.org/releases/mozilla-esr52:parser/html/nsHtml5TreeOpExecutor.cpp:d61516b059c1|666|0x10
0|25|libxul.so|nsHtml5TreeOpExecutor::RunFlushLoop|hg:hg.mozilla.org/releases/mozilla-esr52:parser/html/nsHtml5TreeOpExecutor.cpp:d61516b059c1|489|0x8
0|26|libxul.so|nsHtml5ExecutorFlusher::Run|hg:hg.mozilla.org/releases/mozilla-esr52:parser/html/nsHtml5StreamParser.cpp:d61516b059c1|128|0x8
0|27|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/threads/nsThread.cpp:d61516b059c1|1216|0x11
0|28|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/glue/nsThreadUtils.cpp:d61516b059c1|361|0xd
0|29|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|96|0xa
0|30|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|232|0x17
0|31|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|225|0x8
0|32|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/releases/mozilla-esr52:widget/nsBaseAppShell.cpp:d61516b059c1|156|0xd
0|33|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|866|0x6
0|34|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|269|0x5
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|XRE_InitChildProcess|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|698|0xf
0|38|plugin-container|content_process_main|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/contentproc/plugin-container.cpp:d61516b059c1|197|0xe
0|39|libc-2.23.so||||0x20830
0|40|plugin-container|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/releases/mozilla-esr52:mfbt/Assertions.h:d61516b059c1|170|0x5
Flags: in-testsuite?
I wasn't able to reproduce this on my ubuntu machine with esr52, or on any OS in nightly. Since it's webgl, it might be driver-specific corruption? I was running with nvidia's proprietary blobs.
Flags: needinfo?(jkratzer)
Whiteboard: [gfx-noted]
(In reply to Alexis Beingessner [:Gankro] from comment #1)
> I wasn't able to reproduce this on my ubuntu machine with esr52, or on any
> OS in nightly. Since it's webgl, it might be driver-specific corruption? I
> was running with nvidia's proprietary blobs.

Possibly.  My test system is using the default Ubuntu 16.04 video drivers.  Also, I just confirmed that this issue still triggers using the esr52 rev d61516b059c1.
Flags: needinfo?(jkratzer)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: