-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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]: Infinity crashing, can't start it #29795
Comments
I can replicate the issue by just doing 20-30 transactions in a row with a lot of calldata. How to clear the transaction data from the Metamask local database without losing the wallets? |
@Laurentiu-Andronache Hi and thank you for reporting this. Can you please provide a bit more details regarding which type of transactions you were performing and what did the calldata look like that triggered this behavior? It would be a big help in the efforts of reproducing this. Currently, 20-30 regular transactions don't trigger this crash. |
Sure, it's 15-20 transactions like this one: https://basescan.org/tx/0x0a7bf0f34093701537c95cf973470ebd226063f0dd846b33a14d047a9451546e It would be cool if it can't load all the transactions, to just start with the ones currently loaded, or ask the user to reset them. Currently, it crashes. Is there a way to reset the transactions without reseting the wallet? I tried deleting the .ldb files but it just regenerates it and they're of very large size. |
Is there some way to still access the wallets? Or I need to wait for a Metamask fix? |
Is there some way to still access the wallets? I can share screen with a Metamask dev and maybe we achieve something? |
@gauthierpetetin @benjisclowder @dbrans to replicate this: Disperse an airdrop with a test token on Base! |
Hi @Laurentiu-Andronache , thanks a lot for the additional information. |
@gauthierpetetin they can't do it, but if you add me on @LaurWin on Discord, I can share screen there. |
They can't even open a GitHub link. I don't think Metamask support could be useful in any way. |
Sure I reached out to you on Discord (@gauthierpetetin) |
I accepted, you can call directly when you're around. |
In 12.12.0 the wallet still crashes in the same way. |
Reproduction steps are here: #30572 |
One approach to solve this is to reduce the amount of state transferred from the background to the UI: In metamask-controller.js, we could add a
This approach would likely require updating much of the UI to handle partial state. |
Some further information: A single transaction can easily take up over 6MB of memory. Simple state sent from the background to the UI is is about 25MB, after sending 3 large transactions it increased to over 73MB. The
|
Describe the bug
I click on it, it "loads" for 10 seconds, then it crashes. First it did it in one Chrome profile, and I stopped using it there. Then it did the same in another profile.
Expected behavior
Not this.
Screenshots/Recordings
Steps to reproduce
I can replicate the issue by just doing 20-30 transactions in a row with a lot of calldata. Afterwads, MetaMask doesn't open anymore.
How to clear the transaction data from the Metamask local database without losing the wallets?
Error messages or log output
Detection stage
In production (default)
Version
12.10.1
Build type
None
Browser
Chrome
Operating system
Windows
Hardware wallet
Ledger
Additional context
No response
Severity
10/10 terrible
The text was updated successfully, but these errors were encountered: