Closed Bug 1008433 Opened 12 years ago Closed 12 years ago

Android 4.0 Debug /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | application crashed [@ mozilla::WebGLContext::ForceClearFramebufferWithDefaultValues(unsigned int, bool const*)]

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

We recently started running the content/canvas/test/webgl-conformance mochitests on Android after a hiatus of several weeks. They run fine on Android Opt, but on Android 4.0 Debug (only currently running on the Cedar tree), there is a consistent crash. https://tbpl.mozilla.org/php/getParsedLog.php?id=39365978&tree=Cedar&full=1 08:40:58 INFO - 2017 INFO TEST-PASS | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | [conformance/context/context-attributes-alpha-depth-stencil-antialias.html] Test passed - contextAttribs = webGL.getContextAttributes() is non-null. 08:40:58 INFO - 2018 INFO TEST-PASS | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | [conformance/context/context-attributes-alpha-depth-stencil-antialias.html] Test passed - pixel is correctColor 08:40:58 INFO - INFO | automation.py | Application ran for: 0:01:22.841622 08:40:58 INFO - INFO | zombiecheck | Reading PID log: /tmp/tmp0D7X5fpidlog 08:40:59 INFO - Contents of /data/anr/traces.txt: 08:41:00 INFO - mozcrash INFO | Downloading symbols from: https://ftp-ssl.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/cedar-android-debug/1399644062/fennec-32.0a1.en-US.android-arm.crashreporter-symbols.zip 08:41:05 WARNING - PROCESS-CRASH | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | application crashed [@ mozilla::WebGLContext::ForceClearFramebufferWithDefaultValues(unsigned int, bool const*)] 08:41:05 INFO - Crash dump filename: /tmp/tmppjYfgC/5d297ef3-ada0-75e3-74c68a15-6d43b33c.dmp 08:41:05 INFO - Operating system: Android 08:41:05 INFO - 0.0.0 Linux 3.2.0+ #2 SMP PREEMPT Thu Nov 29 08:06:57 EST 2012 armv7l pandaboard/pandaboard/pandaboard:4.0.4/IMM76I/5:eng/test-keys 08:41:05 INFO - CPU: arm 08:41:05 INFO - 2 CPUs 08:41:05 INFO - Crash reason: SIGSEGV 08:41:05 INFO - Crash address: 0x0 08:41:05 INFO - Thread 14 (crashed) 08:41:05 INFO - 0 libxul.so!mozilla::WebGLContext::ForceClearFramebufferWithDefaultValues(unsigned int, bool const*) [WebGLContext.cpp:52de77b56b2d : 1058 + 0x12] 08:41:05 INFO - r4 = 0x6b53f400 r5 = 0x6b53f450 r6 = 0x00004500 r7 = 0x00000001 08:41:05 INFO - r8 = 0x00000001 r9 = 0x00000001 r10 = 0x00000000 fp = 0x000000ff 08:41:05 INFO - sp = 0x5d58b2d0 lr = 0x6295257b pc = 0x629553f4 08:41:05 INFO - Found by: given as instruction pointer in context 08:41:05 INFO - 1 libxul.so!mozilla::WebGLContext::ClearScreen() [WebGLContext.cpp:52de77b56b2d : 972 + 0x3] 08:41:05 INFO - r4 = 0x6b53f400 r5 = 0x00000000 r6 = 0x00000000 r7 = 0x6b53f450 08:41:05 INFO - r8 = 0x6b53f454 r9 = 0x00000001 r10 = 0x00000000 fp = 0x00000000 08:41:05 INFO - sp = 0x5d58b3a0 pc = 0x629556cd 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 2 libxul.so!mozilla::WebGLContext::ClearBackbufferIfNeeded() [WebGLContext.cpp:52de77b56b2d : 628 + 0x5] 08:41:05 INFO - r4 = 0x6b53f400 r5 = 0x00000000 r6 = 0x00000000 r7 = 0x6b53f450 08:41:05 INFO - r8 = 0x6b53f454 r9 = 0x00000001 r10 = 0x00000000 fp = 0x00000000 08:41:05 INFO - sp = 0x5d58b3c8 pc = 0x629558d1 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 3 libxul.so!mozilla::WebGLContext::SetDimensions(int, int) [WebGLContext.cpp:52de77b56b2d : 599 + 0x3] 08:41:05 INFO - r4 = 0x6b53f400 r5 = 0x6b53f450 r6 = 0x00000001 r7 = 0x00000001 08:41:05 INFO - r8 = 0x6b53f454 r9 = 0x00000001 r10 = 0x00000000 fp = 0x00000000 08:41:05 INFO - sp = 0x5d58b3e8 pc = 0x6295e3a5 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 4 libxul.so!mozilla::dom::HTMLCanvasElement::UpdateContext(JSContext*, JS::Handle<JS::Value>) [HTMLCanvasElement.cpp:52de77b56b2d : 795 + 0xd] 08:41:05 INFO - r4 = 0x69cc1868 r5 = 0x00000000 r6 = 0x69cc1800 r7 = 0x00000000 08:41:05 INFO - r8 = 0x00000000 r9 = 0x6b84d3e0 r10 = 0x6b84d3e0 fp = 0x63da3508 08:41:05 INFO - sp = 0x5d58b450 pc = 0x629917bb 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 5 libxul.so!mozilla::dom::HTMLCanvasElement::GetContext(JSContext*, nsAString_internal const&, JS::Handle<JS::Value>, mozilla::ErrorResult&) [HTMLCanvasElement.cpp:52de77b56b2d : 707 + 0x9] 08:41:05 INFO - r4 = 0x69cc1800 r5 = 0x5d58b520 r6 = 0x5d58b548 r7 = 0x5d58b524 08:41:05 INFO - r8 = 0x69cc1868 r9 = 0x00000000 r10 = 0x6b84d3e0 fp = 0x63da3508 08:41:05 INFO - sp = 0x5d58b478 pc = 0x62991d2f 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 6 libxul.so!mozilla::dom::HTMLCanvasElementBinding::getContext [HTMLCanvasElementBinding.cpp:52de77b56b2d : 219 + 0x3] 08:41:05 INFO - r4 = 0x00000000 r5 = 0x6b84d3e0 r6 = 0x5d58b584 r7 = 0x5d58b548 08:41:05 INFO - r8 = 0x5d58b524 r9 = 0x69cc1800 r10 = 0x5d58b5f0 fp = 0x5d58b600 08:41:05 INFO - sp = 0x5d58b510 pc = 0x62481267 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 7 libxul.so!mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*) [BindingUtils.cpp:52de77b56b2d : 2300 + 0x3] 08:41:05 INFO - r4 = 0x6b84d3e0 r5 = 0x624811c1 r6 = 0x0000008b r7 = 0x00000000 08:41:05 INFO - r8 = 0x00000000 r9 = 0x690e5ad0 r10 = 0x00000002 fp = 0x5d58b600 08:41:05 INFO - sp = 0x5d58b580 pc = 0x625eec75 08:41:05 INFO - Found by: call frame info 08:41:05 INFO - 8 0x68acfb36 08:41:05 INFO - r4 = 0x667e23c0 r5 = 0xffffff87 r6 = 0x6e3b8d0c r7 = 0xffffff87 08:41:05 INFO - r8 = 0x00000283 r9 = 0x690e5ad0 r10 = 0x00000002 fp = 0x5d58b600 08:41:05 INFO - sp = 0x5d58b5c0 pc = 0x68acfb38 08:41:05 INFO - Found by: call frame info
There is an assertion in the logcat: 08:41:08 INFO - 05-09 08:40:39.359 I/GeckoDump( 2239): 2016 INFO TEST-PASS | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | [conformance/context/context-attributes-alpha-depth-stencil-antialias.html] Test passed - webGL = getWebGL(1, 1, { depth: false, stencil: false, antialias: false }, [ 0, 0, 0, 1 ], 1, 0) is non-null. 08:41:08 INFO - 05-09 08:40:39.359 I/GeckoDump( 2239): 2017 INFO TEST-PASS | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | [conformance/context/context-attributes-alpha-depth-stencil-antialias.html] Test passed - contextAttribs = webGL.getContextAttributes() is non-null. 08:41:08 INFO - 05-09 08:40:39.367 I/GeckoDump( 2239): 2018 INFO TEST-PASS | /tests/content/canvas/test/webgl-conformance/test_webgl_conformance_test_suite.html | [conformance/context/context-attributes-alpha-depth-stencil-antialias.html] Test passed - pixel is correctColor 08:41:08 INFO - 05-09 08:40:39.367 E/GeckoConsole( 2239): [JavaScript Warning: "Error: WebGL: Exceeded 2 live WebGL contexts for this principal, losing the least recently used one." {file: "http://mochi.test:8888/tests/content/canvas/test/webgl-conformance/conformance/resources/webgl-test.js" line: 49}] 08:41:08 INFO - 05-09 08:40:39.382 I/Gecko ( 2239): Destroying context 0xc377f8 surface 0xf45ba0 on display 0x1 08:41:08 INFO - 05-09 08:40:39.398 I/Gecko ( 2239): Initializing context 0xf59950 surface 0xf35d10 on display 0x1 08:41:08 INFO - 05-09 08:40:39.406 I/Gecko ( 2239): OpenGL version detected: 200 08:41:08 INFO - 05-09 08:40:39.406 I/Gecko ( 2239): OpenGL vendor: Imagination Technologies 08:41:08 INFO - 05-09 08:40:39.406 I/Gecko ( 2239): OpenGL renderer: PowerVR SGX 540 08:41:08 INFO - 05-09 08:40:39.406 F/MOZ_Assert( 2239): Assertion failure: ( stencilWriteMaskFront & stencilMask) == (mStencilWriteMaskFront & stencilMask), at /builds/slave/ced-and-d-00000000000000000000/build/content/canvas/src/WebGLContext.cpp:1055 08:41:08 INFO - 05-09 08:40:40.390 F/libc ( 2239): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) 08:41:08 INFO - 05-09 08:40:40.593 I/DEBUG ( 1291): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08:41:08 INFO - 05-09 08:40:40.593 I/DEBUG ( 1291): Build fingerprint: 'pandaboard/pandaboard/pandaboard:4.0.4/IMM76I/5:eng/test-keys' 08:41:08 INFO - 05-09 08:40:40.593 I/DEBUG ( 1291): pid: 2239, tid: 2261 >>> org.mozilla.fennec <<< 08:41:08 INFO - 05-09 08:40:40.593 I/DEBUG ( 1291): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Not seen in recent builds.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.