-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Importing an Account from a JSON file causes MM to freeze and eventually crash #17274
Comments
Able to reproduce this on Mac M1 running Ventura 13.3.1 with production v10.30.4. On relaunch, imported account did appear. Screen.Recording.2023-05-24.at.4.28.19.PM.mov |
Possible fix is an UI/UX update to indicate the account is "loading" |
This is confirmed to also impact Firefox 117 on Mac Ventura 13.5.2 in versions 10.34, 10.35.1 and 11.0.0 #20837 |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions. |
@plasmacorral to validate if the issue persists |
Retested today with the same test.json file in Firefox 128.0.0 on Mac Sonoma 14.5 with version v11.16.5, issue persists. Firefox appears to not respond at all or ask for the password when I attempt to import. The account does not appear on the account list and no obvious console errors observed. |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
Describe the bug
Problem: when I am trying to import an account from a JSON file, MetaMask get's frozen and it eventually crashes.
Might be that the JSON file is not 100% correct, so we should handle these situations without causing MM to crash.
import-acct-from-json.mp4
Steps to reproduce
test.json
containing this:{"version":3,"id":"812dc267-b20e-4df4-bb7b-f0c9bb413976","address":"67d30ef950015ab1a03e30ed5d5f2a26de196c4d","crypto":{"ciphertext":"4523eecd6ec040dabe718554b3a8fbd3075452963221d7bba1d406507b481bf5","cipherparams":{"iv":"657b767dfbb92ddce660e079d4408572"},"cipher":"aes-128-ctr","kdf":"scrypt","kdfparams":{"dklen":32,"salt":"1fb3047dac934d1da0293f3c71ac201b49a5f777294b95cb1502616130f54bcd","n":262144,"r":8,"p":1},"mac":"84fca73cc93bccaffdbee739314af5ad3c2f8492bc82b8366dac86541e02b71a"}}
123
Error messages or log output
No response
Version
10.24.0
Build type
None
Browser
Chrome
ADDED 09/13/2023: Firefox 117
Operating system
Linux
ADDED 09/13/2023: Mac w/Firefox
Hardware wallet
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: