Closed Bug 660645 Opened 9 years ago Closed 7 years ago

Intermittent failure in test_service_detect_upgrade.js, test_tab_store.js | ASSERTION: mTempFile not equal to mTargetFile

Categories

(Core :: Networking: File, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jdm, Unassigned)

References

Details

(Keywords: intermittent-failure)

http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1306729121.1306731145.901.gz&fulltext=1#err0
Rev3 MacOSX Leopard 10.5.8 cedar debug test xpcshell on 2011/05/29 21:18:41

s: talos-r3-leopard-040
TEST-UNEXPECTED-FAIL | /Users/cltbld/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_service_detect_upgrade.js | test failed (with xpcshell return code: 1), see following log:
PROCESS-CRASH | /Users/cltbld/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_service_detect_upgrade.js | application crashed (minidump found)
Thread 10 (crashed)

***********
TEST-INFO | /Users/cltbld/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_service_detect_upgrade.js | Starting v4_upgrade
Set up some tabs.
Logging in.
1306730910237	Service.Main	DEBUG	Caching URLs under storage user base: http://localhost:8080/1.1/johndoe/
###!!! ASSERTION: mTempFile not equal to mTargetFile: 'Error', file /builds/moz2_slave/ced-osx-dbg/build/netwerk/base/src/nsFileStreams.cpp, line 803
catch_exception_raise+0x0002F05A [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x00063A90]
NS_StringContainerInit2_P+0x0004117A [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x016CFD70]
NS_StringContainerInit2_P+0x00041246 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x016CFE3C]
XRE_AddStaticComponent+0x0000EC83 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01700E1F]
XRE_AddStaticComponent+0x0000A314 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x016FC4B0]
gfxRGBA::gfxRGBA()+0x00039B90 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01683890]
XRE_AddStaticComponent+0x0000ACE7 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x016FCE83]
PR_Select+0x00000450 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/libnspr4.dylib +0x00029C19]
_pthread_start+0x00000141 [/usr/lib/libSystem.B.dylib +0x00032155]
thread_start+0x00000022 [/usr/lib/libSystem.B.dylib +0x00032012]
###!!! ASSERTION: mTempFile not equal to mTargetFile: 'Error', file /builds/moz2_slave/ced-osx-dbg/build/netwerk/base/src/nsFileStreams.cpp, line 803
<<<<<<<
PROCESS-CRASH | /Users/cltbld/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_service_detect_upgrade.js | application crashed (minidump found)
Operating system: Mac OS X
                  10.5.8 9L31a
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE
Crash address: 0x0

Thread 10 (crashed)
 0  libmozalloc.dylib!TouchBadMemory [mozalloc_abort.cpp:04b969002ce8 : 65 + 0x3]
    eip = 0x00044f44   esp = 0xb0594740   ebp = 0xb0594758   ebx = 0x00044f66
    esi = 0x01de4030   edi = 0x03f8ab50   eax = 0x00000000   ecx = 0x00044f39
    edx = 0x00000000   efl = 0x00010282
    Found by: given as instruction pointer in context
 1  libmozalloc.dylib!mozalloc_abort [mozalloc_abort.cpp:04b969002ce8 : 86 + 0x4]
    eip = 0x00044f9f   esp = 0xb0594760   ebp = 0xb0594778   ebx = 0x00044f66
    esi = 0x01de4030   edi = 0x03f8ab50
    Found by: call frame info
 2  XUL!Abort [nsDebugImpl.cpp:04b969002ce8 : 388 + 0xa]
    eip = 0x03fb359d   esp = 0xb0594780   ebp = 0xb0594798   ebx = 0x03fb389f
    esi = 0x01de4030   edi = 0x03f8ab50
    Found by: call frame info
 3  XUL!NS_DebugBreak_P [nsDebugImpl.cpp:04b969002ce8 : 375 + 0xd]
    eip = 0x03fb3c26   esp = 0xb05947a0   ebp = 0xb0594bc8   ebx = 0x03fb389f
    esi = 0x01de4030   edi = 0x03f8ab50
    Found by: call frame info
 4  XUL!nsSafeFileOutputStream::Finish [nsFileStreams.cpp:04b969002ce8 : 803 + 0x31]
    eip = 0x02909a90   esp = 0xb0594bd0   ebp = 0xb0594cb8   ebx = 0x02909923
    esi = 0x01de4030   edi = 0x03f8ab50
    Found by: call frame info
 5  XUL!nsAStreamCopier::Process [nsStreamUtils.cpp:04b969002ce8 : 377 + 0x18]
    eip = 0x03f75d70   esp = 0xb0594cc0   ebp = 0xb0594d48   ebx = 0x03fa6b02
    esi = 0x00000000   edi = 0x03fa57d8
    Found by: call frame info
 6  XUL!nsAStreamCopier::Run [nsStreamUtils.cpp:04b969002ce8 : 435 + 0xa]
    eip = 0x03f75e3c   esp = 0xb0594d50   ebp = 0xb0594d78   ebx = 0x03fa6b02
    esi = 0x00000000   edi = 0x03fa57d8
    Found by: call frame info
 7  XUL!nsThreadPool::Run [nsThreadPool.cpp:04b969002ce8 : 222 + 0x18]
    eip = 0x03fa6e1f   esp = 0xb0594d80   ebp = 0xb0594de8   ebx = 0x03fa6b02
    esi = 0x00000000   edi = 0x03fa57d8
    Found by: call frame info
 8  XUL!nsThread::ProcessNextEvent [nsThread.cpp:04b969002ce8 : 618 + 0x18]
    eip = 0x03fa24b0   esp = 0xb0594df0   ebp = 0xb0594e98   ebx = 0x03fa2132
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
 9  XUL!NS_ProcessNextEvent_P [nsThreadUtils.cpp:04b969002ce8 : 245 + 0x1f]
    eip = 0x03f29890   esp = 0xb0594ea0   ebp = 0xb0594ee8   ebx = 0x03f2981a
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
10  XUL!nsThread::ThreadFunc [nsThread.cpp:04b969002ce8 : 273 + 0x12]
    eip = 0x03fa2e83   esp = 0xb0594ef0   ebp = 0xb0594f48   ebx = 0x03fa2d89
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
11  libnspr4.dylib!_pt_root [ptthread.c:04b969002ce8 : 187 + 0x10]
    eip = 0x00085c19   esp = 0xb0594f50   ebp = 0xb0594f78   ebx = 0x00085b03
    esi = 0xb0595000   edi = 0x00000000
    Found by: call frame info
