Closed Bug 711155 Opened 13 years ago Closed 12 years ago

Intermittent TEST-UNEXPECTED-FAIL | test_cookies_read.js, test_cookies_persistence.js, test_cookies_thirdparty_session.js | test failed (with xpcshell return code: 1) | application crashed, with "###!!! ASSERTION: Potential deadlock detected"

Categories

(Core :: Networking: Cookies, defect)

11 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mbrubeck, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [test which aborts the suite])

Filing under Networking: Cookies because of the test where it happened; please reassign if you know of a better owner.

https://tbpl.mozilla.org/php/getParsedLog.php?id=7955584&full=1&branch=mozilla-inbound
Rev3 MacOSX Leopard 10.5.8 mozilla-inbound debug test xpcshell on 2011-12-15 08:51:02 PST for push 3433303583af

builder: mozilla-inbound_leopard-o-debug_test-xpcshell
slave: talos-r3-leopard-011
starttime: 1323967862.76
results: warnings (1)
buildid: 20111215053814
builduid: ebe985228be040ceb2a33ff8871db363
revision: 3433303583af

TEST-PASS | /Users/cltbld/talos-slave/test/build/xpcshell/tests/extensions/cookie/test/unit/head_cookies.js | [null : 76] cookie-db-closed == cookie-db-closed

TEST-PASS | /Users/cltbld/talos-slave/test/build/xpcshell/tests/extensions/cookie/test/unit/test_cookies_read.js | [do_run_test : 92] 2800 == 2800

TEST-PASS | /Users/cltbld/talos-slave/test/build/xpcshell/tests/extensions/cookie/test/unit/head_cookies.js | [null : 76] cookie-db-closed == cookie-db-closed
###!!! ERROR: Potential deadlock detected:
=== Cyclical dependency starts at
--- Mutex : Connection::sharedDBMutex (currently acquired)
 calling context
stacks_disabled+0[stacks_disabled +0x0]

=== Cycle completed at
--- Mutex : Connection::sharedDBMutex (currently acquired)
 calling context
stacks_disabled+0[stacks_disabled +0x0]

###!!! Deadlock may happen NOW!

###!!! ASSERTION: Potential deadlock detected:
Cyclical dependency starts at
Mutex : Connection::sharedDBMutex (currently acquired)
Cycle completed at
Mutex : Connection::sharedDBMutex (currently acquired)

###!!! Deadlock may happen NOW!

: 'Error', file /builds/slave/m-in-osx-dbg/build/obj-firefox/xpcom/build/BlockingResourceBase.cpp, line 161
mac_plugin_interposing_child_OnSetCursor+0x0017B950 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D0F810]
XRE_TelemetryAccumulate+0x0001E973 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x0180CEE3]
XRE_AddManifestLocation+0x000076F7 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D8D5C7]
mac_plugin_interposing_child_OnSetCursor+0x00177EC2 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D0BD82]
NS_GetComponentRegistrar_P+0x000013BA [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D7E4BA]
mac_plugin_interposing_child_OnSetCursor+0x00172666 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D06526]
js::SecurityWrapper<js::Wrapper>::~SecurityWrapper()+0x002AE308 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x017EDF28]
XRE_TelemetryAccumulate+0x00009923 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x017F7E93]
XRE_TelemetryAccumulate+0x0001DBDD [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x0180C14D]
XRE_TelemetryAccumulate+0x0001E14F [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x0180C6BF]
XRE_TelemetryAccumulate+0x0001EA78 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x0180CFE8]
XRE_AddManifestLocation+0x000076F7 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D8D5C7]
mac_plugin_interposing_child_OnSetCursor+0x00177EC2 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D0BD82]
XRE_AddManifestLocation+0x00009613 [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/XUL +0x01D8F4E3]
PR_JoinThread+0x000001EA [/Users/cltbld/talos-slave/test/build/NightlyDebug.app/Contents/MacOS/libnspr4.dylib +0x00024D5A]
_pthread_start+0x00000141 [/usr/lib/libSystem.B.dylib +0x00032155]
thread_start+0x00000022 [/usr/lib/libSystem.B.dylib +0x00032012]
###!!! ASSERTION: Potential deadlock detected:
Cyclical dependency starts at
Mutex : Connection::sharedDBMutex (currently acquired)
Cycle completed at
Mutex : Connection::sharedDBMutex (currently acquired)

###!!! Deadlock may happen NOW!

