Closed Bug 1453729 Opened 7 years ago Closed 7 years ago

Assertion failure: lastLevel <= 31 (Right-shift is only defined for bits-1.), at /home/worker/workspace/build/src/dom/canvas/WebGLTextureUpload.cpp:1137

Categories

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

59 Branch
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr52 --- wontfix

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 = 0x00007ff747f60aee rbx = 0x00007ff71b9f8000 rsi = 0x00007ff742f99770 rdi = 0x00007ff742f98540 rbp = 0x00007fffcf1041d0 rsp = 0x00007fffcf104120 r8 = 0x00007ff742f99770 r9 = 0x00007ff74a54dc00 r10 = 0x0000000000000043 r11 = 0x0000000000000000 r12 = 0x0000000000000001 r13 = 0x0000000000000030 r14 = 0x00007fffcf104283 r15 = 0x00007ff71b8bbea8 rip = 0x00007ff745bd7b1d OS|Linux|0.0.0 Linux 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 CPU|amd64|family 6 model 78 stepping 3|1 GPU||| Crash|SIGSEGV|0x0|0 0|0|libxul.so|mozilla::WebGLTexture::TexStorage|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/WebGLTextureUpload.cpp:d61516b059c1|1137|0x0 0|1|libxul.so|mozilla::WebGL2Context::TexStorage|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/WebGL2ContextTextures.cpp:d61516b059c1|23|0x21 0|2|libxul.so|mozilla::dom::WebGL2RenderingContextBinding::texStorage2D|hg:hg.mozilla.org/releases/mozilla-esr52:dom/canvas/WebGL2Context.h:d61516b059c1|99|0x27 0|3|libxul.so|mozilla::dom::GenericBindingMethod|hg:hg.mozilla.org/releases/mozilla-esr52:dom/bindings/BindingUtils.cpp:d61516b059c1|2904|0x9 0|4|libxul.so|js::CallJSNative|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jscntxtinlines.h:d61516b059c1|239|0x9 0|5|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|459|0xf 0|6|libxul.so|Interpret|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|510|0xf 0|7|libxul.so|js::RunScript|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|405|0xb 0|8|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|477|0xb 0|9|libxul.so|js::Call|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/vm/Interpreter.cpp:d61516b059c1|523|0x5 0|10|libxul.so|JS::Call|hg:hg.mozilla.org/releases/mozilla-esr52:js/src/jsapi.cpp:d61516b059c1|2828|0x20 0|11|libxul.so|mozilla::dom::EventListener::HandleEvent|hg:hg.mozilla.org/releases/mozilla-esr52:obj-firefox/dom/bindings/EventListenerBinding.cpp:d61516b059c1|48|0xc 0|12|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|13|libxul.so|mozilla::EventListenerManager::HandleEventSubType|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.cpp:d61516b059c1|1131|0x33 0|14|libxul.so|mozilla::EventListenerManager::HandleEventInternal|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.cpp:d61516b059c1|1287|0x23 0|15|libxul.so|mozilla::EventTargetChainItem::HandleEvent|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventListenerManager.h:d61516b059c1|375|0xa 0|16|libxul.so|mozilla::EventTargetChainItem::HandleEventTargetChain|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventDispatcher.cpp:d61516b059c1|380|0xf 0|17|libxul.so|mozilla::EventDispatcher::Dispatch|hg:hg.mozilla.org/releases/mozilla-esr52:dom/events/EventDispatcher.cpp:d61516b059c1|712|0x5 0|18|libxul.so|nsDocumentViewer::LoadComplete|hg:hg.mozilla.org/releases/mozilla-esr52:layout/base/nsDocumentViewer.cpp:d61516b059c1|1047|0x26 0|19|libxul.so|nsDocShell::EndPageLoad|hg:hg.mozilla.org/releases/mozilla-esr52:docshell/base/nsDocShell.cpp:d61516b059c1|7638|0x11 0|20|libxul.so|nsDocShell::OnStateChange|hg:hg.mozilla.org/releases/mozilla-esr52:docshell/base/nsDocShell.cpp:d61516b059c1|7442|0x18 0|21|libxul.so|nsDocLoader::DoFireOnStateChange|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|1255|0x2b 0|22|libxul.so|nsDocLoader::doStopDocumentLoad|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|840|0x22 0|23|libxul.so|nsDocLoader::DocLoaderIsEmpty|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|730|0xf 0|24|libxul.so|nsDocLoader::OnStopRequest|hg:hg.mozilla.org/releases/mozilla-esr52:uriloader/base/nsDocLoader.cpp:d61516b059c1|612|0x16 0|25|libxul.so|mozilla::net::nsLoadGroup::RemoveRequest|hg:hg.mozilla.org/releases/mozilla-esr52:netwerk/base/nsLoadGroup.cpp:d61516b059c1|633|0x1f 0|26|libxul.so|nsDocument::DoUnblockOnload|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|8647|0x20 0|27|libxul.so|nsDocument::UnblockOnload|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|8575|0x5 0|28|libxul.so|nsDocument::DispatchContentLoadedEvents|hg:hg.mozilla.org/releases/mozilla-esr52:dom/base/nsDocument.cpp:d61516b059c1|5061|0x11 0|29|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|30|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/threads/nsThread.cpp:d61516b059c1|1216|0x11 0|31|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/releases/mozilla-esr52:xpcom/glue/nsThreadUtils.cpp:d61516b059c1|361|0xd 0|32|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|96|0xa 0|33|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|232|0x17 0|34|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|225|0x8 0|35|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/releases/mozilla-esr52:widget/nsBaseAppShell.cpp:d61516b059c1|156|0xd 0|36|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|866|0x6 0|37|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/glue/MessagePump.cpp:d61516b059c1|269|0x5 0|38|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|232|0x17 0|39|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/chromium/src/base/message_loop.cc:d61516b059c1|225|0x8 0|40|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/releases/mozilla-esr52:toolkit/xre/nsEmbedFunctions.cpp:d61516b059c1|698|0xf 0|41|plugin-container|content_process_main|hg:hg.mozilla.org/releases/mozilla-esr52:ipc/contentproc/plugin-container.cpp:d61516b059c1|197|0xe 0|42|libc-2.23.so||||0x20830 0|43|plugin-container|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/releases/mozilla-esr52:mfbt/Assertions.h:d61516b059c1|170|0x5
Flags: in-testsuite?
This is the same bug as was fixed by bug 1449264. It wasn't uplifted to 60/52 though.
Priority: -- → P3
See Also: → 1449264
Whiteboard: [gfx-noted]
We're not backporting bug 1449264 to ESR52. Still waiting on an answer about 60, though...
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite? → in-testsuite-
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: