Closed
Bug 744300
Opened 13 years ago
Closed 7 years ago
B2G SMS database initialization freezes I/O thread
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(blocking-b2g:-)
RESOLVED
WONTFIX
blocking-b2g | - |
People
(Reporter: philikon, Unassigned)
References
Details
+++ 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.
Reporter | ||
Comment 1•13 years ago
|
||
Seeing this on the Akami (running Gingerbread), too.
Comment 2•13 years ago
|
||
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.
Reporter | ||
Comment 3•13 years ago
|
||
This is the `while` loop: http://mxr.mozilla.org/mozilla-central/source/dom/indexedDB/IndexedDatabaseManager.cpp#698
This problem sounds familiar: bug 727803.
Comment 4•13 years ago
|
||
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.
Comment 5•13 years ago
|
||
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).
Updated•11 years ago
|
Component: DOM: Device Interfaces → RIL
Product: Core → Firefox OS
Version: Trunk → unspecified
Updated•11 years ago
|
blocking-b2g: --- → -
Comment 6•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•