Closed Bug 1093223 Opened 5 years ago Closed 5 years ago

"IndexedDB UnknownErr: ActorsParent.cpp:413" on indexedDB.open

Categories

(Core :: Storage: IndexedDB, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: myk, Assigned: janv)

References

Details

A web app using IndexedDB that was working for me on Friday's nightly build is suddenly failing this morning with an "UnknownError" on indexedDB.open that the Browser Console reports as "IndexedDB UnknownErr: ActorsParent.cpp:413".

I can reproduce it consistently by reloading the page and also by evaluating this line in the Web Console:

    var req = window.indexedDB.open("asyncStorage", 1); req.onerror = function() { console.log("error: " + req.error.name); }

But the problem doesn't occur in a new browser profile, so it seems specific to the existing database file.  I'm unsure how to diagnose further.  The file itself contains some confidential information, so I'm unable to upload it to BMO.
Hrm, can you try opening it in a debug build? stderr should show more specifically where things are going wrong.

I expect this is fallout from bug 1089764.
stderr reports:

[85205] WARNING: indexedDB directory shouldn't exist after the upgrade!: file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 2068
[85205] WARNING: '!exists', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 866
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 1893
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 2119
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 11221
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 11082
[85205] WARNING: Converting non-IndexedDB error code (0x8000FFFF) to NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR: file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 407
[85205] WARNING: indexedDB directory shouldn't exist after the upgrade!: file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 2068
[85205] WARNING: '!exists', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 866
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 1893
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/quota/QuotaManager.cpp, line 2119
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 11221
[85205] WARNING: 'NS_FAILED(rv)', file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 11082
[85205] WARNING: Converting non-IndexedDB error code (0x8000FFFF) to NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR: file /builds/slave/m-cen-osx64-d-0000000000000000/build/dom/indexedDB/ActorsParent.cpp, line 407
I'm seeing this as well, and my phone isn't booting.

W/GeckoConsole(  203): [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:413"]
W/GeckoConsole(  203): [JavaScript Error: "UnknownError"]
E/GeckoConsole(  203): Content JS ERROR: asyncStorage: can't open database: UnknownError 
E/GeckoConsole(  203):     at withStoreOnError (app://system.gaiamobile.org/shared/js/async_storage.js:57:0)

(repeats a few time)
(Although I guess that's bug 1093067.)
(In reply to David Baron [:dbaron] (UTC-8) (needinfo? for questions) from comment #4)
> (Although I guess that's bug 1093067.)

Yes, anyway we're going to back out the patch for bug 1089764.
Blocks: 1089764
https://hg.mozilla.org/mozilla-central/rev/9b03757d6c99
Assignee: nobody → Jan.Varga
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.