Closed
Bug 1108777
Opened 10 years ago
Closed 9 years ago
There's some kind of racey corruption in test_bug600307-DBOps.html
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1165214
People
(Reporter: mccr8, Assigned: mayhemer)
References
Details
As you can see from the very long list of blocking bugs, there's something seriously wrong with test_bug600307-DBOps.html. Each of these failures hasn't happened more than a few times, generally speaking, but they are all happening in this one tests, and in such scattered areas of the code there must be some kind of race condition in local storage that is messing up memory, or something.
Reporter | ||
Comment 1•10 years ago
|
||
I bet there are even more of these failures that don't get filed, because they only happen once.
Comment 2•10 years ago
|
||
Am I misreading this test, or is the indentation hiding how nested all the tests are within each other?
Comment 3•10 years ago
|
||
In every single log I've looked at, the crashes appear to happen after the same line:
3788 INFO TEST-PASS | /tests/dom/tests/mochitest/localstorage/test_bug600307-DBOps.html | Item deleted in case 1
Linux32 debug mochitest-e10s is far and away the most common suite to hit these crashes, but there are some x64 and opt/asan crashes mixed in for good measure.
I'm working on a Try stress test right now to see if we can reliably crash it.
This is a great candidate for rr.
Comment 5•10 years ago
|
||
Tried to reproduce it here: http://people.mozilla.org/~mwargers/mochitestjs2/testbug600307_parentframe.html
Comment 6•10 years ago
|
||
You need to have the specialpowers extension installed to be able to test it: http://people.mozilla.org/~mwargers/extensions/specialpowers/specialpowers.htm
Assignee | ||
Comment 7•10 years ago
|
||
Thanks for this umbrella bug. Will take a look.
Assignee: nobody → honzab.moz
Comment 8•10 years ago
|
||
I'm probably going to disable this test on Linux soon. Hitting these crashes way too frequently.
Reporter | ||
Comment 9•10 years ago
|
||
Ryan, did you disable this? Say on Dec 17th? Because the failures seem to have mostly stopped then.
Flags: needinfo?(ryanvm)
Comment 10•10 years ago
|
||
Interestingly, no. Bug 1108565 does show one failure since then, but you're right that something definitely dropped the failure rate dramatically.
Flags: needinfo?(ryanvm)
Reporter | ||
Comment 11•10 years ago
|
||
Around when it went away, Terrence landed bug 1110931, which would eliminate one source of races. But one crash did happen on revision 41a8532f3fc3, which is after that landed. Ben also landed bug 701634 in there, maybe that could have had an effect?
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?startdate=12%2F16%2F14&enddate=12%2F17%2F14
Assignee | ||
Comment 12•10 years ago
|
||
localStorage has nothing to do with IndexDB, maybe except the backend (sqlite). Bad I didn't get to this sooner.. will be harder to catch now. Still, I can return to an older revision and try to find out.
Assignee | ||
Comment 13•10 years ago
|
||
Ryan, what is the status here? Is the test disabled? Are the crashes still occurring in such high and random rate?
Flags: needinfo?(ryanvm)
Assignee | ||
Comment 14•10 years ago
|
||
The most recent report I can see is https://bugzilla.mozilla.org/show_bug.cgi?id=1108565#c17 and it's from Jan 5 2015. More than a month old.
Comment 15•10 years ago
|
||
No, this was never disabled. The crashes all seem to have disappeared over the last couple months. Would be cool to know why, but who knows.
Flags: needinfo?(ryanvm)
Assignee | ||
Comment 16•9 years ago
|
||
During work on bug 1165214 I found out we were touching a certain dom storage specific hashtable on multiple threads. The original cause of this bug could be that. I'll duplicate it to that bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•