-
Notifications
You must be signed in to change notification settings - Fork 272
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
Project organizer crashes when closing project #549
Comments
Submitted pull request #550 for this. |
@techee FYI
Reverting 8111515 helps |
…he tree Since expand_on_idle() is called as an idle function, it can happen it's executed after project is closed in which case it should just return without accessing variables with invalid values. Should fix crash reported in geany#549.
I can't reproduce it myself but I think the reason is that the idle function gets called after project is closed. Can someone confirm that #555 helps? |
I think I experienced this bug very infrequently. P/O is one of the plugins I always have activated and once in a blue moon I got a crasher. Hopefully this is the problem because it didn't happen enough for me to troubleshoot it :) |
Hi! Thanks |
…he tree Since expand_on_idle() is called as an idle function, it can happen it's executed after project is closed. Before trying to expand paths it now first checks if the idle call corresponds to the project for which the idle call was created. Should fix crash reported in geany#549.
I think the crash depends on when idle functions are exactly called and could be specific to the used gtk/glib versions - I for instance have never seen it. I've uploaded an updated patch in #555 - @interoceto could you test it? |
Hi all! ** EDITED ** Please, read: my new comment at #555 Thank you! |
…he tree Since expand_on_idle() is called as an idle function, it can happen it's executed after project is closed. Before trying to expand paths it now first checks if the idle call corresponds to the project for which the idle call was created. Should fix crash reported in geany#549.
After updating to geany 1.30.1 + geany-plugins 1.30, geany allways crashes (segmentation fault) when closing project with project organizer plugin enabled.
Tested on windows 10 & ubuntu 16.04 x64
The text was updated successfully, but these errors were encountered: