Closed Bug 747602 Opened 12 years ago Closed 11 years ago

Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ dom::CanvasRenderingContext2D::DrawWindow] or a possibly completely different crash [@ nsRefreshDriver::Tick]

Categories

(Core :: Graphics: Canvas2D, defect)

10 Branch
x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=11059471&tree=Firefox
Rev3 WINNT 6.1 mozilla-central debug test mochitest-other on 2012-04-19 21:03:52 PDT for push 22bfdebf5cae

17443 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_mousecapture.xul | selection scroll position after timer - 140 should equal 140
++DOCSHELL 199C04B8 == 17 [id = 339]
++DOMWINDOW == 713 (295F5DF8) [serial = 1558] [outer = 00000000]
++DOMWINDOW == 714 (295F6000) [serial = 1559] [outer = 295F5DA8]
++DOCSHELL 1AC9B048 == 18 [id = 340]
++DOMWINDOW == 715 (295F7450) [serial = 1560] [outer = 00000000]
++DOCSHELL 1ACA26E8 == 19 [id = 341]
++DOMWINDOW == 716 (295F7658) [serial = 1561] [outer = 00000000]
[Parent 628] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file e:/builds/moz2_slave/m-cen-w32-dbg/build/content/base/src/nsFrameLoader.cpp, line 419
++DOCSHELL 1ACB73F8 == 20 [id = 342]
++DOMWINDOW == 717 (28E9B0A8) [serial = 1562] [outer = 00000000]
++DOMWINDOW == 718 (0C7C2EF0) [serial = 1563] [outer = 28E9B058]
[Parent 628] WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-cen-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2443
++DOMWINDOW == 719 (2977ED90) [serial = 1564] [outer = 295F7400]
[Parent 628] WARNING: Subdocument container has no frame: file e:/builds/moz2_slave/m-cen-w32-dbg/build/layout/base/nsDocumentViewer.cpp, line 2443
++DOMWINDOW == 720 (2977E980) [serial = 1565] [outer = 295F7608]
++DOMWINDOW == 721 (0C7C2908) [serial = 1566] [outer = 28E9B058]
[Parent 628] WARNING: NS_ENSURE_TRUE(mMutable) failed: file e:/builds/moz2_slave/m-cen-w32-dbg/build/netwerk/base/src/nsSimpleURI.cpp, line 293
++DOMWINDOW == 722 (0FB75090) [serial = 1567] [outer = 28E9B058]
[Parent 628] WARNING: Nv3DVStreaming CoCreateInstance failed (disabled).: file e:/builds/moz2_slave/m-cen-w32-dbg/build/gfx/layers/d3d9/Nv3DVUtils.cpp, line 85
WARNING: shutting down early because of crash!: file e:/builds/moz2_slave/m-cen-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 743
WARNING: plugin process _exit()ing: file e:/builds/moz2_slave/m-cen-w32-dbg/build/dom/plugins/ipc/PluginModuleChild.cpp, line 708
NPP_Destroy
NPP_Destroy
NPP_Destroy
NPP_Destroy
NPP_Destroy
NPP_Destroy
NPP_Destroy
nsStringStats
 => mAllocCount:            139
 => mReallocCount:            1
 => mFreeCount:              72  --  LEAKED 67 !!!
 => mShareCount:            131
 => mAdoptCount:              0
 => mAdoptFreeCount:          0
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_mousecapture.xul | Exited with code -1073741819 during test run
INFO | automation.py | Application ran for: 0:07:44.415000
INFO | automation.py | Reading PID log: c:\users\cltbld\appdata\local\temp\tmp3-zm-hpidlog
==> process 628 launched child process 2612
==> process 628 launched child process 1348
==> process 628 launched child process 1000
==> process 628 launched child process 1912
==> process 628 launched child process 2928
INFO | automation.py | Checking for orphan process with PID: 2612
INFO | automation.py | Checking for orphan process with PID: 1348
INFO | automation.py | Checking for orphan process with PID: 1000
INFO | automation.py | Checking for orphan process with PID: 1912
INFO | automation.py | Checking for orphan process with PID: 2928
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32-debug/1334886618/firefox-14.0a1.en-US.win32.crashreporter-symbols.zip
PROCESS-CRASH | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_mousecapture.xul | application crashed (minidump found)
Crash dump filename: c:\users\cltbld\appdata\local\temp\tmpo0o8ik\minidumps\72deeae7-f47e-42a6-858b-ada79f741fdd.dmp
Operating system: Windows NT
                  6.1.7600 
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0x8