12  libSystem.B.dylib + 0x32154
    eip = 0x9384e155   esp = 0xb0594f80   ebp = 0xb0594fc8   ebx = 0x9384e028
    esi = 0xb0595000   edi = 0x00000000
    Found by: call frame info
13  libSystem.B.dylib + 0x32011
    eip = 0x9384e012   esp = 0xb0594fd0   ebp = 0xb0594fec
    Found by: previous frame's frame pointer
Same OS, same assertion, same stack, different test:

http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla-Aurora/1307794432.1307796358.32622.gz

Rev3 MacOSX Leopard 10.5.8 mozilla-aurora debug test xpcshell on 2011/06/11 05:13:52 

TEST-PASS | (xpcshell/head.js) | 17 (+ 0) check(s) passed
TEST-INFO | (xpcshell/head.js) | 0 check(s) todo
XRE_AddStaticComponent+0x0000ACE7 [/Users/cltbld/talos-slave/test/build/AuroraDebug.app/Contents/MacOS/XUL +0x017005BB]
gfxRGBA::gfxRGBA()+0x00039BF2 [/Users/cltbld/talos-slave/test/build/AuroraDebug.app/Contents/MacOS/XUL +0x01686FC6]
PR_Select+0x00000450 [/Users/cltbld/talos-slave/test/build/AuroraDebug.app/Contents/MacOS/libnspr4.dylib +0x00029C4D]
XRE_AddStaticComponent+0x0000ACE7 [/Users/cltbld/talos-slave/test/build/AuroraDebug.app/Contents/MacOS/XUL +0x017005BB]
_pthread_start+0x00000141 [/usr/lib/libSystem.B.dylib +0x00032155]
PR_Select+0x00000450 [/Users/cltbld/talos-slave/test/build/AuroraDebug.app/Contents/MacOS/libnspr4.dylib +0x00029C4D]
thread_start+0x00000022 [/usr/lib/libSystem.B.dylib +0x00032012]
###!!! ASSERTION: mTempFile not equal to mTargetFile: 'Error', file /builds/slave/aurora-osx-dbg/build/netwerk/base/src/nsFileStreams.cpp, line 803
_pthread_start+0x00000141 [/usr/lib/libSystem.B.dylib +0x00032155]
<<<<<<<
PROCESS-CRASH | /Users/cltbld/talos-slave/test/build/xpcshell/tests/services/sync/tests/unit/test_tab_store.js | application crashed (minidump found)
Operating system: Mac OS X
                  10.5.8 9L31a
CPU: x86
     GenuineIntel family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_PROTECTION_FAILURE
Crash address: 0x0

