-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Segfault when issuing multiple window commands [GTK] #112
Comments
@PannenetsF do the settings get updated when this happens? |
Well, it remains the same as before. And after some attempts, I found there are about a 70% chance of that happening. |
Have replicated this on Ubuntu 20 test machine; seems like calling JS reload on the main window is prone to crashes. Unfortunately no logs or anything indicating why even in dev mode. Going to try to identify if it's just injecting reload into the main window or reloads in general. |
Update: my theory is that calling reload from the server crashes because the page reloads before the return value can be passed @ https://github.com/Oxygem/Kanmail/blob/master/kanmail/window.py#L67. Seems specifically to affect GTK but makes sense. |
Part of this bug has been fixed in the newest version! But there's something left: If you keep the original setting and save it, the bug is going on. But if any changes are made, it turns to ok! Thank you! |
Interesting! Sadly in my Ubuntu 20 VM it still happens whether changing or not. But I'm beginning to think this is an issue resetting the account instances on the server side, rather than anything related to GTK/reloading. Continuing investigation! |
More info - can be replicated consistently by opening the settings/license/contacts windows over and over, will segfault after a a few in a row. Running with Next up I need to get into the Good news is this confirms it's nothing to do with settings/account resetting :) |
Finally managed to replicate this using just Investigation continues into why. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Replaced by #140. |
Iust got the newest release.
When a imported my new account and "Save all settings" it crashed.
OS: Ubuntu 18.04.04
WM: i3
Here is the last lines output.
The text was updated successfully, but these errors were encountered: