Closed Bug 793514 Opened 12 years ago Closed 11 years ago

Intermittent failure in test_filehandle_store_snapshot.html from "Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsDOMFileCC not thread-safe)" and "(nsScriptCacheCleaner not thread-safe)"

Categories

(Core :: Storage: IndexedDB, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: assertion, intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=15459856&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test mochitests-2/5 on 2012-09-23 11:14:36 PDT for push 78c1ecf6bf13
slave: talos-r3-xp-042

18539 INFO TEST-PASS | /tests/dom/indexedDB/test/test_filehandle_store_snapshot.html | Good error code. - 0 should equal 0
Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsDOMFileCC not thread-safe), at e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsDOMFile.cpp:467
nsStringStats
 => mAllocCount:        1727493
 => mReallocCount:        64848
 => mFreeCount:         1712674  --  LEAKED 14819 !!!
 => mShareCount:        3462593
 => mAdoptCount:          96964
 => mAdoptFreeCount:      96958  --  LEAKED 6 !!!
Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsScriptCacheCleaner not thread-safe), at e:/builds/moz2_slave/m-in-w32-dbg/build/content/base/src/nsFrameMessageManager.cpp:997
[Child 3464] WARNING: shutting down early because of crash!: file e:/builds/moz2_slave/m-in-w32-dbg/build/dom/ipc/ContentChild.cpp, line 757
[Child 3464] WARNING: content process _exit()ing: file e:/builds/moz2_slave/m-in-w32-dbg/build/dom/ipc/ContentChild.cpp, line 802
nsStringStats
 => mAllocCount:          94144
 => mReallocCount:         7358
 => mFreeCount:           90070  --  LEAKED 4074 !!!
 => mShareCount:         144472
 => mAdoptCount:           7697
 => mAdoptFreeCount:       7692  --  LEAKED 5 !!!
TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_filehandle_store_snapshot.html | Exited with code -2147483645 during test run
INFO | automation.py | Application ran for: 0:19:38.921000
INFO | automation.py | Reading PID log: c:\docume~1\cltbld\locals~1\temp\tmpt0w_ebpidlog
==> process 1956 launched child process 3464
==> process 1956 launched child process 3876
==> process 1956 launched child process 3936
INFO | automation.py | Checking for orphan process with PID: 3464
INFO | automation.py | Checking for orphan process with PID: 3876
INFO | automation.py | Checking for orphan process with PID: 3936
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win32-debug/1348420398/firefox-18.0a1.en-US.win32.crashreporter-symbols.zip
PROCESS-CRASH | /tests/dom/indexedDB/test/test_filehandle_store_snapshot.html | application crashed (minidump found)
Crash dump filename: c:\docume~1\cltbld\locals~1\temp\tmp1cj9mn\minidumps\6690a150-be9d-429a-ace1-f07a824e77ca.dmp
Operating system: Windows NT
                  5.1.2600 Service Pack 2
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXCEPTION_BREAKPOINT
Crash address: 0x21d8628

Thread 44 (crashed)
 0  xul.dll!nsDOMFileCC::Release() [nsDOMFile.cpp:78c1ecf6bf13 : 467 + 0x80]
    eip = 0x021d8628   esp = 0x1013fd9c   ebp = 0x1013fdac   ebx = 0x7c801e16
    esi = 0x0337fdd8   edi = 0x000001d3   eax = 0x00000000   ecx = 0xab92d01e
    edx = 0x10361f48   efl = 0x00000206
    Found by: given as instruction pointer in context
 1  xul.dll!mozilla::dom::file::File::Release() [File.cpp:78c1ecf6bf13 : 54 + 0xb]
    eip = 0x02528ae6   esp = 0x1013fdb4   ebp = 0x1013fdbc
    Found by: call frame info
 2  xul.dll!nsCOMPtr<nsIDOMBlob>::~nsCOMPtr<nsIDOMBlob>() [nsCOMPtr.h:78c1ecf6bf13 : 492 + 0x5]
    eip = 0x021d3a93   esp = 0x1013fdc4   ebp = 0x1013fdd8
    Found by: call frame info
 3  xul.dll!nsTArray<mozilla::dom::indexedDB::StructuredCloneFile,nsTArrayDefaultAllocator>::DestructRange(unsigned int,unsigned int) [nsTArray.h:78c1ecf6bf13 : 1225 + 0x6]
    eip = 0x02599937   esp = 0x1013fdd0   ebp = 0x1013fdd8
    Found by: stack scanning
 4  xul.dll!nsTArray<mozilla::dom::indexedDB::StructuredCloneFile,nsTArrayDefaultAllocator>::RemoveElementsAt(unsigned int,unsigned int) [nsTArray.h:78c1ecf6bf13 : 945 + 0xd]
    eip = 0x02599ae8   esp = 0x1013fde0   ebp = 0x1013fdfc
    Found by: call frame info
 5  xul.dll!nsTArray<mozilla::dom::indexedDB::StructuredCloneFile,nsTArrayDefaultAllocator>::~nsTArray<mozilla::dom::indexedDB::StructuredCloneFile,nsTArrayDefaultAllocator>() [nsTArray.h:78c1ecf6bf13 : 442 + 0xd]
    eip = 0x02599b57   esp = 0x1013fe04   ebp = 0x1013fe24
    Found by: call frame info
 6  xul.dll!`anonymous namespace'::AddHelper::~AddHelper() [IDBObjectStore.cpp:78c1ecf6bf13 : 144 + 0x17]
    eip = 0x025c6b99   esp = 0x1013fe14   ebp = 0x1013fe24
    Found by: stack scanning
 7  xul.dll!`anonymous namespace'::AddHelper::`vector deleting destructor'(unsigned int) + 0xa
    eip = 0x025c6bc6   esp = 0x1013fe20   ebp = 0x1013fe24
    Found by: stack scanning
 8  xul.dll!mozilla::dom::indexedDB::AsyncConnectionHelper::Release() [AsyncConnectionHelper.cpp:78c1ecf6bf13 : 185 + 0x58]
    eip = 0x02597b56   esp = 0x1013fe2c   ebp = 0x1013fe3c
Whiteboard: [orange]
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.