Closed Bug 1493448 Opened 6 years ago Closed 7 months ago

Intermittent Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp and crash [@ mozilla::mscom::AgileReference::Clear()]

Categories

(Core :: IPC: MSCOM, defect, P3)

defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Attachments

(1 file)

Filed by: ccoroiu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=200992945&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/IcHJKwlZSRKso7SC73W7kw/runs/0/artifacts/public/logs/live_backing.log

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/IcHJKwlZSRKso7SC73W7kw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

16:55:10     INFO - nsStringStats
16:55:10     INFO -  => mAllocCount:           8748
16:55:10     INFO -  => mReallocCount:            0
16:55:10     INFO -  => mFreeCount:            8748
16:55:10     INFO -  => mShareCount:           5549
16:55:10     INFO -  => mAdoptCount:            491
16:55:10     INFO -  => mAdoptFreeCount:        495
16:55:10     INFO -  => Process ID: 4388, Thread ID: 6008
16:55:10     INFO - 1537635310947	Marionette	DEBUG	Received observer notification xpcom-will-shutdown
16:55:10     INFO - 1537635310947	Marionette	INFO	Stopped listening on port 2828
16:55:10     INFO - 1537635310948	Marionette	DEBUG	Remote service is inactive
16:55:10     INFO - [Parent 1132, Main Thread] WARNING: NS_ENSURE_TRUE(mDB) failed: file z:/build/build/src/netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1422
16:55:10     INFO - [Parent 1132, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
16:55:10     INFO - [Parent 1132, Gecko_IOThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
16:55:10     INFO - JavaScript error: resource://gre/modules/osfile/osfile_async_front.jsm, line 407: Error: OS.File has been shut down. Rejecting post to DirectoryIterator_prototype_close
16:55:10     INFO - JavaScript error: resource://gre/modules/ProfileAge.jsm, line 197: Error: Unable to fetch oldest profile entry: Error: OS.File has been shut down. Rejecting post to DirectoryIterator_prototype_next
16:55:10     INFO - [GPU 5368, Chrome_ChildThread] WARNING: pipe error: 109: file z:/build/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc, line 346
16:55:10     INFO - nsStringStats
16:55:10     INFO -  => mAllocCount:            437
16:55:10     INFO -  => mReallocCount:            0
16:55:10     INFO -  => mFreeCount:             437
16:55:10     INFO -  => mShareCount:            196
16:55:10     INFO -  => mAdoptCount:              0
16:55:10     INFO -  => mAdoptFreeCount:          0
16:55:10     INFO -  => Process ID: 5368, Thread ID: 5380
16:55:10     INFO - [Parent 1132, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file z:/build/build/src/xpcom/threads/nsThread.cpp, line 867
16:55:11     INFO - [Parent 1132, Main Thread] WARNING: '!gThread', file z:/build/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
16:55:11     INFO - [Parent 1132, Main Thread] WARNING: '!gThread', file z:/build/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
16:55:11     INFO - [Parent 1132, Main Thread] WARNING: '!gThread', file z:/build/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
16:55:11     INFO - [Parent 1132, Main Thread] WARNING: '!gThread', file z:/build/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
16:55:11     INFO - Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp:120
16:55:11     INFO - #01: mozilla::mscom::AgileReference::~AgileReference() [ipc/mscom/AgileReference.cpp:101]
16:55:11     INFO - 
16:55:11     INFO - #02: mozilla::widget::JumpListBuilder::~JumpListBuilder() [widget/windows/JumpListBuilder.cpp:154]
16:55:11     INFO - 
16:55:11     INFO - #03: void mozilla::widget::JumpListBuilder::~JumpListBuilder() [widget/windows/JumpListBuilder.cpp:152]
16:55:11     INFO - 
16:55:11     INFO - #04: mozilla::widget::JumpListBuilder::Release() [widget/windows/JumpListBuilder.cpp:46]
16:55:11     INFO - 
16:55:11     INFO - #05: void mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::SegmentImpl<1020>::~SegmentImpl() [mfbt/SegmentedVector.h:75]
16:55:11     INFO - 
16:55:11     INFO - #06: mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::PopLastN(unsigned int) [mfbt/SegmentedVector.h:254]
16:55:11     INFO - 
16:55:11     INFO - #07: mozilla::dom::DeferredFinalizerImpl<nsISupports>::DeferredFinalize(unsigned int,void *) [dom/bindings/BindingUtils.h:2974]
16:55:11     INFO - 
16:55:11     INFO - #08: mozilla::IncrementalFinalizeRunnable::ReleaseNow(bool) [xpcom/base/CycleCollectedJSRuntime.cpp:1373]
16:55:11     INFO - 
16:55:11     INFO - #09: mozilla::CycleCollectedJSRuntime::FinalizeDeferredThings(mozilla::CycleCollectedJSContext::DeferredFinalizeType) [xpcom/base/CycleCollectedJSRuntime.cpp:1454]
16:55:11     INFO - 
16:55:11     INFO - #10: mozilla::CycleCollectedJSRuntime::OnGC(JSContext *,JSGCStatus) [xpcom/base/CycleCollectedJSRuntime.cpp:1525]
16:55:11     INFO - 
16:55:11     INFO - #11: mozilla::CycleCollectedJSRuntime::GCCallback(JSContext *,JSGCStatus,void *) [xpcom/base/CycleCollectedJSRuntime.cpp:831]
16:55:11     INFO - 
16:55:11     INFO - #12: js::gc::GCRuntime::callGCCallback(JSGCStatus) [js/src/gc/GC.cpp:1878]
16:55:11     INFO - 
16:55:11     INFO - #13: js::gc::GCRuntime::maybeCallGCCallback(JSGCStatus) [js/src/gc/GC.cpp:7862]
16:55:11     INFO - 
16:55:11     INFO - #14: js::gc::GCRuntime::gcCycle(bool,js::SliceBudget &,JS::gcreason::Reason) [js/src/gc/GC.cpp:7952]
16:55:11     INFO - 
16:55:11     INFO - #15: js::gc::GCRuntime::collect(bool,js::SliceBudget,JS::gcreason::Reason) [js/src/gc/GC.cpp:0]
16:55:11     INFO - 
16:55:11     INFO - #16: js::gc::GCRuntime::gc(JSGCInvocationKind,JS::gcreason::Reason) [js/src/gc/GC.cpp:8204]
16:55:11     INFO - 
16:55:11     INFO - #17: JS::NonIncrementalGC(JSContext *,JSGCInvocationKind,JS::gcreason::Reason) [js/src/gc/GC.cpp:9099]
16:55:11     INFO - 
16:55:11     INFO - #18: mozilla::CycleCollectedJSRuntime::GarbageCollect(unsigned int) [xpcom/base/CycleCollectedJSRuntime.cpp:1236]
16:55:11     INFO - 
16:55:11     INFO - #19: nsCycleCollector::FixGrayBits(bool,TimeLog &) [xpcom/base/nsCycleCollector.cpp:3678]
16:55:11     INFO - 
16:55:11     INFO - #20: nsCycleCollector::BeginCollection(ccType,nsICycleCollectorListener *) [xpcom/base/nsCycleCollector.cpp:3992]
16:55:11     INFO - 
16:55:11     INFO - #21: nsCycleCollector::Collect(ccType,js::SliceBudget &,nsICycleCollectorListener *,bool) [xpcom/base/nsCycleCollector.cpp:3848]
16:55:11     INFO - 
16:55:11     INFO - #22: nsCycleCollector::ShutdownCollect() [xpcom/base/nsCycleCollector.cpp:3757]
16:55:11     INFO - 
16:55:11     INFO - #23: nsCycleCollector::Shutdown(bool) [xpcom/base/nsCycleCollector.cpp:4064]
16:55:11     INFO - 
16:55:11     INFO - #24: nsCycleCollector_shutdown(bool) [xpcom/base/nsCycleCollector.cpp:4467]
16:55:11     INFO - 
16:55:11     INFO - #25: mozilla::ShutdownXPCOM(nsIServiceManager *) [xpcom/build/XPCOMInit.cpp:1003]
16:55:11     INFO - 
16:55:11     INFO - #26: ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1429]
16:55:11     INFO - 
16:55:11     INFO - #27: XREMain::XRE_main(int,char * * const,mozilla::BootstrapConfig const &) [toolkit/xre/nsAppRunner.cpp:4996]
16:55:11     INFO - 
16:55:11     INFO - #28: XRE_main(int,char * * const,mozilla::BootstrapConfig const &) [toolkit/xre/nsAppRunner.cpp:5060]
16:55:11     INFO - 
16:55:11     INFO - #29: mozilla::BootstrapImpl::XRE_main(int,char * * const,mozilla::BootstrapConfig const &) [toolkit/xre/Bootstrap.cpp:49]
16:55:11     INFO - 
16:55:11     INFO - #30: NS_internal_main(int,char * *,char * *) [browser/app/nsBrowserApp.cpp:315]
16:55:11     INFO - 
16:55:11     INFO - #31: wmain [toolkit/xre/nsWindowsWMain.cpp:143]
16:55:11     INFO - 
16:55:11     INFO - #32: static int __scrt_common_main_seh() [f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:288]
16:55:11     INFO - 
16:55:11     INFO - #33: kernel32.dll + 0x53c45
16:55:11     INFO - 
16:55:11     INFO - #34: ntdll.dll + 0x637f5
16:55:11     INFO - 
16:55:11     INFO - #35: ntdll.dll + 0x637c8
16:55:11     INFO - 
16:55:11    ERROR - TEST-UNEXPECTED-FAIL | Last test finished | application terminated with exit code 1
16:55:11     INFO - REFTEST INFO | Copy/paste: Z:\task_1537633869\build\win32-minidump_stackwalk.exe c:\users\task_1537633869\appdata\local\temp\tmptyv_4p.mozrunner\minidumps\628cab9a-9a3a-4522-9888-ded3fa735bcc.dmp Z:\task_1537633869\build\symbols
16:55:23     INFO - REFTEST INFO | Saved minidump as Z:\task_1537633869\build\blobber_upload_dir\628cab9a-9a3a-4522-9888-ded3fa735bcc.dmp
16:55:23     INFO - REFTEST INFO | Saved app info as Z:\task_1537633869\build\blobber_upload_dir\628cab9a-9a3a-4522-9888-ded3fa735bcc.extra
16:55:23     INFO - REFTEST PROCESS-CRASH | Last test finished | application crashed [@ mozilla::mscom::AgileReference::Clear()]
16:55:23     INFO - Crash dump filename: c:\users\task_1537633869\appdata\local\temp\tmptyv_4p.mozrunner\minidumps\628cab9a-9a3a-4522-9888-ded3fa735bcc.dmp
16:55:23     INFO - Operating system: Windows NT
16:55:23     INFO -                   6.1.7601 Service Pack 1
16:55:23     INFO - CPU: x86
16:55:23     INFO -      GenuineIntel family 6 model 45 stepping 7
16:55:23     INFO -      8 CPUs
16:55:23     INFO - 
16:55:23     INFO - GPU: UNKNOWN
16:55:23     INFO - 
16:55:23     INFO - Crash reason:  EXCEPTION_BREAKPOINT
16:55:23     INFO - Crash address: 0x53224f60
16:55:23     INFO - Process uptime: 8 seconds
16:55:23     INFO - 
16:55:23     INFO - Thread 0 (crashed)
16:55:23     INFO -  0  xul.dll!mozilla::mscom::AgileReference::Clear() [AgileReference.cpp:ff4f20dd48589658dd81066d0310d37044141f39 : 120 + 0x0]
16:55:23     INFO -     eip = 0x53224f60   esp = 0x001ef074   ebp = 0x001ef078   ebx = 0x00000058
16:55:23     INFO -     esi = 0x00707610   edi = 0x00707630   eax = 0x00000000   ecx = 0x00000000
16:55:23     INFO -     edx = 0x00000000   efl = 0x00000206
16:55:23     INFO -     Found by: given as instruction pointer in context
16:55:23     INFO -  1  xul.dll!mozilla::mscom::AgileReference::~AgileReference() [AgileReference.cpp:ff4f20dd48589658dd81066d0310d37044141f39 : 100 + 0x5]
16:55:23     INFO -     eip = 0x5322509b   esp = 0x001ef080   ebp = 0x001ef084
16:55:23     INFO -     Found by: previous frame's frame pointer
16:55:23     INFO -  2  xul.dll!mozilla::widget::JumpListBuilder::~JumpListBuilder() [JumpListBuilder.cpp:ff4f20dd48589658dd81066d0310d37044141f39 : 154 + 0xa]
16:55:23     INFO -     eip = 0x55651fd0   esp = 0x001ef08c   ebp = 0x001ef0a4
16:55:23     INFO -     Found by: previous frame's frame pointer
16:55:23     INFO -  3  xul.dll!void mozilla::widget::JumpListBuilder::~JumpListBuilder() [JumpListBuilder.cpp:ff4f20dd48589658dd81066d0310d37044141f39 : 152 + 0x5]
16:55:23     INFO -     eip = 0x55653e3b   esp = 0x001ef0ac   ebp = 0x001ef0b0
16:55:23     INFO -     Found by: previous frame's frame pointer
16:55:23     INFO -  4  xul.dll!mozilla::widget::JumpListBuilder::Release() [JumpListBuilder.cpp:ff4f20dd48589658dd81066d0310d37044141f39 : 46 + 0x9]
16:55:23     INFO -     eip = 0x556517ad   esp = 0x001ef0b8   ebp = 0x001ef0c4
16:55:23     INFO -     Found by: previous frame's frame pointer
16:55:23     INFO -  5  xul.dll!void mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::SegmentImpl<1020>::~SegmentImpl() [SegmentedVector.h:ff4f20dd48589658dd81066d0310d37044141f39 : 76 + 0x1c]
16:55:23     INFO -     eip = 0x52736a7c   esp = 0x001ef0cc   ebp = 0x001ef0dc
16:55:23     INFO -     Found by: previous frame's frame pointer
Note that this causes a crash:

> 12:23:54     INFO -  Thread 0 (crashed)
> 12:23:54     INFO -   0  xul.dll!mozilla::mscom::AgileReference::Clear() [AgileReference.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 120 + 0x0]
> 12:23:54     INFO -      eip = 0x55b6b5f0   esp = 0x0042f224   ebp = 0x0042f228   ebx = 0x000000e6
> 12:23:54     INFO -      esi = 0x0e627980   edi = 0x0e6279a0   eax = 0x00000000   ecx = 0x00000000
> 12:23:54     INFO -      edx = 0x00000000   efl = 0x00000206
> 12:23:54     INFO -      Found by: given as instruction pointer in context
> 12:23:54     INFO -   1  xul.dll!mozilla::mscom::AgileReference::~AgileReference() [AgileReference.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 100 + 0x5]
> 12:23:54     INFO -      eip = 0x55b6b72b   esp = 0x0042f230   ebp = 0x0042f234
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   2  xul.dll!mozilla::widget::JumpListBuilder::~JumpListBuilder() [JumpListBuilder.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 154 + 0xa]
> 12:23:54     INFO -      eip = 0x580b37b0   esp = 0x0042f23c   ebp = 0x0042f254
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   3  xul.dll!void mozilla::widget::JumpListBuilder::~JumpListBuilder() [JumpListBuilder.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 152 + 0x5]
> 12:23:54     INFO -      eip = 0x580b584b   esp = 0x0042f25c   ebp = 0x0042f260
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   4  xul.dll!mozilla::widget::JumpListBuilder::Release() [JumpListBuilder.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 46 + 0x9]
> 12:23:54     INFO -      eip = 0x580b2fcd   esp = 0x0042f268   ebp = 0x0042f274
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   5  xul.dll!void mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::SegmentImpl<1020>::~SegmentImpl() [SegmentedVector.h:f6df375b86987b2772067a61873ebfe3a98c353a : 76 + 0x1c]
> 12:23:54     INFO -      eip = 0x5502c1fc   esp = 0x0042f27c   ebp = 0x0042f28c
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   6  xul.dll!mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::PopLastN(unsigned int) [SegmentedVector.h:f6df375b86987b2772067a61873ebfe3a98c353a : 253 + 0x5]
> 12:23:54     INFO -      eip = 0x5502c096   esp = 0x0042f294   ebp = 0x0042f2a8
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   7  xul.dll!mozilla::dom::DeferredFinalizerImpl<nsISupports>::DeferredFinalize(unsigned int,void *) [BindingUtils.h:f6df375b86987b2772067a61873ebfe3a98c353a : 2945 + 0x6]
> 12:23:54     INFO -      eip = 0x55020ff0   esp = 0x0042f2b0   ebp = 0x0042f2c0
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   8  xul.dll!mozilla::IncrementalFinalizeRunnable::ReleaseNow(bool) [CycleCollectedJSRuntime.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 1373 + 0xe]
> 12:23:54     INFO -      eip = 0x5502147e   esp = 0x0042f2c8   ebp = 0x0042f344
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -   9  xul.dll!mozilla::CycleCollectedJSRuntime::FinalizeDeferredThings(mozilla::CycleCollectedJSContext::DeferredFinalizeType) [CycleCollectedJSRuntime.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 1453 + 0x7]
> 12:23:54     INFO -      eip = 0x55021965   esp = 0x0042f34c   ebp = 0x0042f364
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  10  xul.dll!mozilla::CycleCollectedJSRuntime::OnGC(JSContext *,JSGCStatus) [CycleCollectedJSRuntime.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 1515 + 0x8]
> 12:23:54     INFO -      eip = 0x5501fbab   esp = 0x0042f36c   ebp = 0x0042f38c
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  11  xul.dll!mozilla::CycleCollectedJSRuntime::GCCallback(JSContext *,JSGCStatus,void *) [CycleCollectedJSRuntime.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 830 + 0x9]
> 12:23:54     INFO -      eip = 0x5501e429   esp = 0x0042f394   ebp = 0x0042f3a0
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  12  xul.dll!js::gc::GCRuntime::callGCCallback(JSGCStatus) [GC.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 1880 + 0xc]
> 12:23:54     INFO -      eip = 0x59c466bb   esp = 0x0042f3a8   ebp = 0x0042f3bc
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  13  xul.dll!js::gc::GCRuntime::maybeCallGCCallback(JSGCStatus) [GC.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 7865 + 0x8]
> 12:23:54     INFO -      eip = 0x59c65896   esp = 0x0042f3c4   ebp = 0x0042f3ec
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  14  xul.dll!js::gc::GCRuntime::gcCycle(bool,js::SliceBudget &,JS::gcreason::Reason) [GC.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 7957 + 0x19]
> 12:23:54     INFO -      eip = 0x59c65d7c   esp = 0x0042f3f4   ebp = 0x0042f464
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  15  xul.dll!js::gc::GCRuntime::collect(bool,js::SliceBudget,JS::gcreason::Reason) [GC.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 8126 + 0x11]
> 12:23:54     INFO -      eip = 0x59c67251   esp = 0x0042f46c   ebp = 0x0042f508
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  16  xul.dll!JS::NonIncrementalGC(JSContext *,JSGCInvocationKind,JS::gcreason::Reason) [GC.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 9109 + 0xe8]
> 12:23:54     INFO -      eip = 0x59c6b84d   esp = 0x0042f510   ebp = 0x0042f59c
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  17  xul.dll!mozilla::CycleCollectedJSRuntime::GarbageCollect(unsigned int) [CycleCollectedJSRuntime.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 1236 + 0x9]
> 12:23:54     INFO -      eip = 0x550206ce   esp = 0x0042f5a4   ebp = 0x0042f5b8
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  18  xul.dll!nsCycleCollector::FixGrayBits(bool,TimeLog &) [nsCycleCollector.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 3678 + 0x9]
> 12:23:54     INFO -      eip = 0x55035119   esp = 0x0042f5c0   ebp = 0x0042f5d0
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  19  xul.dll!nsCycleCollector::BeginCollection(ccType,nsICycleCollectorListener *) [nsCycleCollector.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 3994 + 0xc]
> 12:23:54     INFO -      eip = 0x55035b45   esp = 0x0042f5d8   ebp = 0x0042f624
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  20  xul.dll!nsCycleCollector::Collect(ccType,js::SliceBudget &,nsICycleCollectorListener *,bool) [nsCycleCollector.cpp:f6df375b86987b2772067a61873ebfe3a98c353a : 3820 + 0xd]
> 12:23:54     INFO -      eip = 0x55035710   esp = 0x0042f62c   ebp = 0x0042f668
> 12:23:54     INFO -      Found by: previous frame's frame pointer
> 12:23:54     INFO -  21  xul.dll!nsCycleCollector::ShutdownCollect() [nsCycleCollector.cpp:f6df375b86987b2772067a6187
Severity: normal → critical
Keywords: crash
Summary: Intermittent Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp:120 → Intermittent Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp:120 and crash [@ mozilla::mscom::AgileReference::Clear()]
Without knowing the actual error code that is triggering the failure, it's hard to know what the issue is.
This is unexpected, but isn't severe; we'll fail gracefully in release builds.

This bug failed 43 times in the last 7 days. Occurs on windows7-32 debug build type.

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=226888819&repo=autoland&lineNumber=45861

This bug failed 51 times in the last 7 days. Occurs on windows7-32 debug build type

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228513738&repo=autoland&lineNumber=44426

Summary: Intermittent Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp:120 and crash [@ mozilla::mscom::AgileReference::Clear()] → Intermittent Assertion failure: (((HRESULT)(hr)) >= 0), at z:/build/build/src/ipc/mscom/AgileReference.cpp and crash [@ mozilla::mscom::AgileReference::Clear()]

Could this be a shutdown problem with the cycle collector? Andrew could you have a look please? Thanks

Flags: needinfo?(continuation)

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #25)

Could this be a shutdown problem with the cycle collector? Andrew could you have a look please? Thanks

I don't see the cycle collector or any DOM code in the assertion stack. This is some MSCOM thing.

Aaron, maybe you could take a look? Thanks.

Flags: needinfo?(continuation) → needinfo?(aklotz)

Ugh, bad call stacks in the logs. I need to land bug 1238305 in order to really determine what the problem is.

Depends on: 1238305
Flags: needinfo?(aklotz)

ni? myself to keep this on my radar

Flags: needinfo?(aklotz)

(In reply to Aaron Klotz [:aklotz] from comment #28)

Ugh, bad call stacks in the logs. I need to land bug 1238305 in order to really determine what the problem is.

Actually, that bug is just for cppunittests. But we still need good call stacks. I guess I'll go look at the other occurrences and see which ones are good.

No longer depends on: 1238305

This seems to have a good trace:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228862151&repo=mozilla-central

23:15:02 INFO - #01: mozilla::mscom::AgileReference::~AgileReference() [ipc/mscom/AgileReference.cpp:86]
23:15:02 INFO -
23:15:02 INFO - #02: mozilla::widget::JumpListBuilder::~JumpListBuilder() [widget/windows/JumpListBuilder.cpp:137]
23:15:02 INFO -
23:15:02 INFO - #03: void mozilla::widget::JumpListBuilder::~JumpListBuilder() [widget/windows/JumpListBuilder.cpp:135]
23:15:02 INFO -
23:15:02 INFO - #04: mozilla::widget::JumpListBuilder::Release() [widget/windows/JumpListBuilder.cpp:47]
23:15:02 INFO -
23:15:02 INFO - #05: mozilla::SegmentedVector<nsCOMPtr<nsISupports>,4096,mozilla::MallocAllocPolicy>::PopLastN(unsigned int) [mfbt/SegmentedVector.h:235]
23:15:02 INFO -
23:15:02 INFO - #06: mozilla::dom::DeferredFinalizerImpl<nsISupports>::DeferredFinalize(unsigned int,void *) [dom/bindings/BindingUtils.h:2691]
23:15:02 INFO -
23:15:02 INFO - #07: mozilla::IncrementalFinalizeRunnable::ReleaseNow(bool) [xpcom/base/CycleCollectedJSRuntime.cpp:1252]
23:15:02 INFO -
23:15:02 INFO - #08: mozilla::CycleCollectedJSRuntime::FinalizeDeferredThings(mozilla::CycleCollectedJSContext::DeferredFinalizeType) [xpcom/base/CycleCollectedJSRuntime.cpp:1333]
23:15:02 INFO -
23:15:02 INFO - #09: mozilla::CycleCollectedJSRuntime::OnGC(JSContext *,JSGCStatus) [xpcom/base/CycleCollectedJSRuntime.cpp:1401]
23:15:02 INFO -
23:15:02 INFO - #10: mozilla::CycleCollectedJSRuntime::GCCallback(JSContext *,JSGCStatus,void *) [xpcom/base/CycleCollectedJSRuntime.cpp:789]
[..]

Those assertions and crashes started in September last year. So maybe it's a regression as introduced by bug 1489317, which touched this code?

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] (away 02/28 - 03/03) from comment #32)

Those assertions and crashes started in September last year. So maybe it's a regression as introduced by bug 1489317, which touched this code?

Bug 1489317 was an important correctness fix, and upon further review of what we did there, everything still looks right to me. The best way to solve this would be to surface the actual error code that is raising the assertion.

Flags: needinfo?(aklotz)
Keywords: leave-open

This patch is not a fix, but it will give us better information in the test logs.

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e2a22849126
Print out the failing HRESULT when assertion fires in mscom::AgileReference::Clear; r=Jamie

Moving these bugs (intermittent test failures with crashes) out of P5.

Priority: P5 → --
Priority: -- → P3
QA Whiteboard: qa-not-actionable
Severity: critical → S2

No crash traffic, no clues, closing for now.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: