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
Assertion failed after run first time Windows 10 #215
Comments
Hi @nanomo thanks very much for testing, and for the bug report :) I spun up a Win 10 VM and tested the current preview (based on b50c70e) in the scenario described - can confirm the bug. Repeat tests can be performed by deleting What's really interesting is I spun up a Win 7 VM and tested the current preview, and confirm the bug is there as well. I'm not sure how I haven't seen this before since it's so easily reproducible (though my Windows testing of 0.0.9.99 has been quite limited). The issue seems to be with writing the config, 0 of 5 tests triggered the assert failure when not opting to amend the configuration, and 0 of 5 tests triggered the assert once the config file had been updated. Our latest build (based on 01d49a6) also suffers from the same issue. It seems to be the calling of We could look at the order of events here, or even perhaps |
Thanks for the report @nanomo, this is very helpful! I've seen this error a few times before, but I'm not 100 % sure when. I think when I forced a shutdown. So far I was unable to reproduce this issue with b50c70e on Win 10, but if it's some kind of shutdown order issue, I'm not surprised. @zathras-crypto: you mentioned StartShutdown(): this part was recently removed and updated via f86a1be ("Show information icon, not error icon, when asking for txindex flag"). Since InitError() creates a message box and just returns, we should be able to replace the StartShutdown() with |
That's interesting... I was able to reproduce quite regularly on Win 7 & Win 10 by deleting
Ahh thank you for that commit hash :) OK so I created two sets of windows binaries: One set based on the commit you mentioned and one set based on the preceding commit (which fixes another crash on exit after changing txindex hehe). I tested them out on a Win VM and can confirm that there were no crashes in the f146bfc build and there were crashes in the f86a1be build (when we started using I merged in the fix here 8eb3afa and ran another set of binaries based on this new tip, tested them out and can no longer reproduce the issue so should be solved. |
Thanks for testing this @zathras-crypto!
This could be caused by different system specs, and especially the initialization and shutdown order of variables is not necessarily deterministic. You mentioned:
|
This issue was resolved via #221. |
Step to reproduce:
tried a second time to start and the error its gone.
The text was updated successfully, but these errors were encountered: