Closed Bug 777875 Opened 12 years ago Closed 12 years ago

Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html test_bug659350.html test_bug662678.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing())

Categories

(Core :: XUL, defect)

17 Branch
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
firefox17 - affected

People

(Reporter: mbrubeck, Unassigned)

References

Details

(Keywords: crash, intermittent-failure, Whiteboard: [test which aborts the suite])

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=13878568&tree=Mozilla-Inbound
Rev4 MacOSX Snow Leopard 10.6 mozilla-inbound debug test mochitest-other on 2012-07-26 09:53:37 PDT for push 0ea41e0924f5

slave: talos-r4-snow-017

TEST-INFO | checking window state
TEST-INFO | chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cookieacceptdialog.js | Console message: [JavaScript Warning: "ReferenceError: assignment to undeclared variable text" {file: "chrome://cookie/content/cookieAcceptDialog.js" line: 104}]
Assertion failure: win->IsClosedOrClosing(), at ../../../dom/base/nsDOMClassInfo.cpp:2040
WARNING: shutting down early because of crash!: file ../../../../dom/plugins/ipc/PluginModuleChild.cpp, line 703
WARNING: plugin process _exit()ing: file ../../../../dom/plugins/ipc/PluginModuleChild.cpp, line 668
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cookieacceptdialog.js | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:09:22.165412
INFO | automation.py | Reading PID log: /var/folders/Hs/HsDn6a9SG8idoIya6p9mtE+++TI/-Tmp-/tmpUu1zV3pidlog
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-macosx64-debug/1343315875/firefox-17.0a1.en-US.mac64.crashreporter-symbols.zip
PROCESS-CRASH | chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cookieacceptdialog.js | application crashed (minidump found)
Crash dump filename: /var/folders/Hs/HsDn6a9SG8idoIya6p9mtE+++TI/-Tmp-/tmpZywCKu/minidumps/0E8A88E5-D713-424D-8EC9-1C61D0322FBB.dmp
Operating system: Mac OS X
                  10.6.8 10K549
CPU: amd64
     family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x0

Thread 0 (crashed)
 0  XUL!SetParentToWindow [nsDOMClassInfo.cpp : 2033 + 0x0]
    rbx = 0x710782f8   r12 = 0x021f8d30   r13 = 0x1b7b4060   r14 = 0x5fbfb318
    r15 = 0x00000000   rip = 0x021f6b45   rsp = 0x5fbfb110   rbp = 0x5fbfb120
    Found by: given as instruction pointer in context
 1  XUL!nsWindowSH::PreCreate [nsDOMClassInfo.cpp : 5247 + 0xa]
    rip = 0x021f8cdd   rsp = 0x5fbfb130
    Found by: stack scanning
 2  XUL!XPCWrappedNative::GetNewOrUsed [XPCWrappedNative.cpp : 527 + 0xc]
    rip = 0x026ef37d   rsp = 0x5fbfb170
    Found by: stack scanning
 3  libplds4.dylib!PL_CompareStrings [plhash.c : 476 + 0x4]
    rip = 0x000cd2f9   rsp = 0x5fbfb1e0
    Found by: stack scanning
 4  libplds4.dylib!PL_HashTableLookup [plhash.c : 146 + 0xa]
    rip = 0x000cd0df   rsp = 0x5fbfb1f0
    Found by: stack scanning
 5  libnspr4.dylib!PR_GetCurrentThread [ptthread.c : 583 + 0xb]
    rip = 0x00320153   rsp = 0x5fbfb220
    Found by: stack scanning
 6  XUL!nsThreadManager::GetIsMainThread [nsThreadManager.cpp : 272 + 0x4]
    rip = 0x02e8d742   rsp = 0x5fbfb240
    Found by: stack scanning
 7  XUL!NS_IsMainThread_P [nsThreadUtils.cpp : 119 + 0xf]
    rip = 0x02e2fc6c   rsp = 0x5fbfb260
    Found by: stack scanning
 8  XUL!nsXPConnect::GetXPConnect [nsXPConnect.cpp : 138 + 0x9]
    rip = 0x0269e23e   rsp = 0x5fbfb280
    Found by: stack scanning
 9  XUL!nsThreadManager::GetIsMainThread [nsThreadManager.cpp : 272 + 0x4]
    rip = 0x02e8d742   rsp = 0x5fbfb290
    Found by: stack scanning
10  XUL!XPCCallContext::Init [xpcprivate.h : 645 + 0x4]
    rip = 0x026a9489   rsp = 0x5fbfb2b0
    Found by: stack scanning
