-
Notifications
You must be signed in to change notification settings - Fork 79
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
Application randomly crashes when adding / editing or deleting account in wallet screen #16645
Comments
@jrainville @alexjba any help here is very welcome , to find the place where this crash is actually happening |
This issue is very weird. The crash happens when parsing the chats of the curated community, specifically the Status community. It also doesn't crash on the same chat each time, so it doesn't seem related to any specific property. Sometimes it crashes when returning the ChatDto, sometimes when just manipulating the It feels very similar to the other crash we had with spectating a community after leaving, where it crashed when returning. #15848 I tried putting a I commented the whole chat parsing part and that worked. I was wondering if maybe it would crash in a later parsing section if the issue was just a delayed panic, but no, it seems to be ok. I'm a bit at a loss for solutions. If it failed on a missing condition, it would be easy, but it crashes in different spots each times. Can a property be garbage collected during the run time of a function? |
maybe @igor-sirotin can look at it ? or @osmaczko i also dont know how really possible to see this issue for real users but for tests its really a blocker it seems |
Indeed, it seems very edgecase, since in this particular scenario, you need to have a new account, create a new wallet account, all that before the Status community loads. Though we have historical proof that it happened before. Also, if it makes the tests flaky, it would be good to fix it |
For posterity, this is where the crash happens, though like I said, it happens in differences spots inside that code block: status-desktop/src/app_service/service/community/dto/community.nim Lines 486 to 489 in ca1182e
|
Bug Report
Description
It looks like application shuts down itself when tests are adding / editing / removing accounts. It happens randomly. When that happens, test fails and after that - it cant proceed with retry, as it feels like the appImage is irresponsive for some time. So Squish opens the app again, resizes the window (means it is attached to application) but then it cant click anywhere and fails.
Steps to reproduce
Seems i cant reproduce manually, but autotests can replicate it easily. Tests in PRs are failing with meaningless
Acknowledge checkbox was not checked
error which is the result of the problem: app is dead for first test attempt and then its cant continue for some time. After some attempts, tests can continue running furtherLog when this problem occurs:
data_attachments_88c7414071434e0a.txt
I would appreciate any help in debugging this issue as this breaks tests a lot.
Also, maybe we can add some extra logging / output for nim calls
I was also able to reproduce on mac and it looks app crashes indeed:
crash report.txt
Additional Information
The text was updated successfully, but these errors were encountered: