Logging on Sony websites such as the PlayStation store causes firefox to freeze and consume RAM indefinitely
Categories
(Toolkit :: Password Manager: Site Compatibility, defect)
Tracking
()
People
(Reporter: yannis, Assigned: issammani)
References
()
Details
(Whiteboard: [fxcm-bugs-2023])
Multiple users are reporting issues with login in Sony websites such as the PlayStation store here (Windows 10/11, Linux) and here (OSX). [:claas] is able to reproduce on macOS and was able to share this forced crash and this profile. The profile suggests that the parent process could be going through sendLoginDataToChild from LoginManagerParent.sys.mjs over and over, which is why I'm filing this bug in this component.
[:class], could you share password manager debug logs?
Same here. It started with FF 119.0. I am on Win 10 64, RAM usage keeps increasing indefinitely when I try to login to my Sony account (for example https://www.playstation.com/en-us/support/account) and FF almost completely freezes and I have to end it through task manager.
Comment 2•3 years ago
|
||
[:yannis], here are the password manager debug logs:
LoginManager: Searching for matching logins for origin: https://my.account.sony.com
Login storage: Searching for matching logins for origin https://my.account.sony.com.
Login storage: Returning 1 logins for specified origin with options [object Object]
LoginManagerParent: Deduped 1 logins.
LoginManager: Searching for matching logins for origin: https://my.account.sony.com
Login storage: Searching for matching logins for origin https://my.account.sony.com.
Login storage: Returning 1 logins for specified origin with options [object Object]
LoginManagerParent: Deduped 1 logins.
(these four log messages get repeated indefinitely)
I was able to reproduce the issue with previous FF versions (118, 117) and even with FF 97, which indicates that this bug was caused by a change on the Sony website, coinciding with the release of FF 119.
[:issammani] noticed that two events DOMFormHasPassword and DOMFormHasPossibleUsername are constantly dispatched, and [:serg] guesses that the website is adding something in loop and the FF password manager is reacting to it.
| Assignee | ||
Comment 4•3 years ago
|
||
So I did a bit more digging and appendChild is called extensively with the same elements. The website is using React and my suspicion is a state update triggers a component to re-render, and during that re-render, the same state is updated again without any condition to stop the update ( this quite common in React land ).
Nothing we can really do about the constant updates, but I am looking into a possible solution that will at least limit the events dispatched to the login manager.
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
FWIW,
When the primary password prompt appears, it does not seem to freeze at that time.
| Reporter | ||
Updated•3 years ago
|
(In reply to ahmad from comment #1)
Same here. It started with FF 119.0. I am on Win 10 64, RAM usage keeps increasing indefinitely when I try to login to my Sony account (for example https://www.playstation.com/en-us/support/account) and FF almost completely freezes and I have to end it through task manager.
It didn't start with 119.0, I know this because I hadn't updated yet and was still on 118.0 with the same issue. It started whenever Sony updated their login system, it looks completely different than it used to. So something on the site changed.
Comment 8•3 years ago
|
||
I also reported this issue here : https://webcompat.com/issues/129603
I was able to reproduce it although it seems like the duplicaute issue linked there is closed as 'Works For Me'. I have only encountered this Sony log-in issue on Firefox itself and not on other browsers like Opera.
Comment 9•3 years ago
|
||
(In reply to incompletestoic from comment #8)
I also reported this issue here : https://webcompat.com/issues/129603
I was able to reproduce it although it seems like the duplicate issue linked there is closed as 'Works For Me'. I have only encountered this Sony log-in issue on Firefox itself and not on other browsers like Opera.
Comment 10•3 years ago
|
||
Woops sorry about the duplicate comment : I meant to say that I was able to log in without it hanging if I disabled the Firefox password manager and entered my log-in details manually.
Comment 11•2 years ago
|
||
The severity field is not set for this bug.
:serg, could you have a look please?
For more information, please visit BugBot documentation.
Comment 12•2 years ago
|
||
ever since this i been able unable to login to https://www.playstation.com/en-us/support/account
works find in Edge and Chrome, which are browsers i refuse too use, any chance this get fixed by mozilla or does Sony have to fixed there site?
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Comment 13•2 years ago
•
|
||
(In reply to sj.vegetto from comment #12)
ever since this i been able unable to login to https://www.playstation.com/en-us/support/account
works find in Edge and Chrome, which are browsers i refuse too use, any chance this get fixed by mozilla or does Sony have to fixed there site?
We hope that the patch in bug 1864379 will fix this issue (no guarantee yet though), in which case this may be fixed with Firefox 121 (December 19), or sooner if there is a Firefox 120.0.2 (no guarantee either). Meanwhile we are also investigating if this could be fixed by a webcompat intervention, which would allow us to ship a temporary fix quicker while we work on the proper Firefox patch. (This may also be fixed by Sony on their side at some point.)
Comment 14•2 years ago
|
||
I found a better workaround on Reddit:
you can use this page with a different type login menu that works. https://www.rewards.sony.com/UID-Start
After i log in there i go to the sony page that locks up and just refresh the page and i am logged in.
So log in to that rewards page (you can skip accepting the terms for the program), return to the page you originally wanted to log in for and click the sign in button on the top right. It will reuse the session you just created and log you in without going through the new login interface.
| Assignee | ||
Comment 15•2 years ago
|
||
Bug 1864379 has just been resolved and this issue is now fixed. The freezing behavior is no longer reproducible. I am closing this bug as fixed as well.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 16•2 years ago
|
||
The fix is in current Nightly builds and should be in 121.0b8 as well (building tomorrow) for those who want to test this on their own.
Updated•2 years ago
|
Description
•