+++ This bug was initially created as a clone of Bug #743635 +++ I erroneously attributed the freeze we're seeing in the Gonk ICS emulator to the off-mainthread access of the Directory Service in IndexedDB. Turns out, that patch -- while still useful -- doesn't fix the freeze.
Seeing this on the Akami (running Gingerbread), too.
I can reproduce this issue on Lenovo phone, too. When the issues reproduced, one thread stuck in the while loop in EnsureOriginIsInitialized() of IndexedDatabaseManager.cpp. And the SMS & Settings related files keep been updated in IndexedDB directory. # pwd /data/b2g/mozilla/82ve6zij.default/indexedDB/chrome # ls -l drwxr-xr-x 1 root root 2048 Jan 19 15:30 226660312ssm -rw------- 1 root root 524288 Jan 19 15:39 226660312ssm.sqlite drwxr-xr-x 1 root root 2048 Jan 19 15:38 2588645841ssegtnti -rw------- 1 root root 524288 Jan 19 15:39 2588645841ssegtnti.sqlite -rw------- 1 root root 33288 Jan 19 15:39 2588645841ssegtnti.sqlite-journal Have to rm files in this directory to recover.
This is the `while` loop: http://mxr.mozilla.org/mozilla-central/source/dom/indexedDB/IndexedDatabaseManager.cpp#698 This problem sounds familiar: bug 727803.
This bug looks similar to bug 727803, but seems a different case. It's not always happening, but once happens, it keeps happening next time. Since we know it's stuck in the while loop, next is to dig deeper into the loop to see how it happens and find a way to fix it. Looking forward to someone who familiar to this code can see it.
After discussion with mwu, it should be same problem as bug 727803(shouldn't it already be fixed on Akami?). And mwu is looking to fix it at Gecko side(bug 749661).
Component: DOM: Device Interfaces → RIL
Product: Core → Firefox OS
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.