Thread 8 (crashed)
 0  libmozalloc.dylib!TouchBadMemory [mozalloc_abort.cpp:7764401216de : 65 + 0x3]
    eip = 0x00044f44   esp = 0xb0512740   ebp = 0xb0512758   ebx = 0x00044f66
    esi = 0x01dd21c0   edi = 0x03f7c288   eax = 0x00000000   ecx = 0x00044f39
    edx = 0x00000000   efl = 0x00010282
    Found by: given as instruction pointer in context
 1  libmozalloc.dylib!mozalloc_abort [mozalloc_abort.cpp:7764401216de : 86 + 0x4]
    eip = 0x00044f9f   esp = 0xb0512760   ebp = 0xb0512778   ebx = 0x00044f66
    esi = 0x01dd21c0   edi = 0x03f7c288
    Found by: call frame info
 2  XUL!Abort [nsDebugImpl.cpp:7764401216de : 388 + 0xa]
    eip = 0x03fa4cd5   esp = 0xb0512780   ebp = 0xb0512798   ebx = 0x03fa4fd7
    esi = 0x01dd21c0   edi = 0x03f7c288
    Found by: call frame info
 3  XUL!NS_DebugBreak_P [nsDebugImpl.cpp:7764401216de : 375 + 0xd]
    eip = 0x03fa535e   esp = 0xb05127a0   ebp = 0xb0512bc8   ebx = 0x03fa4fd7
    esi = 0x01dd21c0   edi = 0x03f7c288
    Found by: call frame info
 4  XUL!nsSafeFileOutputStream::Finish [nsFileStreams.cpp:7764401216de : 803 + 0x31]
    eip = 0x028f7900   esp = 0xb0512bd0   ebp = 0xb0512cb8   ebx = 0x028f7793
    esi = 0x01dd21c0   edi = 0x03f7c288
    Found by: call frame info
 5  XUL!nsAStreamCopier::Process [nsStreamUtils.cpp:7764401216de : 377 + 0x18]
    eip = 0x03f674a8   esp = 0xb0512cc0   ebp = 0xb0512d48   ebx = 0x03f9823a
    esi = 0x00000000   edi = 0x03f96f10
    Found by: call frame info
 6  XUL!nsAStreamCopier::Run [nsStreamUtils.cpp:7764401216de : 435 + 0xa]
    eip = 0x03f67574   esp = 0xb0512d50   ebp = 0xb0512d78   ebx = 0x03f9823a
    esi = 0x00000000   edi = 0x03f96f10
    Found by: call frame info
 7  XUL!nsThreadPool::Run [nsThreadPool.cpp:7764401216de : 222 + 0x18]
    eip = 0x03f98557   esp = 0xb0512d80   ebp = 0xb0512de8   ebx = 0x03f9823a
    esi = 0x00000000   edi = 0x03f96f10
    Found by: call frame info
 8  XUL!nsThread::ProcessNextEvent [nsThread.cpp:7764401216de : 618 + 0x18]
    eip = 0x03f93be8   esp = 0xb0512df0   ebp = 0xb0512e98   ebx = 0x03f9386a
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
 9  XUL!NS_ProcessNextEvent_P [nsThreadUtils.cpp:7764401216de : 245 + 0x1f]
    eip = 0x03f1afc6   esp = 0xb0512ea0   ebp = 0xb0512ee8   ebx = 0x03f1af50
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
10  XUL!nsThread::ThreadFunc [nsThread.cpp:7764401216de : 273 + 0x12]
    eip = 0x03f945bb   esp = 0xb0512ef0   ebp = 0xb0512f48   ebx = 0x03f944c1
    esi = 0x00000000   edi = 0x00000000
    Found by: call frame info
11  libnspr4.dylib!_pt_root [ptthread.c:7764401216de : 187 + 0x10]
    eip = 0x00085c4d   esp = 0xb0512f50   ebp = 0xb0512f78   ebx = 0x00085b37
    esi = 0xb0513000   edi = 0x00000000
    Found by: call frame info
12  libSystem.B.dylib + 0x32154
    eip = 0x9296b155   esp = 0xb0512f80   ebp = 0xb0512fc8   ebx = 0x9296b028
    esi = 0xb0513000   edi = 0x00000000
    Found by: call frame info
13  libSystem.B.dylib + 0x32011
    eip = 0x9296b012   esp = 0xb0512fd0   ebp = 0xb0512fec
    Found by: previous frame's frame pointer
OS: Linux → Mac OS X
Summary: Intermittent failure in test_service_detect_upgrade.js | ASSERTION: mTempFile not equal to mTargetFile → Intermittent failure in test_service_detect_upgrade.js, test_tab_store.js | ASSERTION: mTempFile not equal to mTargetFile
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]
You need to log in before you can comment on or make changes to this bug.