GNOME Bugzilla – Bug 610003
calls gdk_threads_enter/leave without gdk_threads_init
Last modified: 2010-03-10 12:25:53 UTC
The appearance capplet uses some gtk calls from threads, trying to protect them by gdk_threads_enter/leave. But it never calls gdk_threads_init, so those enter/leave calls don't do any good, and in fact, people are reporting crashes that look like they might be caused by this.
Created attachment 153841 [details] [review] patch
Grr, of course, adding that shows the locking to be deficient. Ie, it locks up in various places now.
Created attachment 153847 [details] [review] a working patch This patch appears to be working better.
Comment on attachment 153847 [details] [review] a working patch Apart from the legendary tabs vs. spaces issues, please commit.
Created attachment 155734 [details] [review] Calls gdk_threads_enter/leave without gdk_threads_init Fix GTK+ multi-threading.
Attachment 155734 [details] pushed as e34e6b4 - Calls gdk_threads_enter/leave without gdk_threads_init