Closed
Bug 877362
Opened 11 years ago
Closed 11 years ago
Intermittent OSX mochitest-1 Shutdown | Exited with code 1 during test run | application crashed [@ mozalloc_abort(char const*)] (ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0')
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: RyanVM, Assigned: baku)
References
Details
(Keywords: assertion, crash, intermittent-failure)
https://tbpl.mozilla.org/php/getParsedLog.php?id=23533420&tree=Fx-Team Rev5 MacOSX Mountain Lion 10.8 fx-team debug test mochitest-1 on 2013-05-29 08:26:31 PDT for push 008e4e53a4ff slave: talos-mtnlion-r5-045 08:53:20 INFO - JS Component Loader: ERROR chrome://global/content/BrowserElementChildPreload.js:268 08:53:20 INFO - TypeError: content is null 08:53:20 INFO - [Parent 902] WARNING: NS_ENSURE_TRUE(mDB) failed: file ../../../netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1395 08:53:20 INFO - [Parent 902] WARNING: NS_ENSURE_TRUE(mThread != PR_GetCurrentThread()) failed: file ../../../xpcom/threads/nsThread.cpp, line 446 08:53:20 INFO - [Parent 902] WARNING: nsExceptionService ignoring thread destruction after shutdown: file ../../../xpcom/base/nsExceptionService.cpp, line 167 08:53:20 INFO - [Parent 902] WARNING: nsAppShell::Exit() called redundantly: file ../../../widget/cocoa/nsAppShell.mm, line 757 08:53:20 INFO - --DOCSHELL 0x145efa320 == 3 [id = 693] 08:53:20 INFO - [Parent 902] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 256 08:53:20 INFO - [Parent 902] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 256 08:53:20 INFO - --DOMWINDOW == 21 (0x1540d6010) [serial = 4870] [outer = 0x12625bad0] [url = http://mochi.test:8888/tests/content/xml/document/test/test_bug445330.html] 08:53:20 INFO - --DOCSHELL 0x112d9f910 == 2 [id = 5] 08:53:20 INFO - --DOCSHELL 0x15f061280 == 1 [id = 736] 08:53:20 INFO - --DOCSHELL 0x111427780 == 0 [id = 2] 08:53:20 INFO - [Parent 902] ###!!! ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../../dist/include/nsCOMPtr.h, line 839 08:53:20 INFO - mozilla::dom::HTMLMediaElement::Pause(mozilla::ErrorResult&) [content/html/content/src/HTMLMediaElement.cpp:1468] 08:53:20 INFO - mozilla::dom::HTMLMediaElement::Pause() [obj-firefox/dist/include/mozilla/ErrorResult.h:105] 08:53:20 INFO - mozilla::dom::HTMLMediaElement::UnbindFromTree(bool, bool) [content/html/content/src/HTMLMediaElement.cpp:2381] 08:53:20 INFO - mozilla::dom::Element::UnbindFromTree(bool, bool) [content/base/src/Element.cpp:1325] 08:53:20 INFO - nsGenericHTMLElement::UnbindFromTree(bool, bool) [content/html/content/src/nsGenericHTMLElement.cpp:656] 08:53:20 INFO - mozilla::dom::Element::UnbindFromTree(bool, bool) [content/base/src/Element.cpp:1325] 08:53:20 INFO - nsGenericHTMLElement::UnbindFromTree(bool, bool) [content/html/content/src/nsGenericHTMLElement.cpp:656] 08:53:20 INFO - mozilla::dom::HTMLSharedElement::UnbindFromTree(bool, bool) [/builds/slave/m-in-osx64-d-00000000000000000/build/obj-firefox/content/html/content/src/../../../../dist/include/nsINodeInfo.h:280] 08:53:20 INFO - nsDocument::cycleCollection::UnlinkImpl(void*) [content/base/src/nsDocument.cpp:1824] 08:53:20 INFO - nsHTMLDocument::cycleCollection::UnlinkImpl(void*) [obj-firefox/dist/include/nsAutoPtr.h:865] 08:53:20 INFO - nsCycleCollector::CollectWhite(nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:2417] 08:53:20 INFO - nsCycleCollector::FinishCollection(nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:2883] 08:53:20 INFO - nsCycleCollector::ShutdownCollect(nsICycleCollectorListener*) [xpcom/base/nsCycleCollector.cpp:2759] 08:53:20 INFO - nsCycleCollector::Shutdown() [obj-firefox/dist/include/nsCOMPtr.h:532] 08:53:20 INFO - nsCycleCollector_shutdown() [xpcom/base/nsCycleCollector.cpp:2543] 08:53:20 INFO - mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/glue/nsCOMPtr.h:820] 08:53:20 INFO - ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:1126] 08:53:20 INFO - XREMain::XRE_main(int, char**, nsXREAppData const*) [obj-firefox/dist/include/mozilla/mozalloc.h:225] 08:53:20 INFO - XRE_main [toolkit/xre/nsAppRunner.cpp:4142] 08:53:20 INFO - main [browser/app/nsBrowserApp.cpp:272] 08:53:20 INFO - [Parent 902] ###!!! ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../../dist/include/nsCOMPtr.h, line 839 08:53:23 WARNING - TEST-UNEXPECTED-FAIL | Shutdown | Exited with code 1 during test run 08:53:23 INFO - INFO | automation.py | Application ran for: 0:24:31.496776 08:53:23 INFO - INFO | zombiecheck | Reading PID log: /var/folders/np/253ng38x5ln5h1fwm2gjh92h00000w/T/tmpGv6eUnpidlog 08:53:34 WARNING - PROCESS-CRASH | Shutdown | application crashed [@ mozalloc_abort(char const*)] 08:53:34 INFO - Crash dump filename: /var/folders/np/253ng38x5ln5h1fwm2gjh92h00000w/T/tmpxM5Ig5/minidumps/C29AE555-86FD-4D7C-8E8B-CDE0ABA9AC33.dmp 08:53:34 INFO - Operating system: Mac OS X 08:53:34 INFO - 10.8.0 12A269 08:53:34 INFO - CPU: amd64 08:53:35 INFO - family 6 model 42 stepping 7 08:53:35 INFO - 8 CPUs 08:53:35 INFO - Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS 08:53:35 INFO - Crash address: 0x0 08:53:35 INFO - Thread 0 (crashed) 08:53:35 INFO - 0 libmozalloc.dylib!mozalloc_abort(char const*) [mozalloc_abort.cpp : 30 + 0x0] 08:53:35 INFO - rbx = 0x00007fff7582ec68 r12 = 0x000000010379faf8 08:53:35 INFO - r13 = 0x000000010384b3e0 r14 = 0x00007fff5fbf6860 08:53:35 INFO - r15 = 0x00007fff7582ec68 rip = 0x00000001000b2aa4 08:53:35 INFO - rsp = 0x00007fff5fbf6810 rbp = 0x00007fff5fbf6820 08:53:35 INFO - Found by: given as instruction pointer in context 08:53:35 INFO - 1 XUL!NS_DebugBreak [nsDebugImpl.cpp : 387 + 0x7] 08:53:35 INFO - rip = 0x0000000102b80312 rsp = 0x00007fff5fbf6840 08:53:35 INFO - Found by: stack scanning 08:53:35 INFO - 2 XUL!nsHttpDigestAuth::GenerateCredentials(nsIHttpAuthenticableChannel*, char const*, bool, unsigned short const*, unsigned short const*, unsigned short const*, nsISupports**, nsISupports**, unsigned int*, char**)::hexChar + 0x15ed4 08:53:35 INFO - rip = 0x0000000103796505 rsp = 0x00007fff5fbf6848 08:53:35 INFO - Found by: stack scanning
Reporter | ||
Comment 1•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=23534054&tree=Fx-Team 09:02:03 INFO - 5 XUL!mozilla::dom::HTMLLinkElement::Release() [HTMLLinkElement.cpp : 53 + 0x19] 09:02:03 INFO - rip = 0x00000001019c8bb4 rsp = 0x00007fff5fbf6970 09:02:03 INFO - Found by: stack scanning 09:02:03 INFO - 6 XUL!nsStyleLinkElement::DoUpdateStyleSheet(nsIDocument*, nsICSSLoaderObserver*, bool*, bool*, bool) [nsCOMPtr.h : 534 + 0x5] 09:02:03 INFO - rip = 0x0000000101856835 rsp = 0x00007fff5fbf6990 09:02:03 INFO - Found by: stack scanning 09:02:03 INFO - 7 XUL!nsDependentString::nsDependentString(unsigned short const*, unsigned int) [nsTString.h:008e4e53a4ff : 371 + 0x4] 09:02:03 INFO - rip = 0x00000001010071f3 rsp = 0x00007fff5fbf69a0 09:02:03 INFO - Found by: stack scanning
Reporter | ||
Comment 2•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=23533241&tree=Mozilla-Central https://tbpl.mozilla.org/php/getParsedLog.php?id=23522225&tree=Mozilla-Inbound https://tbpl.mozilla.org/php/getParsedLog.php?id=23534426&tree=Mozilla-Inbound
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 8•11 years ago
|
||
Interesting that we're seeing this on b2g18 too. Rob, your patches for bug 876426 and bug 876380 came up as possibly suspicious yesterday when looking at the regression range. Any chance you can take a look?
Flags: needinfo?(roc)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
http://hg.mozilla.org/mozilla-central/file/8d85de779506/content/html/content/src/HTMLMediaElement.cpp#l1468 mAutoplaying = false; not helpful :-(
Flags: needinfo?(roc)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 26•11 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #12) > http://hg.mozilla.org/mozilla-central/file/8d85de779506/content/html/content/ > src/HTMLMediaElement.cpp#l1468 > mAutoplaying = false; > > not helpful :-( Is there anything else that can be done to help track this down? We see this frequently on b2g18 and it also affects Linux32 and Linux64 there.
Flags: needinfo?(roc)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
It looks like we crash here: mTimer = do_CreateInstance("@mozilla.org/timer;1"); mTimer->InitWithFuncCallback(TimerCallback, this, timeout, nsITimer::TYPE_ONE_SHOT); on the call to InitFuncWithCallback, with mTimer null. How can this be null? I can only assume out of memory? But that doesn't make sense, this isn't a particularly large allocation and we should be crashing all over the place if mochitest-1 is low on memory.
Flags: needinfo?(roc)
Comment 33•11 years ago
|
||
Is this the same bug or related to what Aaron identified in https://bugzilla.mozilla.org/show_bug.cgi?id=744836#c32 ? Sounds awfully similar.
Comment 34•11 years ago
|
||
do_CreateInstance fails after xpcom-shutdown
Comment 35•11 years ago
|
||
Or perhaps after http://mxr.mozilla.org/mozilla-central/source/xpcom/build/nsXPComInit.cpp#597 Anyhow, after certain point during shutdown creating timers fail. We have null checks elsewhere for that.
Reporter | ||
Comment 36•11 years ago
|
||
(In reply to Chris Pearce (:cpearce) from comment #33) > Is this the same bug or related to what Aaron identified in > https://bugzilla.mozilla.org/show_bug.cgi?id=744836#c32 ? Sounds awfully > similar. Interesting you should mention that given that the failures haven't occurred on m-c/inbound since that landed.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Andrea/Ehsan patched this with a null check in bug 877638.
Depends on: 877638
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 40•11 years ago
|
||
Fixed by bug 877638.
Assignee: nobody → amarchesini
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g18:
--- → fixed
status-b2g-v1.1hd:
--- → fixed
status-firefox24:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•