Closed Bug 1142760 Opened 11 years ago Closed 11 years ago

Intermittent leakcheck | tab process: missing output line for total leaks! due to a content process crash during dom/indexedDB/test/test_message_manager_ipc.html

Categories

(Core :: IPC, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

Details

(Keywords: crash, intermittent-failure)

09:56:24 INFO - 1950 INFO TEST-START | dom/indexedDB/test/test_message_manager_ipc.html 09:56:24 INFO - ++DOMWINDOW == 63 (0x11e11a580) [pid = 1241] [serial = 3665] [outer = 0x12cf48f00] 09:56:24 INFO - [Parent 1241] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/workers/ServiceWorkerManager.cpp, line 2325 09:56:24 INFO - [Parent 1241] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/netwerk/protocol/http/HttpBaseChannel.cpp, line 1952 09:56:24 INFO - [Parent 1241] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/workers/ServiceWorkerManager.cpp, line 2325 09:56:24 INFO - [Parent 1241] WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/netwerk/protocol/http/HttpBaseChannel.cpp, line 1952 09:56:24 INFO - [Parent 1241] WARNING: Performance Entry buffer size maximum reached!: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/base/nsPerformance.cpp, line 562 09:56:24 INFO - [1263] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 120 09:56:24 INFO - [1263] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 120 09:56:24 INFO - [1263] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 120 09:56:24 INFO - [1263] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 120 09:56:24 INFO - [1263] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/base/nsTraceRefcnt.cpp, line 120 09:56:24 INFO - ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/U3/U3Sx+fJSFqOk6scp6Fw1fE+++-k/-Tmp-/tmpxdLZmJ.mozrunner/runtests_leaks_tab_pid1263.log 09:56:24 INFO - [Child 1263] WARNING: '!compMgr', file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/glue/nsComponentManagerUtils.cpp, line 63 09:56:24 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(svc) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/nsIContentChild.cpp, line 31 09:56:24 INFO - [Child 1263] WARNING: Error constructing actor PJavaScriptChild: file ./PContentChild.cpp, line 985 09:56:24 INFO - [Child 1263] WARNING: preserving unexpected JS escape sequence: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/modules/libpref/prefread.cpp, line 393 09:56:24 INFO - [Child 1263] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/toolkit/xre/nsXREDirProvider.cpp, line 1373 09:56:24 INFO - SystemMessageCache: init2015-03-12 09:56:24.729 plugin-container[1263:903] *** __NSAutoreleaseNoPool(): Object 0x106216220 of class NSCFDictionary autoreleased with no pool in place - just leaking 09:56:24 INFO - 2015-03-12 09:56:24.732 plugin-container[1263:903] *** __NSAutoreleaseNoPool(): Object 0x106215220 of class NSCFData autoreleased with no pool in place - just leaking 09:56:24 INFO - [Child 1263] WARNING: nsWindow::GetNativeData not implemented for this type: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/widget/PuppetWidget.cpp, line 961 09:56:24 INFO - ++DOCSHELL 0x11e440000 == 1 [pid = 1263] [id = 1] 09:56:24 INFO - ++DOMWINDOW == 1 (0x109123900) [pid = 1263] [serial = 1] [outer = 0x0] 09:56:24 INFO - ############################### browserElementPanningAPZDisabled.js loaded 09:56:24 INFO - ++DOMWINDOW == 2 (0x11e47ba80) [pid = 1263] [serial = 2] [outer = 0x109123900] 09:56:24 INFO - [Parent 1241] WARNING: Could not get disk information from DiskSpaceWatcher: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/storage/DOMStorageIPC.cpp, line 319 09:56:24 INFO - ############################### browserElementPanning.js loaded 09:56:24 INFO - ######################## BrowserElementChildPreload.js loaded 09:56:25 INFO - ++DOMWINDOW == 3 (0x11e47dd80) [pid = 1263] [serial = 3] [outer = 0x109123900] 09:56:25 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(startupCache) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/xbl/nsXBLDocumentInfo.cpp, line 237 09:56:25 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(startupCache) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/xbl/nsXBLDocumentInfo.cpp, line 305 09:56:25 INFO - 1951 INFO TEST-OK | dom/indexedDB/test/test_message_manager_ipc.html | took 861ms 09:56:25 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/embedding/browser/nsWebBrowser.cpp, line 332 09:56:25 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(domWindow) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/embedding/browser/nsDocShellTreeOwner.cpp, line 86 09:56:25 INFO - [Child 1263] WARNING: pipe error: Broken pipe: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 728 09:56:25 INFO - [Child 1263] WARNING: shutting down early because of crash!: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/ContentChild.cpp, line 1824 09:56:25 INFO - [Child 1263] WARNING: content process _exit()ing: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/ContentChild.cpp, line 1889 09:56:25 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost 09:58:18 WARNING - TEST-UNEXPECTED-FAIL | leakcheck | tab process: missing output line for total leaks! 09:58:18 INFO - TEST-INFO | leakcheck | missing output line from log file /var/folders/U3/U3Sx+fJSFqOk6scp6Fw1fE+++-k/-Tmp-/tmpxdLZmJ.mozrunner/runtests_leaks_tab_pid1263.log
Child process 1263 is crashing due to a broken pipe, so it never produces a log: 09:56:25 INFO - [Child 1263] WARNING: pipe error: Broken pipe: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 728 09:56:25 INFO - [Child 1263] WARNING: shutting down early because of crash!: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/ContentChild.cpp, line 1824 09:56:25 INFO - [Child 1263] WARNING: content process _exit()ing: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/ContentChild.cpp, line 1889
This looks like some kind of startup ordering dependency problem with CPOW messages being sent before the component manager is set up: 09:56:24 INFO - [Child 1263] WARNING: '!compMgr', file /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/glue/nsComponentManagerUtils.cpp, line 63 09:56:24 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(svc) failed: file /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/nsIContentChild.cpp, line 31 09:56:24 INFO - [Child 1263] WARNING: Error constructing actor PJavaScriptChild: file ./PContentChild.cpp, line 985
Component: DOM: IndexedDB → IPC
(In reply to Ben Turner [:bent] (use the needinfo flag!) from comment #4) > This looks like some kind of startup ordering dependency problem with CPOW > messages being sent before the component manager is set up: > > 09:56:24 INFO - [Child 1263] WARNING: '!compMgr', file > /builds/slave/fx-team-osx64-d-00000000000000/build/src/xpcom/glue/ > nsComponentManagerUtils.cpp, line 63 > 09:56:24 INFO - [Child 1263] WARNING: NS_ENSURE_TRUE(svc) failed: file > /builds/slave/fx-team-osx64-d-00000000000000/build/src/dom/ipc/ > nsIContentChild.cpp, line 31 > 09:56:24 INFO - [Child 1263] WARNING: Error constructing actor > PJavaScriptChild: file ./PContentChild.cpp, line 985 That's something we should fix, but the same message appears in good logs as well, so I doubt it's related.
Hrm, failing to return an actor should cause the child process to die, right? How can this show up in "good" logs?
(In reply to Ben Turner [:bent] (use the needinfo flag!) from comment #6) > Hrm, failing to return an actor should cause the child process to die, > right? How can this show up in "good" logs? PContentChild::SendPJavaScriptConstructor has this: if ((!(actor))) { NS_WARNING("Error constructing actor PJavaScriptChild"); return nullptr; } This seems to only be called in GetCPOWManager(). If I recall correctly, this is called very early in startup, I think just as a way to initialize it so it is around later, so nothing really cares if it fails. I think this is probably the call to GetCPOWManager() in ContentChild::Init() that just ignores the result entirely, so maybe we can remove it.
[Mass Closure] Closing bug as the WORKSFORME as the intermittent failure has not been seen for 45+ days If this has been closed and you feel that it should Not have been closed, please reopen and add [leave open] to the whiteboard.
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.