: 'Error', file /builds/slave/m-in-osx-dbg/build/obj-firefox/xpcom/build/BlockingResourceBase.cpp, line 161
<<<<<<<
PROCESS-CRASH | /Users/cltbld/talos-slave/test/build/xpcshell/tests/extensions/cookie/test/unit/test_cookies_read.js | application crashed (minidump found)
Crash dump filename: /Users/cltbld/talos-slave/test/build/xpcshell/tests/extensions/cookie/test/unit/FA94FBD2-949A-49D8-AA2B-8FC2A6C788E4.dmp
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 11 (crashed)
 0  libmozalloc.dylib + 0xedb
    eip = 0x00028edb   esp = 0xb0616330   ebp = 0xb0616348   ebx = 0x00028eb1
    esi = 0xa03795b8   edi = 0xa03795b8   eax = 0x0000000a   ecx = 0x00000000
    edx = 0x00000000   efl = 0x00010246
    Found by: given as instruction pointer in context
 1  XUL + 0x1da02cf
    eip = 0x04ee72d0   esp = 0xb0616350   ebp = 0xb0616788
    Found by: previous frame's frame pointer
 2  XUL + 0x1d0f80f
    eip = 0x04e56810   esp = 0xb0616790   ebp = 0xb0616918
    Found by: previous frame's frame pointer
 3  XUL + 0x180cee2
    eip = 0x04953ee3   esp = 0xb0616920   ebp = 0xb06169a8
    Found by: previous frame's frame pointer
 4  XUL + 0x1d8d5c6
    eip = 0x04ed45c7   esp = 0xb06169b0   ebp = 0xb0616a48
    Found by: previous frame's frame pointer
 5  XUL + 0x1d0bd81
    eip = 0x04e52d82   esp = 0xb0616a50   ebp = 0xb0616a88
    Found by: previous frame's frame pointer
 6  XUL + 0x1d7e4b9
    eip = 0x04ec54ba   esp = 0xb0616a90   ebp = 0xb0616b68
    Found by: previous frame's frame pointer
 7  XUL + 0x1d06525
    eip = 0x04e4d526   esp = 0xb0616b70   ebp = 0xb0616b98
    Found by: previous frame's frame pointer
 8  XUL + 0x17edf27
    eip = 0x04934f28   esp = 0xb0616ba0   ebp = 0xb0616be8
    Found by: previous frame's frame pointer
 9  XUL + 0x17f7e92
    eip = 0x0493ee93   esp = 0xb0616bf0   ebp = 0xb0616c88
    Found by: previous frame's frame pointer
10  XUL + 0x180c14c
    eip = 0x0495314d   esp = 0xb0616c90   ebp = 0xb0616d18
    Found by: previous frame's frame pointer
11  XUL + 0x180c6be
    eip = 0x049536bf   esp = 0xb0616d20   ebp = 0xb0616d68
    Found by: previous frame's frame pointer
12  XUL + 0x180cfe7
    eip = 0x04953fe8   esp = 0xb0616d70   ebp = 0xb0616df8
    Found by: previous frame's frame pointer
13  XUL + 0x1d8d5c6
    eip = 0x04ed45c7   esp = 0xb0616e00   ebp = 0xb0616e98
    Found by: previous frame's frame pointer
14  XUL + 0x1d0bd81
    eip = 0x04e52d82   esp = 0xb0616ea0   ebp = 0xb0616ed8
    Found by: previous frame's frame pointer
15  XUL + 0x1d8f4e2
    eip = 0x04ed64e3   esp = 0xb0616ee0   ebp = 0xb0616f38
    Found by: previous frame's frame pointer
16  libnspr4.dylib + 0x24d59
    eip = 0x00063d5a   esp = 0xb0616f40   ebp = 0xb0616f78
    Found by: previous frame's frame pointer
17  libSystem.B.dylib + 0x32154
    eip = 0x9296b155   esp = 0xb0616f80   ebp = 0xb0616fc8
    Found by: previous frame's frame pointer
18  libSystem.B.dylib + 0x32011
    eip = 0x9296b012   esp = 0xb0616fd0   ebp = 0xb0616fec
    Found by: previous frame's frame pointer
https://tbpl.mozilla.org/php/getParsedLog.php?id=8201952&tree=Mozilla-Inbound
Summary: Intermittent TEST-UNEXPECTED-FAIL | xpcshell/tests/extensions/cookie/test/unit/test_cookies_read.js | test failed (with xpcshell return code: 1) | application crashed, with "###!!! ASSERTION: Potential deadlock detected" → Intermittent TEST-UNEXPECTED-FAIL | xpcshell/tests/extensions/cookie/test/unit/test_cookies_read.js, test_cookies_persistence.js | test failed (with xpcshell return code: 1) | application crashed, with "###!!! ASSERTION: Potential deadlock detected"
https://tbpl.mozilla.org/php/getParsedLog.php?id=8250889&tree=Firefox
Summary: Intermittent TEST-UNEXPECTED-FAIL | xpcshell/tests/extensions/cookie/test/unit/test_cookies_read.js, test_cookies_persistence.js | test failed (with xpcshell return code: 1) | application crashed, with "###!!! ASSERTION: Potential deadlock detected" → Intermittent TEST-UNEXPECTED-FAIL | test_cookies_read.js, test_cookies_persistence.js, test_cookies_thirdparty_session.js | test failed (with xpcshell return code: 1) | application crashed, with "###!!! ASSERTION: Potential deadlock detected"
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: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange][test which aborts the suite] → [test which aborts the suite]
You need to log in before you can comment on or make changes to this bug.