Closed Bug 619568 Opened 14 years ago Closed 14 years ago

Intermittent test_index_object_cursors.html | indexedDB error, code 4

Categories

(Core :: Storage: IndexedDB, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: philor, Assigned: bent.mozilla)

References

Details

(Keywords: intermittent-failure, Whiteboard: [softblocker])

Attachments

(1 file)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1292458053.1292460270.9056.gz
Rev3 Fedora 12x64 mozilla-central debug test mochitests-2/5 on 2010/12/15 16:07:33
s: talos-r3-fed64-009

1389 INFO TEST-PASS | /tests/dom/indexedDB/test/test_index_object_cursors.html | Got index name
WARNING: 1 sort operation has occurred for the SQL statement '0x7f151032e308'.  See https://developer.mozilla.org/En/Storage/Warnings details.: file /builds/slave/cen-lnx64-dbg/build/storage/src/mozStoragePrivateHelpers.cpp, line 138
1390 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | indexedDB error (3): A mutation operation in the transaction failed due to a because a constraint was not satisfied. For example, an object such as an object store or index already exists and a new one was being attempted to be created.
1391 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - [object IDBErrorEvent @ 0x36c6240 (native @ 0x6d87570)] at undefined:undefined
1392 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | indexedDB error (3): A mutation operation in the transaction failed due to a because a constraint was not satisfied. For example, an object such as an object store or index already exists and a new one was being attempted to be created.
1393 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - [object IDBErrorEvent @ 0x5e18db0 (native @ 0x69aee10)] at undefined:undefined
1394 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | indexedDB error (7): A request was aborted, for example through a call to IDBTransaction.abort.
1395 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/indexedDB/test/test_index_object_cursors.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - [object IDBErrorEvent @ 0x2b658e0 (native @ 0x35b3860)] at undefined:undefined
1396 INFO TEST-END | /tests/dom/indexedDB/test/test_index_object_cursors.html | finished in 4791ms

Also? "failed due to a because a"?
Summary: Intermittent test_index_object_cursors.html | indexedDB error (3): A mutation operation in the transaction failed due to a because a constraint was not satisfied followed by a cascade of fail → Intermittent test_index_object_cursors.html | indexedDB error (3): A mutation operation in the transaction failed because a constraint was not satisfied followed by a cascade of fail
Summary: Intermittent test_index_object_cursors.html | indexedDB error (3): A mutation operation in the transaction failed because a constraint was not satisfied followed by a cascade of fail → Intermittent test_index_object_cursors.html | indexedDB error, code 4
This seems like something to diagnose and fix. Right?

/be
(In reply to comment #38)
> This seems like something to diagnose and fix. Right?
I believe bent was looking at this.
We'll get to it eventually, yeah. It happens much less frequently than some of the other indexedDB oranges, though.
QA Contact: general → bent.mozilla
Assignee: nobody → bent.mozilla
QA Contact: bent.mozilla → general
Attached patch Patch, v1Splinter Review
This is pretty nasty. Basically SQLite was detecting a deadlock. Patch prevents it.
Attachment #503554 - Flags: review?(sdwilsh)
Comment on attachment 503554 [details] [diff] [review]
Patch, v1

r=sdwilsh
Attachment #503554 - Flags: review?(sdwilsh) → review+
Blocking due to being wrong in real life too!
blocking2.0: --- → final+
Whiteboard: [orange] → [orange][softblocker]
http://hg.mozilla.org/mozilla-central/rev/3045fcaf544a
Status: NEW → RESOLVED
blocking2.0: final+ → ---
Closed: 14 years ago
Resolution: --- → FIXED
Component: DOM → DOM: IndexedDB
Version: Trunk → unspecified
Whiteboard: [orange][softblocker] → [softblocker]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: