It seems to me that the problem is a gtk.gdk.thread_enter without a balancing gtk.gdk.thread_leave. See the following.
It seems to me that the problem is a gtk.gdk. thread_ enter without a balancing gtk.gdk. thread_ leave. See the following.