Closed Bug 795258 Opened 12 years ago Closed 11 years ago

Intermittent crash in places/tests/unit/test_browserGlue_prefs.js due to "Assertion failure: target, at ../../../storage/src/mozStorageAsyncStatementExecution.cpp:190"

Categories

(Toolkit :: Places, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla25
Tracking Status
firefox24 --- fixed
firefox25 --- fixed

People

(Reporter: emorley, Assigned: mak)

References

Details

(Keywords: assertion, intermittent-failure)

Rev4 MacOSX Lion 10.7 mozilla-inbound debug test xpcshell on 2012-09-26 17:34:35 PDT for push b2644a3626ec

slave: talos-r4-lion-082

https://tbpl.mozilla.org/php/getParsedLog.php?id=15573018&tree=Mozilla-Inbound

{
TEST-PASS | /Users/cltbld/talos-slave/test/build/xpcshell/tests/browser/components/places/tests/unit/head_bookmarks.js -> file:///Users/cltbld/talos-slave/test/build/xpcshell/tests/toolkit/components/places/tests/head_common.js | [remove_bookmarks_html : 445] false == false

TEST-PASS | /Users/cltbld/talos-slave/test/build/xpcshell/tests/browser/components/places/tests/unit/head_bookmarks.js -> file:///Users/cltbld/talos-slave/test/build/xpcshell/tests/toolkit/components/places/tests/head_common.js | [remove_all_JSON_backups : 501] false == false
Assertion failure: target, at ../../../storage/src/mozStorageAsyncStatementExecution.cpp:190
<<<<<<<
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-macosx64-debug/1348704102/firefox-18.0a1.en-US.mac64.crashreporter-symbols.zip
PROCESS-CRASH | /Users/cltbld/talos-slave/test/build/xpcshell/tests/browser/components/places/tests/unit/test_browserGlue_prefs.js | application crashed (minidump found)
Crash dump filename: /Users/cltbld/talos-slave/test/build/xpcshell/tests/browser/components/places/tests/unit/968B3421-F36A-4258-9F00-6CBEEB72627D.dmp
Operating system: Mac OS X
                  10.7.2 11C74
CPU: amd64
     family 6 model 23 stepping 10
     2 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x0

Thread 0 (crashed)
 0  XUL!mozilla::storage::AsyncExecuteStatements::execute [mozStorageAsyncStatementExecution.cpp : 190 + 0x0]
    rbx = 0x00007fff75957630   r12 = 0x0000000103ed2a10
    r13 = 0x0000000103ed2a20   r14 = 0x0000000103c5af80
    r15 = 0x00007fff5fbfc418   rip = 0x0000000101223543
    rsp = 0x00007fff5fbfc380   rbp = 0x00007fff5fbfc3b0
    Found by: given as instruction pointer in context
 1  XUL!mozilla::storage::StorageBaseStatementInternal::ExecuteAsync [StorageBaseStatementInternal.cpp : 187 + 0xa]
    rbx = 0x0000000000000000   r12 = 0x0000000103ee13f8
    r13 = 0x000000010122b7e0   r14 = 0x00007fff5fbfc418
    r15 = 0x0000000103e68090   rip = 0x000000010122e180
    rsp = 0x00007fff5fbfc3c0   rbp = 0x00007fff5fbfc400
    Found by: call frame info
 2  XUL!AsyncGetBookmarksForURI<void (nsNavBookmarks::*)(const mozilla::places::ItemChangeData &), mozilla::places::ItemChangeData>::Init [nsNavBookmarks.cpp : 116 + 0x8]
    rbx = 0x0000000000000000   r12 = 0x0000000103ee13f0
    r13 = 0x000000010122b7e0   r14 = 0x0000000103c59e20
    r15 = 0x0000000103e68090   rip = 0x00000001013269f8
    rsp = 0x00007fff5fbfc410   rbp = 0x00007fff5fbfc460
    Found by: call frame info
 3  XUL!nsNavBookmarks::OnPageChanged [nsNavBookmarks.cpp : 2881 + 0x7]
    rbx = 0x0000000103e68090   r12 = 0x00007fff5fbfc5a8
    r13 = 0x0000000103c6e530   r14 = 0x0000000103eead50
    r15 = 0x0000000000000000   rip = 0x000000010132671e
    rsp = 0x00007fff5fbfc470   rbp = 0x00007fff5fbfc5e0
    Found by: call frame info
 4  XUL!nsNavHistory::SendPageChangedNotification [nsNavHistory.cpp : 4737 + 0x13]
    rbx = 0x0000000102484dd0   r12 = 0x0000000103c59b80
    r13 = 0x0000000103ce1a68   r14 = 0x00007fff5fbfc610
    r15 = 0x0000000000000000   rip = 0x00000001012f14c6
    rsp = 0x00007fff5fbfc5f0   rbp = 0x00007fff5fbfc640
    Found by: call frame info
 5  XUL!nsFaviconService::SendFaviconNotifications [nsFaviconService.cpp : 335 + 0x15]
    rbx = 0x00007fff5fbfc658   r12 = 0x0000000103c59b80
    r13 = 0x00007fff5fbfc678   r14 = 0x0000000103ce1a68
    r15 = 0x0000000103eead50   rip = 0x00000001012d3546
    rsp = 0x00007fff5fbfc650   rbp = 0x00007fff5fbfc780
    Found by: call frame info
 6  XUL!mozilla::places::NotifyIconObservers::SendGlobalNotifications [AsyncFaviconHelpers.cpp : 1114 + 0xa]
    rbx = 0x0000000000000000   r12 = 0x0000000103ed9ed0
    r13 = 0x00000001021a1b20   r14 = 0x0000000103ce1a28
}
Whiteboard: [orange]
Keywords: crash
Not a crash, this is an aborting assertion that tells us something is trying to execute a statement after asyncClose has already been invoked. indeed looks like after Database::Shutdown, we still notify a favicon change, that notifies onPageChanged that tries to execute the statement in AsyncGetBookmarksForURI
Keywords: crash
Assignee: nobody → mak77
I think bug 894042 fixed this one too.
Depends on: 894042
Target Milestone: --- → mozilla25
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.