Open evgenysl opened 5 months ago
Managed to reproduce it on my machine by quiting app during discovery with tor on
Info:
@trezor/qa this still happening?
QA NOK
still happening :(
Info:
I tried multiple times with solana activated and tor on but it never got to the Not Responding state. Can you please try replicating it again? @evgenysl @bosomt
Suite 24.10.1
Mouse pointer is actually MacOS loading spinner the whole time (not captured on video).
https://github.com/user-attachments/assets/fb744e05-f01f-48e1-bfe7-82c27add42ef
Suite 24.10.1
- Empty wallet - no issues
- Funded wallet - Suite takes longer time (about 50sec) to close and app is in Not Responding state
Mouse pointer is actually MacOS loading spinner the whole time (not captured on video).
Screen.Recording.2024-10-31.at.13.02.28.mov
Not sure what to do because I can't get this behavior on my M3
@enjojoy the problem is in this part of @solana/web3.js
and this line of Suite:
When Tor process is killed (in a pretty uninteresting manner I'd say) and Suite tries to unsubscribe Solana accs, the library function isCurrentConnectionStillActive()
incorrectly returns true so the unsubscription is repeated in a neverending loop.
Preferred solution would be to fix the library (e.g. implement this todo or get the connection status from underlying socket's readyState
). From our side, the only solution I see is not to unsubscribe the accounts on disconnect. :man_shrugging:
Describe the bug If Solana account is activated and Tor is on, I can't close Trezor Suite.
Happens both on 24.5.2.and 24.5.3. and only on Arm Mac Not reproducible on Linux and Windows yet.
Steps to reproduce:
Info:
Expected result: App closes
Screenshots:
Note(s): related to https://github.com/trezor/trezor-suite/issues/12626 ?