GNOME Bugzilla – Bug 654043
Snippet plugin causes gedit to crash on exit
Last modified: 2019-03-23 20:32:40 UTC
If the snippet plugin is enabled gedit crashes every time when it exits. I'm using gedit 3.0.6 on Fedora 15.
+ Trace 227673
As you can see in the bt this is not a problem in gedit but a problem in pygobject.
Created attachment 193827 [details] [review] Fix issue by disconnect from bus first As a matter of fact this issue is caused gedit. In do_deactivate you only call bus.unregister but not bus.disconnect. Therefore, the bus still thinks the plugin is listening and tries to free it, but it's already gone. The attached patch fixes this issue.
Review of attachment 193827 [details] [review]: It looks good.