Closed Bug 820353 Opened 9 years ago Closed 8 years ago

Intermittent test_messagemanager_assertpermission.html "process killed by signal 15" after "Security problem: Content process does not have `frobnaz' permission. It will be killed."

Categories

(Core :: IPC, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: intermittent-failure)

+++ This bug was initially created as a clone of Bug #796930 +++

Rev3 Fedora 12 mozilla-inbound debug test mochitest-1 on 2012-12-06 14:28:04 PST for push 63e3a9b10f15

slave: talos-r3-fed-033

https://tbpl.mozilla.org/php/getParsedLog.php?id=17684685&tree=Mozilla-Inbound

{
41743 INFO TEST-START | /tests/content/base/test/test_messagemanager_assertpermission.html
++DOMWINDOW == 19 (0x8de3660) [serial = 962] [outer = 0xa488128]
[Parent 2141] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../intl/uconv/src/nsCharsetConverterManager.cpp, line 301
[Child 2235] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file ../../../../embedding/browser/webBrowser/nsWebBrowser.cpp, line 372
[Child 2235] WARNING: NS_ENSURE_TRUE(domWindow) failed: file ../../../../embedding/browser/webBrowser/nsDocShellTreeOwner.cpp, line 86
NOTE: child process received `Goodbye', closing down
[Child 2235] WARNING: nsExceptionService ignoring thread destruction after shutdown: file ../../../xpcom/base/nsExceptionService.cpp, line 166
[Parent 2141] WARNING: RemoveObserver() called for unregistered observer: file ../../hal/Hal.cpp, line 203
[Parent 2141] WARNING: RemoveObserver() called for unregistered observer: file ../../hal/Hal.cpp, line 203
[Parent 2141] WARNING: RemoveObserver() called for unregistered observer: file ../../hal/Hal.cpp, line 203
[Parent 2141] WARNING: RemoveObserver() called for unregistered observer: file ../../hal/Hal.cpp, line 203
[Parent 2141] WARNING: RemoveObserver() called for unregistered observer: file ../../hal/Hal.cpp, line 203
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
--DOMWINDOW == 2 (0x8b2a988) [serial = 2] [outer = 0x8aa8240] [url = about:blank]
[Child 2235] WARNING: NS_ENSURE_TRUE(inBrowser) failed: file ../../../../embedding/browser/webBrowser/nsDocShellTreeOwner.cpp, line 82
[Child 2235] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file ../../../../embedding/browser/webBrowser/nsWebBrowser.cpp, line 372
[Child 2235] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file ../../../../embedding/browser/webBrowser/nsWebBrowser.cpp, line 372
[Child 2235] WARNING: NS_ENSURE_TRUE(domWindow) failed: file ../../../../embedding/browser/webBrowser/nsDocShellTreeOwner.cpp, line 86
[Child 2235] WARNING: NS_ENSURE_TRUE(inBrowser) failed: file ../../../../embedding/browser/webBrowser/nsDocShellTreeOwner.cpp, line 82
--DOMWINDOW == 1 (0x8b7b810) [serial = 3] [outer = 0x8aa8240] [url = data:text/html,<!DOCTYPE%20HTML><html><body></body></html>]
--DOMWINDOW == 0 (0x8aa8290) [serial = 1] [outer = (nil)] [url = data:text/html,<!DOCTYPE%20HTML><html><body></body></html>]
--DOCSHELL 0x8a7df70 == 0 [id = 1]
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIPropertyBag2.getPropertyAsAString]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: chrome://specialpowers/content/SpecialPowersObserverAPI.js :: addDumpIDToMessage :: line 67"  data: no]
************************************************************
41744 INFO TEST-PASS | /tests/content/base/test/test_messagemanager_assertpermission.html | in-process cpmm always has all capabilities
[Parent 2141] WARNING: Unable to use pre-allocated app process: file ../../../dom/ipc/ContentParent.cpp, line 359
### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpaA_3oZ/runtests_leaks_tab_pid2246.log
[Child 2235] WARNING: NS_ENSURE_TRUE(compMgr) failed: file nsComponentManagerUtils.cpp, line 58
nsStringStats
 => mAllocCount:           7970
 => mReallocCount:          345
 => mFreeCount:            7970
 => mShareCount:           9853
 => mAdoptCount:            386
 => mAdoptFreeCount:        386
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Parent 2141] WARNING: waitpid failed pid:2213 errno:10: file ../../../ipc/chromium/src/base/process_util_posix.cc, line 260
[Parent 2141] WARNING: waitpid failed pid:2224 errno:10: file ../../../ipc/chromium/src/base/process_util_posix.cc, line 260
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Child 2246] WARNING: NS_ENSURE_TRUE(mMainThread) failed: file ../../../xpcom/threads/nsThreadManager.cpp, line 250
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0xC1F30001: file nsThreadUtils.cpp, line 144
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 641
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file ../../../../netwerk/base/src/nsIOService.cpp, line 598
[Child 2246] WARNING: NS_ENSURE_SUCCESS(rv, nsresult::NS_ERROR_INVALID_ARG) failed with result 0x80040111: file ../../../../js/xpconnect/loader/mozJSComponentLoader.cpp, line 1236
JS Component Loader: ERROR jar:file:///home/cltbld/talos-slave/test/build/firefox/omni.ja!/components/Aitc.js:12
                     NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.import]
[Child 2246] WARNING: Cannot create startup observer : service,@mozilla.org/services/aitc;1: file ../../../../../embedding/components/appstartup/src/nsAppStartupNotifier.cpp, line 81
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
creating 1!
[Child 2246] WARNING: nsWindow::GetNativeData not implemented for this type: file ../../../widget/xpwidgets/PuppetWidget.cpp, line 600
++DOCSHELL 0x8df7698 == 1 [id = 1]
++DOMWINDOW == 1 (0x8e23460) [serial = 1] [outer = (nil)]
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[TabChild] SHOW (w,h)= (0, 0)
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
++DOMWINDOW == 2 (0x8ebc028) [serial = 2] [outer = 0x8e23410]
loading http://example.org/, 1
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 695
[Child 2246] WARNING: Attempt to get unavailable information in content process.: file ../../../toolkit/xre/nsAppRunner.cpp, line 629
++DOMWINDOW == 3 (0x8f2a770) [serial = 3] [outer = 0x8e23410]
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: NS_ENSURE_TRUE(startupCache) failed: file ../../../../content/xbl/src/nsXBLDocumentInfo.cpp, line 605
[Child 2246] WARNING: Startup cache is only available in the chrome process: file ../../startupcache/StartupCache.cpp, line 93
[Child 2246] WARNING: NS_ENSURE_TRUE(startupCache) failed: file ../../../../content/xbl/src/nsXBLDocumentInfo.cpp, line 675
XPCOM_MEM_BLOAT_LOG: /tmp/tmpaA_3oZ/runtests_leaks.log
Writing to log: /tmp/tmpaA_3oZ/runtests_leaks_tab_pid2246.log
41745 INFO TEST-PASS | /tests/content/base/test/test_messagemanager_assertpermission.html | Frame mm has assigned permission.
Security problem: Content process does not have `frobnaz' permission.  It will be killed.
process killed by signal 15
}
This is expected, it happens when the test passes.

philikon, we need to warn the harness that the process is going to die.  There's an interface called something like noteIntentionalCrash().
Depends on: 827323
(In reply to Chris Jones [:cjones] [:warhammer] from comment #1)
> This is expected, it happens when the test passes.

Surely if it is expected, then this test would fail every time rather than intermittently?
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.