Closed Bug 1169726 Opened 10 years ago Closed 4 years ago

Intermittent mozrunner-startup | application crashed [@ mozilla::dom::indexedDB::::QuotaClient::FindDatabasesForIdleMaintenance] (Assertion failure: !databasePaths.Contains(idbFilePath), at ActorsParent.cpp:17232)

Categories

(Core :: Storage: IndexedDB, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox41 --- affected

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: assertion, crash, intermittent-failure)

08:33:18 WARNING - PROCESS-CRASH | mozrunner-startup | application crashed [@ mozilla::dom::indexedDB::::QuotaClient::FindDatabasesForIdleMaintenance] 08:33:18 INFO - Crash dump filename: /tmp/tmpdteHKD/014df25b-40e8-db8b-34f7c29d-0862f524.dmp 08:33:18 INFO - Operating system: Android 08:33:18 INFO - 0.0.0 Linux 2.6.29-g41a03df #22 Thu Jun 26 10:59:09 CST 2014 armv7l Android/full/generic:4.0.4.0.4.0.4/OPENMASTER/eng.cltbld.20150529.103601:eng/test-keys 08:33:18 INFO - CPU: arm 08:33:18 INFO - 0 CPUs 08:33:18 INFO - Crash reason: SIGSEGV 08:33:18 INFO - Crash address: 0x0 08:33:18 INFO - Thread 51 (crashed) 08:33:18 INFO - 0 libxul.so!mozilla::dom::indexedDB::::QuotaClient::FindDatabasesForIdleMaintenance [ActorsParent.cpp:c99e26f84f4b : 16396 + 0x8] 08:33:18 INFO - r4 = 0x0000400c r5 = 0x4bfffcac r6 = 0x4bfffc58 r7 = 0x4bfffc40 08:33:18 INFO - r8 = 0x4bfffc4c r9 = 0x00000010 r10 = 0x4b6f39d4 fp = 0x4bfffbf3 08:33:18 INFO - sp = 0x4bfffbb8 lr = 0x419be0b3 pc = 0x419dc93c 08:33:18 INFO - Found by: given as instruction pointer in context 08:33:18 INFO - 1 libxul.so!nsRunnableMethodImpl<nsresult (mozilla::storage::Connection::*)(mozIStorageCompletionCallback*), true, mozIStorageCompletionCallback*>::Run [nsThreadUtils.h : 631 + 0x15] 08:33:18 INFO - r4 = 0x419dc709 r5 = 0x00000000 r6 = 0x4bfffd94 r7 = 0x4bfffd8c 08:33:18 INFO - r8 = 0x4bfffd9c r9 = 0x00000000 r10 = 0x4b6e2d44 fp = 0x4bfffd90 08:33:18 INFO - sp = 0x4bfffd68 pc = 0x40fb405b 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 2 libxul.so!nsThreadPool::Run [nsThreadPool.cpp:c99e26f84f4b : 221 + 0xb] 08:33:18 INFO - r4 = 0x4b6e2d30 r5 = 0x00000000 r6 = 0x4bfffd94 r7 = 0x4bfffd8c 08:33:18 INFO - r8 = 0x4bfffd9c r9 = 0x00000000 r10 = 0x4b6e2d44 fp = 0x4bfffd90 08:33:18 INFO - sp = 0x4bfffd70 pc = 0x40bb2dc7 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 3 libxul.so!nsThread::ProcessNextEvent [nsThread.cpp:c99e26f84f4b : 846 + 0x9] 08:33:18 INFO - r4 = 0x4a6f1814 r5 = 0x00000000 r6 = 0x4a6f17d0 r7 = 0x4bfffdf0 08:33:18 INFO - r8 = 0x4bfffde4 r9 = 0x00000000 r10 = 0x00000000 fp = 0x4bfffe2f 08:33:18 INFO - sp = 0x4bfffdc8 pc = 0x40bb263f 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 4 libxul.so!NS_ProcessNextEvent [nsThreadUtils.cpp:c99e26f84f4b : 265 + 0xd] 08:33:18 INFO - r4 = 0x4a6f17d0 r5 = 0x00000000 r6 = 0x4a6e3c28 r7 = 0x4a6e3c20 08:33:18 INFO - r8 = 0x4bd11290 r9 = 0x00000000 r10 = 0x4a6f17e0 fp = 0x00000001 08:33:18 INFO - sp = 0x4bfffe28 pc = 0x40bcbf95 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 5 libxul.so!mozilla::ipc::MessagePumpForNonMainThreads::Run [MessagePump.cpp:c99e26f84f4b : 326 + 0x7] 08:33:18 INFO - r4 = 0x4a6e3c10 r5 = 0x4ade1660 r6 = 0x4a6e3c28 r7 = 0x4a6e3c20 08:33:18 INFO - r8 = 0x4bd11290 r9 = 0x00000000 r10 = 0x4a6f17e0 fp = 0x00000001 08:33:18 INFO - sp = 0x4bfffe40 pc = 0x40d88e55 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 6 libxul.so!MessageLoop::RunInternal [message_loop.cc:c99e26f84f4b : 233 + 0xf] 08:33:18 INFO - r4 = 0x4ade1660 r5 = 0x4bfffea0 r6 = 0x4bfffea8 r7 = 0x4ade1660 08:33:18 INFO - r8 = 0x00000001 r9 = 0x00000000 r10 = 0x4a6f17e0 fp = 0x00000001 08:33:18 INFO - sp = 0x4bfffe68 pc = 0x40d73155 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 7 libxul.so!MessageLoop::Run [message_loop.cc:c99e26f84f4b : 226 + 0x5] 08:33:18 INFO - r4 = 0x4ade1660 r5 = 0x4bfffea0 r6 = 0x4bfffea8 r7 = 0x4ade1660 08:33:18 INFO - r8 = 0x00000001 r9 = 0x00000000 r10 = 0x4a6f17e0 fp = 0x00000001 08:33:18 INFO - sp = 0x4bfffe80 pc = 0x40d7316f 08:33:18 INFO - Found by: call frame info 08:33:18 INFO - 8 libxul.so!nsThread::ThreadFunc [nsThread.cpp:c99e26f84f4b : 359 + 0x3] 08:33:18 INFO - r4 = 0x4a6f17d0 r5 = 0x4bfffea0 r6 = 0x4bfffea8 r7 = 0x4ade1660 08:33:18 INFO - r8 = 0x00000001 r9 = 0x00000000 r10 = 0x4a6f17e0 fp = 0x00000001 08:33:18 INFO - sp = 0x4bfffe98 pc = 0x40bb2a61 08:33:18 INFO - Found by: call frame info
The IsSingleThreaded() failure causes the child process to crash early in startup, before it's started IPC. The parent process crash… from a quick look at the code, it looks like a directory entry enumerator would need to return the same filename more than once? Could it be racing with something that creates/removes directory entries, and possibly something that's specific to an error case?
(Bug 1168555 has been claimed for the IsSingleThreaded() failure, but there's something else not-quite-right going on here with IndexedDB so I'm leaving this bug as-is instead of dup'ing it.)
The idle maintenance stuff needs better protection, see bug 858680 comment 32. I don't know if this bug has something to do with it, but I wouldn't be surprised if it does.
Flags: needinfo?(Jan.Varga)
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #22) > wfm? Only because we don't test error cases. Back out https://hg.mozilla.org/mozilla-central/rev/6e2d23f31eeb and I bet this bug starts showing up again. (Also the IPC bug mentioned in bug 1168555 comment #4, which I didn't even bother trying to file.)
Summary: Intermittent mozrunner-startup | application crashed [@ mozilla::dom::indexedDB::::QuotaClient::FindDatabasesForIdleMaintenance] (Assertion failure: IsSingleThreaded(), at Sandbox.cpp:442) → Intermittent mozrunner-startup | application crashed [@ mozilla::dom::indexedDB::::QuotaClient::FindDatabasesForIdleMaintenance] (Assertion failure: !databasePaths.Contains(idbFilePath), at ActorsParent.cpp:17232)
Depends on: 1248550
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Priority: P3 → P5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.