test_bug_382825.js | test failed (with xpcshell return code: -2147483645) followed several lines down by ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator'

RESOLVED WORKSFORME

Status

()

defect
RESOLVED WORKSFORME
9 years ago
4 years ago

People

(Reporter: rstrong, Unassigned)

Tracking

({intermittent-failure})

Trunk
x86
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

WINNT 5.2 mozilla-central debug test xpcshell on 2010/12/02 19:56:27
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1291348587.1291350916.7841.gz

TEST-INFO | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-xpcshell\build\xpcshell\tests\toolkit\components\downloads\test\unit\test_bug_382825.js | running test ...
<a name='err0'></a><font color='000080'>TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-xpcshell\build\xpcshell\tests\toolkit\components\downloads\test\unit\test_bug_382825.js | test failed (with xpcshell return code: -2147483645), see following log:
</font>>>>>>>>
### XPCOM_MEM_LEAK_LOG defined -- logging leaks to c:\docume~1\cltbld\locals~1\temp\tmpctneum\runxpcshelltests_leaks.log
pldhash: for the table at address 0544E710, the given entrySize of 48 probably favors chaining over double hashing.
*** Throwing trying to get ProfLDS
*** Throwing trying to get ProfD
pldhash: for the table at address 0739059C, the given entrySize of 48 probably favors chaining over double hashing.
*** Throwing trying to get UHist
TEST-INFO | (xpcshell/head.js) | test 1 pending
TEST-INFO | (xpcshell/head.js) | test 2 pending
pldhash: for the table at address 076D36E0, the given entrySize of 56 probably favors chaining over double hashing.
*** Throwing trying to get cachePDir
*** Throwing trying to get ProfLD
*** Throwing trying to get cachePDir
TEST-INFO | (xpcshell/head.js) | test 2 finished
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/downloads/test/unit/test_bug_382825.js | [test_retry_canceled : 54] 3 == 3
TEST-INFO | (xpcshell/head.js) | test 2 pending
nsNativeModuleLoader::LoadModule("e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-xpcshell\build\firefox\components\xpcomsample.dll") - load FAILED, rv: 80520012, error:
	&lt;unknown; can't get error from NSPR>
JS Component Loader: ERROR (null):0
                     uncaught exception: 2147500037
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/downloads/src/nsDownloadManager.cpp, line 1539
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-xpcshell/build/xpcshell/tests/toolkit/components/downloads/test/unit/test_bug_382825.js | [test_retry_bad : 66] 2147746065 == 2147746065
TEST-INFO | (xpcshell/head.js) | test 2 finished
TEST-INFO | (xpcshell/head.js) | running event loop
TEST-INFO | (xpcshell/head.js) | test 1 finished
TEST-INFO | (xpcshell/head.js) | exiting test
TEST-INFO | (xpcshell/head.js) | test 1 pending
### ERROR: SymGetModuleInfo64: The specified module could not be found.

###!!! ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 687
Blocks: 438871
Summary: test_bug_382825.js | test failed (with xpcshell return code: -2147483645) followed by ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator' → test_bug_382825.js | test failed (with xpcshell return code: -2147483645) followed several lines down by ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator'
Whiteboard: [orange]
> WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file
> e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/downloads/src/nsDownloadManager.cpp,
> line 1539
https://mxr.mozilla.org/mozilla-central/source/toolkit/components/downloads/src/nsDownloadManager.cpp#1539

Given what the test (https://mxr.mozilla.org/mozilla-central/source/toolkit/components/downloads/test/unit/test_bug_382825.js) is doing, I suspect we need to mock whatever would throw up the prompt so it doesn't try to open a window.

FWIW, this didn't assert when I wrote the test :)
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that:
* Haven't changed in > 6months
* Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb}
* Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive.

I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases).

Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
See Also: → 1239896
You need to log in before you can comment on or make changes to this bug.