Thread 0 (crashed)
 0  xul.dll!PresShell::RenderDocument(nsRect const &,unsigned int,unsigned int,gfxContext *) [nsPresShell.cpp:22bfdebf5cae : 4418 + 0x3]
    eip = 0x6bc53a51   esp = 0x0030cd50   ebp = 0x0030cde0   ebx = 0x2a0620d0
    esi = 0x2a051e28   edi = 0x0030ce34   eax = 0x00000000   ecx = 0xf22510de
    edx = 0x00000000   efl = 0x00210246
    Found by: given as instruction pointer in context
 1  xul.dll!nsCanvasRenderingContext2DAzure::DrawWindow(nsIDOMWindow *,float,float,float,float,nsAString_internal const &,unsigned int) [nsCanvasRenderingContext2DAzure.cpp:22bfdebf5cae : 3893 + 0x14]
    eip = 0x6be8bd40   esp = 0x0030cde8   ebp = 0x0030ce88
    Found by: call frame info
 2  xul.dll!nsIDOMCanvasRenderingContext2D_DrawWindow [dom_quickstubs.cpp:22bfdebf5cae : 2832 + 0x3a]
    eip = 0x6c31e925   esp = 0x0030ce90   ebp = 0x0030cf10
    Found by: call frame info
 3  mozjs.dll!js::CallJSNative(JSContext *,int (*)(JSContext *,unsigned int,JS::Value *),js::CallArgs const &) [jscntxtinlines.h:22bfdebf5cae : 314 + 0xe]
    eip = 0x6b6e7e0a   esp = 0x0030cf18   ebp = 0x0030cf54
    Found by: call frame info
 4  mozjs.dll!js::InvokeKernel(JSContext *,js::CallArgs,js::MaybeConstruct) [jsinterp.cpp:22bfdebf5cae : 519 + 0x13]
    eip = 0x6b6edcc4   esp = 0x0030cf5c   ebp = 0x0030cf98
    Found by: call frame info
 5  mozjs.dll!js::Interpret(JSContext *,js::StackFrame *,js::InterpMode) [jsinterp.cpp:22bfdebf5cae : 2757 + 0x29]
    eip = 0x6b6f22c2   esp = 0x0030cfa0   ebp = 0x0030d41c
    Found by: call frame info
 6  mozjs.dll!js::RunScript(JSContext *,JSScript *,js::StackFrame *) [jsinterp.cpp:22bfdebf5cae : 475 + 0x6]
    eip = 0x6b6e9a35   esp = 0x0030d424   ebp = 0x0030d448
    Found by: call frame info
 7  mozjs.dll!js::InvokeKernel(JSContext *,js::CallArgs,js::MaybeConstruct) [jsinterp.cpp:22bfdebf5cae : 535 + 0xe]
    eip = 0x6b6edd56   esp = 0x0030d450   ebp = 0x0030d48c
    Found by: call frame info
 8  mozjs.dll!js::CallOrConstructBoundFunction(JSContext *,unsigned int,JS::Value *) [jsfun.cpp:22bfdebf5cae : 840 + 0x24]
    eip = 0x6b695af9   esp = 0x0030d494   ebp = 0x0030d4e4
Crash Signature: [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow]
https://tbpl.mozilla.org/php/getParsedLog.php?id=13481483&tree=Mozilla-Inbound
Summary: Intermittent test_mousecapture.xul | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] → Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow]
(In reply to TinderboxPushlog Robot from comment #77)
> ryanvm%gmail.com
> https://tbpl.mozilla.org/php/getParsedLog.php?id=15456023&tree=Firefox
> Rev4 MacOSX Snow Leopard 10.6 mozilla-central debug test mochitest-other on
> 2012-09-23 05:38:12
> slave: talos-r4-snow-065
> 
> Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread()
> (nsDeviceContext not thread-safe), at ../../../gfx/src/nsDeviceContext.h:26
> TEST-UNEXPECTED-FAIL |
> chrome://mochitests/content/browser/browser/base/content/test/
> browser_overflowScroll.js | Exited with code 1 during test run
> PROCESS-CRASH |
> chrome://mochitests/content/browser/browser/base/content/test/
> browser_overflowScroll.js | application crashed (minidump found)
> Thread 0 (crashed)
> TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | missing output
> line for total leaks!
> TEST-UNEXPECTED-FAIL | plugin process 430 | automationutils.processLeakLog()
> | missing output line for total leaks!

Note that this is showing an assertion failure now too (presumably from khuey's landing yesterday).

Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsDeviceContext not thread-safe), at ../../../gfx/src/nsDeviceContext.h:26

Does that make this s-s?
Maybe.  I'd be curious to know how we ended up with a non-main-thread device context though.
Given the multitude of assertions we hit I think this is probably memory corruption.
At some unknown time, at least for test_mousecapture.xul, we started throwing nsRefreshDriver::Tick crashes in here too.
Crash Signature: [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] → [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] [@ nsRefreshDriver::Tick]
Summary: Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] → Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] or a possibly completely different crash [@ nsRefreshDriver::Tick]
Please may someone take a look at this; it's one of our top oranges at the moment.
Depends on: 776505
(In reply to Ed Morley [:edmorley UTC+1] from comment #279)
> Please may someone take a look at this; it's one of our top oranges at the
> moment.

Anyone?
Summary: Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ nsCanvasRenderingContext2DAzure::DrawWindow] or a possibly completely different crash [@ nsRefreshDriver::Tick] → Intermittent test_mousecapture.xul, browser_overflowScroll.js | Exited with code -1073741819 from a crash [@ PresShell::RenderDocument] [@ dom::CanvasRenderingContext2D::DrawWindow] or a possibly completely different crash [@ nsRefreshDriver::Tick]
Whiteboard: [orange]
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.