Closed Bug 590034 Opened 9 years ago Closed 9 years ago

xpcshell tests test_removeVisitsByTimeframe.js and test_faviconService_expireAllFavicons.js fail with "test failed (with xpcshell return code: -2147483645)" after "ASSERTION: hasResult is false but the call succeeded?: 'hasResult'"

Categories

(Firefox :: Bookmarks & History, defect)

All
Windows Server 2003
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mounir, Unassigned)

References

Details

(Keywords: intermittent-failure)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1282615702.1282619112.31992.gz

TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-xpcshell\build\xpcshell\tests\test_places\unit\test_removeVisitsByTimeframe.js | test failed (with xpcshell return code: -2147483645), see following log:
Oh, I put Windows Server 2003 as a platform because the orange happened with on a Win2k3 slave. That may be not relevant at all.
Hardware: Other → All
CCing :mak, philor told me you may want to look at that.
This is apparently what's causing the error

TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-xpcshell/build/xpcshell/tests/test_places/unit/test_removeVisitsByTimeframe.js | [anonymous : 322] 0 == 0
TEST-PASS | e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-xpcshell/build/xpcshell/tests/test_places/unit/head_bookmarks.js -> file:///e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-xpcshell/build/xpcshell/tests/test_places/head_common.js | [check_no_bookmarks : 283] 0 == 0
------ RUNNING TEST: Remove all visits from a bookmarked URI
Add some visits for the URI.
###!!! ASSERTION: hasResult is false but the call succeeded?: 'hasResult', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/places/src/nsNavHistory.cpp, line 1941
nsStringStats
 => mAllocCount:           2680
 => mReallocCount:           81
 => mFreeCount:            1067  --  LEAKED 1613 !!!
 => mShareCount:           7247
 => mAdoptCount:            196
 => mAdoptFreeCount:        194  --  LEAKED 2 !!!
xul!gfxContext::GetFlattenedPath+0x0000000000254580
xul!NS_InvokeByIndex_P+0x0000000000000027
xul!DumpJSValue+0x000000000004A368
xul!DumpJSValue+0x00000000000485C0
xul!DumpJSValue+0x000000000004834D
xul!DumpJSValue+0x0000000000031D74
xul!js::InvokeFriendAPI+0x000000000001B234
xul!js::InvokeFriendAPI+0x000000000001AD12
xul!js_fgets+0x0000000000005EF7
xul!js::InvokeFriendAPI+0x000000000000FBD6
xul!js::InvokeFriendAPI+0x000000000001AD87
xul!js_fgets+0x0000000000005EF7
xul!js_IntervalNow+0x0000000000006F48
xul!js_IntervalNow+0x0000000000006A76
xul!js::InvokeFriendAPI+0x000000000000FA92
xul!js::InvokeFriendAPI+0x00000000000006DD
xul!JS_EvaluateUCScriptForPrincipals+0x00000000000000DF
xul!JS_EvaluateScriptForPrincipals+0x0000000000000052
0x0000000000405E98
0x0000000000404CAA
0x0000000000412486
0x00000000004122DD
kernel32!ProcessIdToSessionId+0x0000000000000209
###!!! ASSERTION: hasResult is false but the call succeeded?: 'hasResult', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/places/src/nsNavHistory.cpp, line 1941
Summary: xpcshell\tests\test_places\unit\test_removeVisitsByTimeframe.js | test failed (with xpcshell return code: -2147483645) → "xpcshell\tests\test_places\unit\test_removeVisitsByTimeframe.js | test failed (with xpcshell return code: -2147483645)" with "ASSERTION: hasResult is false but the call succeeded?: 'hasResult'" in the log
hm, damn, I thought that was fixed
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1282640371.1282642602.12789.gz&fulltext=1#err0
WINNT 5.2 mozilla-central debug test xpcshell on 2010/08/24 01:59:31  
s: win32-slave35
TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-xpcshell\build\xpcshell\tests\test_places\unit\test_faviconService_expireAllFavicons.js | test failed (with xpcshell return code: -2147483645), see following log:

###!!! ASSERTION: hasResult is false but the call succeeded?: 'hasResult', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/places/src/nsNavHistory.cpp, line 1941
nsStringStats
 => mAllocCount:           2061
 => mReallocCount:           66
 => mFreeCount:             550  --  LEAKED 1511 !!!
 => mShareCount:           6883
 => mAdoptCount:            160
 => mAdoptFreeCount:        158  --  LEAKED 2 !!!
xul!gfxContext::GetFlattenedPath+0x0000000000255AC0
xul!gfxContext::GetFlattenedPath+0x00000000002A42FC
xul!NS_InvokeByIndex_P+0x0000000000000027
xul!DumpJSValue+0x00000000000487C8
xul!DumpJSValue+0x0000000000046A20
xul!DumpJSValue+0x00000000000467AD
xul!DumpJSValue+0x00000000000301D4
xul!js::InvokeFriendAPI+0x000000000001B234
xul!js::InvokeFriendAPI+0x000000000001AD12
xul!js_fgets+0x0000000000005EF7
xul!js::InvokeFriendAPI+0x000000000000FBD6
xul!js::InvokeFriendAPI+0x00000000000006DD
xul!JS_EvaluateUCScriptForPrincipals+0x00000000000000DF
xul!JS_EvaluateScriptForPrincipals+0x0000000000000052
0x0000000000405E98
0x0000000000404CAA
0x0000000000412486
0x00000000004122DD
kernel32!ProcessIdToSessionId+0x0000000000000209
###!!! ASSERTION: hasResult is false but the call succeeded?: 'hasResult', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/toolkit/components/places/src/nsNavHistory.cpp, line 1941
Summary: "xpcshell\tests\test_places\unit\test_removeVisitsByTimeframe.js | test failed (with xpcshell return code: -2147483645)" with "ASSERTION: hasResult is false but the call succeeded?: 'hasResult'" in the log → xpcshell tests test_removeVisitsByTimeframe.js and test_faviconService_expireAllFavicons.js fail with "test failed (with xpcshell return code: -2147483645)" after "ASSERTION: hasResult is false but the call succeeded?: 'hasResult'"
I think this could have been fixed by the initial Places branch merge in half December.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.