Closed Bug 1074908 Opened 10 years ago Closed 8 years ago

Probably bad assertion in AssertMetadataConsistency()

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1085575

People

(Reporter: janv, Unassigned)

References

Details

Attachments

(1 file)

I added a test for the newly added file handle pref. The test sometimes fails (crashes the app) on Android 4.0 Debug.

I simplified the test (to not use file handle at all) and sent to try:
https://tbpl.mozilla.org/?tree=Try&rev=b40d9deb47b5

Here's the assertion:
Assertion failure: aThisObjectStore->mComittedAutoIncrementId <= otherObjectStore->mComittedAutoIncrementId
Attached file failing test
The assertion is hit when the parent sends results for the second indexedDB.open()
Hrm, I think this is probably a race. Can you reproduce reliably?
Yeah, looks like a race, here are some other try pushes:
https://tbpl.mozilla.org/?tree=Try&rev=3253a052d640

This one is almost all orange:
https://tbpl.mozilla.org/?tree=Try&rev=b3f8d80724f3

Unfortunately I can't reproduce locally, only on Android, on try.

Note, that there are no other hidden patches pushed to try, just the simple one with the mochitest.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: