MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.84k stars 4.84k forks source link

[Bug]: Crashed extension in 11.10.0 RC testing- have not reproduced #22839

Open plasmacorral opened 7 months ago

plasmacorral commented 7 months ago

Describe the bug

I have a recording available, and some state logs pulled after the crash.

I had been running a few hardware related tests (signing and sending with Lattice) to be confident that everything remained the same since I tested PR 21553. I attempted to capture the events that preceded this crash and tried to reproduce multiple times, but observed no additional crash.

Expected behavior

No crash

Screenshots/Recordings

Recording: https://recordit.co/srhUclzGZI

State Logs: postCrash.json

Steps to reproduce

Please accept my apologies here, certainly all of these steps are not important. This is the play-by-play from the point I removed the Lattice addresses and added Keystone:

  1. 10:34 add hardware from account drop down
  2. Forget Lattice 10:38
  3. Add Keystone
  4. 10:46 allow camera
  5. Scan wallet pairing QR presented on v3 Keystone 10:56
  6. Select Keystone accounts 1 & 3
  7. 11:20 from full screen select view on Goerli/etherscan
  8. 11:23 back to MM and land at Keystone 3 active in pop-up view
  9. 11:25 change network to Sepolia
  10. 11:27 open 3 dots menu
  11. 11:28 View on Sepolia/etherscan to confirm latest nonce and no pending tx
  12. 11:38 back to extension by clicking pinned fox
  13. 11:42 into settings>advanced and enable custom nonce
  14. 11:43 Close settings with X
  15. Initiate a tx, but do NOT confirm @11:47
  16. Enter amount and tap next 11:48
  17. Verify expected nonce is presented
  18. 11:52 Use edit to go back
  19. Click x on destination address
  20. 11:56 Hover on network selection (note helper circle with bar through it)
  21. 11:57 click back to etherscan (note blue badge on pinned fox)
  22. 12:05 Relaunch extension and land back at confirm screen with same old destination
  23. Hit Edit again
  24. Change active account
  25. 12:11 Reject pending tx
  26. 12:13 open 3 dots
  27. View 0 bal account on explorer
  28. Try to open extension again- crash ~12:18

Error messages or log output

state logs attached above

Version

11.10.0

Build type

Other (please specify exactly where you obtained this build in "Additional Context" section)

Browser

Chrome

Operating system

MacOS

Hardware wallet

Keystone, GridPlus Lattice1

Additional context

local built yarn dist of 11.10.0 commit 9785d8ae1c7787b975684e80f76973605536efc3

Severity

No response

github-actions[bot] commented 4 months ago

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.

github-actions[bot] commented 1 month ago

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.