New localStorage causes hangs when run with accessibility enabled
Categories
(Core :: Storage: localStorage & sessionStorage, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | verified |
People
(Reporter: astrojny, Assigned: janv)
References
Details
Attachments
(1 file)
207.43 KB,
image/png
|
Details |
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Assignee | ||
Comment 14•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Assignee | ||
Comment 16•6 years ago
|
||
Comment 18•6 years ago
|
||
Assignee | ||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Comment 24•6 years ago
|
||
Updated•6 years ago
|
Comment 25•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 27•6 years ago
|
||
Per Overholt's request, I tested a try build with latest patches and LSNG enabled. I briefly tested visiting various sites in multiple tabs and wasn't able to reproduce this, so I think this is resolved; the deadlock showed up pretty quickly last time. Thanks!
Comment 28•6 years ago
|
||
I again see frequent hangs since the new local storage got reenabled for Nightly. Primarily on mobile.twitter.com when switching to it and the tab reloads (e. g. after an update), or it refreshes tweets in the background. Since I have multiple instances in multiple containers open, this can happen quite frequently. I can manage to shut the Firefox app down via the taskbar's jump list menu (on Windows), but it is still not a pleasant experience having to do this several times a day. And yes, Jamie, this is different from the total freeze we sometimes experience in the UIA process that goes havoc. This is only a hang in Firefox, the rest of the system stays responsive.
Assignee | ||
Comment 29•6 years ago
|
||
Marco, I'm sorry to hear that, can you just disable new localStorage implementation (LSNG) by setting the pref dom.storage.next_gen to false ?
It seems we have a fix for this hang, QA confirmed it fixes the problem, but we don't have reviews for it yet.
Just in case you are interested, here's an experimental patch that I'm working:
https://hg.mozilla.org/try/rev/604ae23f04f048db7ce8ee03a5cbb3ffcb675bc7
Comment 30•6 years ago
|
||
Jan, thanks for the info! I am currently observing a pattern which might be of interest. I just had a hang while the container tab for Facebook was reloading after an update of Nightly and I switched to it first time during that session. That one even was so bad that the jump list didn't close Firefox, and I had to reboot the machine to actually get it to close. After that, the FB tab and so far all other tabs loaded normally, even with next gen enabled. I don't know if this is related to the transition from old file storage generation to new, perhaps, or not, but thought I'd mention it just in case this is relevant and helps track down the problem further. But your patch certainly looks plausible, too, e. g. some kind of threading race condition... Do you have the bug number for that patch?
Assignee | ||
Comment 31•6 years ago
|
||
Marco, the scenario which you described makes sense. It may happen that first localStorage access after enabling next gen takes more time (by synchronously blocking main thread in a content process) which can maximize the probability of the deadlock.
I just filed bug 1534208 for this.
Comment 32•6 years ago
|
||
Hey Marco, I am no longer getting hangs/crashes on the latest Nightly using NVDA. Bug 1534208 seems to fix that in my case at least. Note that I am using the Beta NVDA version screen reader as the latest one has an already know issue with hangs/crashes (Bug 1532610).
Could you test a bit your scenario when you have the time for it? Please let me know how things turned out. Don't forget to re-enable LSNG if you already disabled it and have the latest Nightly 67.0a1 (2019-03-12) (64-bit) (Build ID: 20190312095443) installed. Thanks!
Comment 33•6 years ago
|
||
Good news, I can also no longer reproduce the hangs or crashes on the two Windows machines I was seeing the hangs in previous builds. Everything runs very smoothly also when reloading tabs or restarting Nightly and loading the tabs again bit by bit.
Assignee | ||
Updated•6 years ago
|
Comment 34•6 years ago
|
||
Based on Comment 32 and Comment 33 will close this as Verified - Fixed. If anyone can still reproduce this issue on the latest Nightly and LSNG enabled please re-open the issue with detailed information.
Description
•