Closed Bug 693497 Opened 8 years ago Closed 7 years ago

Intermittent crash [@ mozilla::WebGLContext::CopyTexImage2D] during test_webgl_conformance_test_suite.html

Categories

(Core :: Canvas: WebGL, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

Dunno if it's actually related to https://hg.mozilla.org/releases/mozilla-beta/rev/ebb738ca552e (and https://hg.mozilla.org/releases/mozilla-beta/rev/16b8d68d3505) or just coincidence that it hit one push later.

https://tbpl.mozilla.org/php/getParsedLog.php?id=6770438&tree=Mozilla-Beta
Rev3 WINNT 5.1 mozilla-beta debug test mochitests-1/5 on 2011-10-10 12:22:46 PDT for push 0cd309581778

WebGL mochitest: starting page conformance/type-conversion-test.html
++DOMWINDOW == 316 (112B8EB0) [serial = 975] [outer = 1149A860]
EGL Config: 7 [00000007]
  BUFFER_SIZE: 32 (0x0020)
  ALPHA_SIZE: 8 (0x0008)
  BLUE_SIZE: 8 (0x0008)
  GREEN_SIZE: 8 (0x0008)
  RED_SIZE: 8 (0x0008)
  DEPTH_SIZE: 24 (0x0018)
  STENCIL_SIZE: 0 (0x0000)
  CONFIG_CAVEAT: 12368 (0x3050)
  CONFIG_ID: 7 (0x0007)
  LEVEL: 0 (0x0000)
  MAX_PBUFFER_HEIGHT: 8192 (0x2000)
  MAX_PBUFFER_PIXELS: 67108864 (0x4000000)
  MAX_PBUFFER_WIDTH: 8192 (0x2000)
  NATIVE_RENDERABLE: 0 (0x0000)
  NATIVE_VISUAL_ID: ERROR (0x3004)
  NATIVE_VISUAL_TYPE: 0 (0x0000)
  PRESERVED_RESOURCES: ERROR (0x3004)
  SAMPLES: 0 (0x0000)
  SAMPLE_BUFFERS: 0 (0x0000)
  SURFACE_TYPE: 1029 (0x0405)
  TRANSPARENT_TYPE: 12344 (0x3038)
  TRANSPARENT_RED_VALUE: 0 (0x0000)
  TRANSPARENT_GREEN_VALUE: 0 (0x0000)
  TRANSPARENT_BLUE_VALUE: 0 (0x0000)
  BIND_TO_TEXTURE_RGB: 0 (0x0000)
  BIND_TO_TEXTURE_RGBA: 1 (0x0001)
  MIN_SWAP_INTERVAL: 0 (0x0000)
  MAX_SWAP_INTERVAL: 4 (0x0004)
  LUMINANCE_SIZE: 0 (0x0000)
  ALPHA_MASK_SIZE: 0 (0x0000)
  COLOR_BUFFER_TYPE: 12430 (0x308e)
  RENDERABLE_TYPE: 4 (0x0004)
  CONFORMANT: 4 (0x0004)
Initializing context 11534CB8 surface 0AEF0020 on display 117D9568
--- WebGL context created: 108472E8
###!!! ASSERTION: invalid array index: 'i < Length()', file e:\builds\moz2_slave\m-beta-w32-dbg\build\obj-firefox\dist\include\nsTArray.h, line 496
xul!mozilla::gl::GLContextProviderEGL::operator=+0x0000000000002259
xul!mozilla::gl::GLContextProviderEGL::operator=+0x000000000001131A
xul!xpc_LocalizeContext+0x000000000008B6F9
mozjs!JS_AddStringRoot+0x00000000000E3DAB
mozjs!JS_AddStringRoot+0x00000000000E3A1F
mozjs!JS_AddStringRoot+0x00000000000F6D55
mozjs!JS_AddStringRoot+0x00000000000E36A5
mozjs!JS_AddStringRoot+0x00000000000E4CC3
mozjs!JS_AddStringRoot+0x000000000011C58C
mozjs!JS_AddStringRoot+0x000000000011BF44
mozjs!JS_AddStringRoot+0x00000000003300B8
### ERROR: SymGetModuleInfo64: The specified module could not be found.
nsStringStats
 => mAllocCount:         683844
 => mReallocCount:        67009
 => mFreeCount:          638134  --  LEAKED 45710 !!!
 => mShareCount:        1079056
 => mAdoptCount:          71589
 => mAdoptFreeCount:      71585  --  LEAKED 4 !!!
0x000000000C6ED599
mozjs!JS_AddStringRoot+0x00000000002AE0B5
mozjs!JS_AddStringRoot+0x00000000002AE529
mozjs!JS_AddStringRoot+0x00000000002AE455
mozjs!JS_AddStringRoot+0x00000000000F70E8
mozjs!JS_AddStringRoot+0x00000000000E36A5
mozjs!JS_AddStringRoot+0x00000000000E4CC3
mozjs!JS_AddStringRoot+0x00000000000E5157
mozjs!JS_AddStringRoot+0x00000000000397F7
mozjs!JS_AddStringRoot+0x00000000000398DE
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000001FCC02
xul!mozilla::layers::LayerManagerOGL::operator=+0x00000000002131D3
xul!mozilla::layers::LayerManagerOGL::operator=+0x0000000000212A88
xul!mozilla::layers::LayerManagerOGL::operator=+0x0000000000212283
xul!mozilla::layers::LayerManagerOGL::operator=+0x000000000020F331
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000000DF371
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000000DF001
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000003A9AD9
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000003A92B3
xul!mozilla::gl::GLContextProviderEGL::operator=+0x00000000003A8A15
xul!XRE_AddJarManifestLocation+0x0000000000008F44
xul!gfxAlphaRecovery::operator=+0x0000000000160663
xul!gfxAlphaRecovery::operator=+0x000000000002732D
xul!ShutdownHooker+0x000000000001D8BE
xul!ShutdownHooker+0x000000000001D802
xul!ShutdownHooker+0x000000000001D72D
xul!mozilla::layers::LayerManagerD3D10::operator=+0x0000000000055530
xul!mozilla::layers::LayerManagerD3D10::operator=+0x0000000000015DC7
xul!xpc_LocalizeContext+0x00000000001BC5BA
xul!XRE_main+0x0000000000002FA6
0x00000000004023E1
0x0000000000401C08
0x00000000004012CB
0x0000000000407AF6
0x000000000040794D
kernel32!RegisterWaitForInputIdle+0x0000000000000049
WARNING: shutting down early because of crash!: file e:/builds/moz2_slave/m-beta-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 696
WARNING: plugin process _exit()ing: file e:/builds/moz2_slave/m-beta-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 688
NPP_Destroy
NPP_Destroy
nsStringStats
 => mAllocCount:             78
 => mReallocCount:            1
 => mFreeCount:              15  --  LEAKED 63 !!!
 => mShareCount:            123
 => mAdoptCount:              0
 => mAdoptFreeCount:          0
TEST-UNEXPECTED-FAIL | /tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html | Exited with code -1073741819 during test run
INFO | automation.py | Application ran for: 0:11:24.219000
INFO | automation.py | Reading PID log: c:\docume~1\cltbld\locals~1\temp\tmpkwkffhpidlog
==> process 3228 launched child process 1064
INFO | automation.py | Checking for orphan process with PID: 1064
PROCESS-CRASH | /tests/content/canvas/test/webgl/test_webgl_conformance_test_suite.html | application crashed (minidump found)
Crash dump filename: c:\docume~1\cltbld\locals~1\temp\tmpqzhnlc\minidumps\4691ce99-f067-45a5-9564-c8d57883cc7a.dmp
Operating system: Windows NT
                  5.1.2600 Service Pack 2
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0x10fb7010

Thread 0 (crashed)
 0  xul.dll!mozilla::WebGLContext::CopyTexImage2D(unsigned int,int,unsigned int,int,int,int,int,int) [WebGLContextGL.cpp:0cd309581778 : 887 + 0x6]
    eip = 0x01bc337a   esp = 0x0012a2b8   ebp = 0x0012a2ec   ebx = 0x05630068
    esi = 0x05630100   edi = 0xffffff87   eax = 0x10fb7010   ecx = 0x00000001
    edx = 0x0000002f   efl = 0x00210212
    Found by: given as instruction pointer in context
 1  xul.dll!nsIDOMWebGLRenderingContext_CopyTexImage2D [dom_quickstubs.cpp:0cd309581778 : 29652 + 0x30]
    eip = 0x022e09c9   esp = 0x0012a2f4   ebp = 0x0012a388
    Found by: call frame info
 2  mozjs.dll!js::CallJSNative(JSContext *,int (*)(JSContext *,unsigned int,js::Value *),js::CallArgs const &) [jscntxtinlines.h:0cd309581778 : 281 + 0x18]
    eip = 0x01045831   esp = 0x0012a390   ebp = 0x0012a3a4
    Found by: call frame info
 3  mozjs.dll!js::Invoke(JSContext *,js::CallArgs const &,js::MaybeConstruct) [jsinterp.cpp:0cd309581778 : 657 + 0x13]
    eip = 0x010454a5   esp = 0x0012a3ac   ebp = 0x0012a40c
    Found by: call frame info
 4  mozjs.dll!js::Interpret(JSContext *,js::StackFrame *,js::InterpMode) [jsinterp.cpp:0cd309581778 : 4016 + 0x11]
    eip = 0x010587db   esp = 0x0012a414   ebp = 0x0012b4c0
    Found by: call frame info
 5  mozjs.dll!js::RunScript(JSContext *,JSScript *,js::StackFrame *) [jsinterp.cpp:0cd309581778 : 614 + 0xe]
    eip = 0x0104512b   esp = 0x0012b4c8   ebp = 0x0012b4d8
    Found by: call frame info
 6  mozjs.dll!js::Execute(JSContext *,JSScript *,JSObject &,js::Value const &,js::ExecuteType,js::StackFrame *,js::Value *) [jsinterp.cpp:0cd309581778 : 912 + 0x10]
    eip = 0x01046749   esp = 0x0012b4e0   ebp = 0x0012b530
    Found by: call frame info
 7  mozjs.dll!EvalKernel [jsobj.cpp:0cd309581778 : 1279 + 0x28]
    eip = 0x0107e012   esp = 0x0012b538   ebp = 0x0012b600
    Found by: call frame info
 8  mozjs.dll!js::DirectEval(JSContext *,js::CallArgs const &) [jsobj.cpp:0cd309581778 : 1342 + 0x33]
    eip = 0x0107d9ca   esp = 0x0012b608   ebp = 0x0012b640
    Found by: call frame info
 9  mozjs.dll!js::mjit::stubs::Eval(js::VMFrame &,unsigned int) [InvokeHelpers.cpp:0cd309581778 : 406 + 0xf]
    eip = 0x01291b3e   esp = 0x0012b648   ebp = 0x0012b668
    Found by: call frame info
10  mozjs.dll!js::mjit::EnterMethodJIT(JSContext *,js::StackFrame *,void *,js::Value *) [MethodJIT.cpp:0cd309581778 : 687 + 0x14]
    eip = 0x0120fb3b   esp = 0x0012b6b0   ebp = 0x0012b6a8
    Found by: call frame info with scanning
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that:
* Haven't changed in > 6months
* Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb}
* Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive.

I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases).

Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.