Closed Bug 528019 Opened 15 years ago Closed 15 years ago

windows debug unit tests: test_statement_executeAsync.js sporadically fails

Categories

(Toolkit :: Storage, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 525356

People

(Reporter: dholbert, Unassigned)

Details

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257968262.1257973297.30961.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2009/11/11 11:37:42
s: moz2-win32-slave38

The failure line is:
TEST-UNEXPECTED-FAIL | e:\builds\moz2_slave\mozilla-central-win32-debug-unittest-everythingelse\build\xpcshell\tests\test_storage\unit\test_statement_executeAsync.js | test failed (with xpcshell return code: 3), see following log:

The log is quite long, but here's the end of it (the bit that looks interesting):
{
WARNING: NS_ENSURE_TRUE(mThread != PR_GetCurrentThread()) failed: file e:/builds/moz2_slave/mozilla-central-win32-debug/build/xpcom/threads/nsThread.cpp, line 440
WARNING: SQL statement 'SELECT * FROM test' was not finalized: file e:/builds/moz2_slave/mozilla-central-win32-debug/build/storage/src/mozStorageConnection.cpp, line 510
###!!! ASSERTION: sqlite3_close failed. There are probably outstanding statements that are listed above!: 'srv == SQLITE_OK', file e:/builds/moz2_slave/mozilla-central-win32-debug/build/storage/src/mozStorageConnection.cpp, line 523
Leaked URLs:
  file:///e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/firefox/
  file:///e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/firefox/
  file:///e:/builds/moz2_slave/mozilla-central-win32-debug-unittest-everythingelse/build/firefox/chrome/toolkit.jar
  x:///res/
nsStringStats
 => mAllocCount:           1872
 => mReallocCount:            3
 => mFreeCount:            1608  --  LEAKED 264 !!!
 => mShareCount:           1060
 => mAdoptCount:            722
 => mAdoptFreeCount:        720  --  LEAKED 2 !!!
}

NOTE: The log also had a failure in "test_connection_executeAsync.js", which is already filed as Bug 525356.  While that bug may be related to this one, it doesn't actually mention test_statement_executeAsync.js anywhere, and the few logs there that I glanced at don't have the test_statement_executeAsync.js failure.  So, filing this separately.
OS: Linux → Windows NT
Whiteboard: [orange]
Here are a few logs from Bug 525356, from the last 2 days, that had this bug's failure as well:
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257875780.1257880442.12448.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257875780.1257880442.12448.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1257875780.1257880442.12448.gz

So far, it looks like this bug's failure only ever happens after bug 525356's failure.  (though sometimes bug 525356 just fails on its own)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258070062.1258077904.19636.gz#err7
WINNT 5.2 mozilla-central debug test everythingelse on 2009/11/12 15:54:22
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox-Unittest/1258136611.1258142521.15473.gz
WINNT 5.2 mozilla-central debug test everythingelse on 2009/11/13 10:23:31
"s: moz2-win32-slave34"
This is the same as bug 525356.  I'll update the summary there.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
No longer blocks: 438871
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.