Closed
Bug 537839
Opened 15 years ago
Closed 13 years ago
Failure & abort in test_browserGlue_prefs.js, with xpcshell return code: -1073741819 and "ASSERTION: SetItemDateAdded failed"
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dholbert, Unassigned)
References
()
Details
(Keywords: assertion, intermittent-failure, Whiteboard: [fixed-in-places])
Attachments
(1 file)
61.13 KB,
text/plain
|
Details |
Failure as highlighted by shortlog looks like this: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1262636005.1262644024.4641.gz WINNT 5.2 mozilla-central debug test everythingelse on 2010/01/04 12:13:25 s: win32-slave13 { TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-everythingelse\build\xpcshell\tests\test_browser_places\unit\test_browserGlue_prefs.js | test failed (with xpcshell return code: -1073741819), see following log: TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-everythingelse\build\xpcshell\tests\test_browser_places\unit\test_browserGlue_prefs.js | application crashed (minidump found) } The assertion that fails just before the abort is: ###!!! ASSERTION: SetItemDateAdded failed: 'NS_SUCCEEDED(rv)', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/browser/components/places/src/nsPlacesImportExportService.cpp, line 954 The context lines in the shortlog aren't very helpful, so I'm attaching the chunk of the full log that corresponds to this test (test_browserGlue_prefs.js)
Comment 1•15 years ago
|
||
interesting, insertBookmark does not fail, but the next call to setItemDateAdded fails, when it get the item type, through getItemType.
Comment 2•15 years ago
|
||
I'm unsure what's up here, insertBookmark does not fail (it would assert), that should ensure that we get an itemId (the last inserted one). Since last itemId is phisically selected from the table through a query and not got through an sqlite api, that row must exist. Just a bit later setItemDateAdded bails out on a not existant itemId (with NS_ERROR_INVALID_ARG). This can happen either if itemId < 1 or if the row for that itemid does not exist. I can exclude the itemId < 1 case, since it would warn inside getItemType (NS_ENSURE_MIN would NS_WARNING). So we select from the table, and we don't find a row with that itemId, it has disappeared, but we selected that row just some ms before. Flush component does not touch moz_bookmarks table, maintenance component is not even in scope since it starts in delayed startup. So i can't see anything that could delete a bookmark in the middle.
Updated•14 years ago
|
Whiteboard: [orange] → [orange][test_browserGlue_prefs.js disabled on central]
Updated•13 years ago
|
Whiteboard: [orange][test_browserGlue_prefs.js disabled on central] → [orange][test_browserGlue_prefs.js disabled on central][fixed-in-places]
Comment 3•13 years ago
|
||
test was cleaned up in central and lot of code changed, I assume this is WFM now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange][test_browserGlue_prefs.js disabled on central][fixed-in-places] → [orange][fixed-in-places]
Assignee | ||
Updated•12 years ago
|
Keywords: intermittent-failure
Assignee | ||
Updated•12 years ago
|
Whiteboard: [orange][fixed-in-places] → [fixed-in-places]
You need to log in
before you can comment on or make changes to this bug.
Description
•