Component: Private Browsing → XUL
Product: Firefox → Core
Rev4 MacOSX Lion 10.7 mozilla-inbound debug test mochitest-other on 2012-07-27 00:54:56 PDT for push 1bf8b4433d17

slave: talos-r4-lion-078

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

{
TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/browser_homeDrop.js | home button present
++DOCSHELL 0x1402558a0 == 14 [id = 359]
++DOMWINDOW == 46 (0x13be27620) [serial = 953] [outer = 0x0]
++DOMWINDOW == 47 (0x13db93950) [serial = 954] [outer = 0x13be275a0]
++DOMWINDOW == 48 (0x13e900080) [serial = 955] [outer = 0x13be2a2f0]
WARNING: NS_ENSURE_TRUE(mMutable) failed: file ../../../../netwerk/base/src/nsSimpleURI.cpp, line 258
WARNING: No outer window available!: file ../../../dom/base/nsGlobalWindow.cpp, line 9084
WARNING: No outer window available!: file ../../../dom/base/nsGlobalWindow.cpp, line 9084
WARNING: No outer window available!: file ../../../dom/base/nsGlobalWindow.cpp, line 9084
WARNING: No outer window available!: file ../../../dom/base/nsGlobalWindow.cpp, line 9084
WARNING: No outer window available!: file ../../../dom/base/nsGlobalWindow.cpp, line 9084
WARNING: NS_ENSURE_TRUE(mTextInputHandler) failed: file ../../../widget/cocoa/nsChildView.mm, line 4087
TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/browser_homeDrop.js | domwindow.document.location.href: chrome://global/content/commonDialog.xul
WARNING: NS_ENSURE_TRUE(mTextInputHandler) failed: file ../../../widget/cocoa/nsChildView.mm, line 4087
WARNING: NS_ENSURE_TRUE(editor) failed: file ../../../../editor/libeditor/base/nsEditorCommands.cpp, line 550
TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/browser_homeDrop.js | dialog appeared in response to home button drop
WARNING: getting z level of unregistered window: file ../../../../xpfe/appshell/src/nsWindowMediator.cpp, line 562
WARNING: getting z level of unregistered window: file ../../../../xpfe/appshell/src/nsWindowMediator.cpp, line 562
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2908
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
WARNING: NS_ENSURE_SUCCESS(rv, false) failed with result 0x8000FFFF: file ../../../../content/base/src/nsContentUtils.cpp, line 2908
WARNING: NS_ENSURE_TRUE(pusher.Push(aBoundElement)) failed: file ../../../../content/xbl/src/nsXBLProtoImplMethod.cpp, line 324
Assertion failure: win->IsClosedOrClosing(), at ../../../dom/base/nsDOMClassInfo.cpp:2040
WARNING: shutting down early because of crash!: file ../../../../dom/plugins/ipc/PluginModuleChild.cpp, line 703
WARNING: plugin process _exit()ing: file ../../../../dom/plugins/ipc/PluginModuleChild.cpp, line 668
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_homeDrop.js | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:03:27.223455
INFO | automation.py | Reading PID log: /var/folders/qd/srwd5f710sj0fcl9z464lkj00000gn/T/tmpVR4Q91pidlog
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-macosx64-debug/1343374517/firefox-17.0a1.en-US.mac64.crashreporter-symbols.zip
PROCESS-CRASH | chrome://mochitests/content/browser/browser/base/content/test/browser_homeDrop.js | application crashed (minidump found)
Crash dump filename: /var/folders/qd/srwd5f710sj0fcl9z464lkj00000gn/T/tmp1nBHdY/minidumps/F6353278-D255-4D38-AEDE-F8E41D5B128B.dmp
Operating system: Mac OS X
                  10.7.2 11C74
CPU: amd64
     family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x0

Thread 0 (crashed)
 0  XUL!SetParentToWindow [nsDOMClassInfo.cpp : 2033 + 0x0]
    rbx = 0x74a4e630   r12 = 0x019f9cb0   r13 = 0x10ab4060   r14 = 0x5fbfb698
    r15 = 0x00000000   rip = 0x019f7ac5   rsp = 0x5fbfb490   rbp = 0x5fbfb4a0
    Found by: given as instruction pointer in context
 1  XUL!nsWindowSH::PreCreate [nsDOMClassInfo.cpp : 5247 + 0xa]
    rip = 0x019f9c5d   rsp = 0x5fbfb4b0
    Found by: stack scanning
 2  XUL!XPCWrappedNative::GetNewOrUsed [XPCWrappedNative.cpp : 527 + 0xc]
    rip = 0x01ef025d   rsp = 0x5fbfb4f0
    Found by: stack scanning
 3  libsystem_c.dylib + 0x4d46f
    rip = 0x86029470   rsp = 0x5fbfb560
    Found by: stack scanning
 4  libnspr4.dylib!PR_GetCurrentThread [ptthread.c : 583 + 0xb]
    rip = 0x00067153   rsp = 0x5fbfb5a0
    Found by: stack scanning
 5  XUL!nsThreadManager::GetIsMainThread [nsThreadManager.cpp : 272 + 0x4]
    rip = 0x0268e682   rsp = 0x5fbfb5c0
    Found by: stack scanning
 6  XUL!NS_IsMainThread_P [nsThreadUtils.cpp : 119 + 0xf]
    rip = 0x02630bac   rsp = 0x5fbfb5e0
    Found by: stack scanning
 7  XUL!nsXPConnect::GetXPConnect [nsXPConnect.cpp : 138 + 0x9]
    rip = 0x01e9f11e   rsp = 0x5fbfb600
    Found by: stack scanning
 8  XUL!nsThreadManager::GetIsMainThread [nsThreadManager.cpp : 272 + 0x4]
    rip = 0x0268e682   rsp = 0x5fbfb610
    Found by: stack scanning
 9  XUL!XPCCallContext::Init [xpcprivate.h : 645 + 0x4]
    rip = 0x01eaa369   rsp = 0x5fbfb630
    Found by: stack scanning
}
Severity: normal → critical
Summary: Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js | Exited with code 1 during test run [@ SetParentToWindow] → Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js, browser_homeDrop.js | Exited with code 1 during test run [@ SetParentToWindow]
Summary: Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js, browser_homeDrop.js | Exited with code 1 during test run [@ SetParentToWindow] → Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js, browser_homeDrop.js | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()")
https://tbpl.mozilla.org/php/getParsedLog.php?id=13916559&tree=Mozilla-Inbound
Summary: Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js, browser_homeDrop.js | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()") → Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()")
https://tbpl.mozilla.org/php/getParsedLog.php?id=13918239&tree=Mozilla-Inbound
Summary: Intermittent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()") → Frequent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()")
https://tbpl.mozilla.org/php/getParsedLog.php?id=13937584&tree=Mozilla-Inbound
Summary: Frequent TEST-UNEXPECTED-FAIL | browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html | Exited with code 1 during test run [@ SetParentToWindow] ("Assertion failure: win->IsClosedOrClosing()") → Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing())
https://tbpl.mozilla.org/php/getParsedLog.php?id=13932575&tree=Mozilla-Inbound
Summary: Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing()) → Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html test_bug659350.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing())
https://tbpl.mozilla.org/php/getParsedLog.php?id=13932016&tree=Mozilla-Inbound
Summary: Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html test_bug659350.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing()) → Frequent browser_privatebrowsing_cookieacceptdialog.js browser_homeDrop.js test_sibling-off-domain.html test_bug667612.html test_bug659350.html test_bug662678.html crash [@ SetParentToWindow] (Assertion failure: win->IsClosedOrClosing())
OS: Mac OS X → All
Hardware: x86_64 → All
Disregard comment 21. I hit the wrong star by mistake.
bholley, please may you take a look at this as it's currently one of our top oranges of the last week (if you add in the failures in bug 778424, which is just the overflow that wouldn't fit in this bug's summary). Thank you :-)
Blocks: 640904
Blocks: 781078
No longer blocks: 461625
Won't track a test failure as a release blocker, but when there's a fix please nominate for uplift to branches if needed.
(In reply to Ed Morley [:edmorley] from comment #47)
> bholley, please may you take a look at this as it's currently one of our top
> oranges of the last week (if you add in the failures in bug 778424, which is
> just the overflow that wouldn't fit in this bug's summary). Thank you :-)

The stack doesn't make sense to me, and I can't reproduce locally. :-( Here are three potential ways forward:

1 - Identify the regression range where these oranges started, and see if there's anything suspicious.

2 - Find local STR (preferably on osx 10.7), and then I can look at it.

3 - Disable the assertion. This wallpapers over a potentially-serious bug, but might be better than the cost of an intractable orange if we can't make progress on (1) or (2).
Depends on: 782167
The underlying failure lives on in NS_ERROR_FAILURE bugs like bug 789709 and bug 780594, but since https://hg.mozilla.org/integration/mozilla-inbound/rev/66eedfc80913 removed the assertion completely, this particular thing no longer exists.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [orange][test which aborts the suite] → [test which aborts the suite]
You need to log in before you can comment on or make changes to this bug.