[PATCH] Do not run Gtk.main() from a separate thread in exception handling

Vratislav Podzimek vpodzime at redhat.com
Fri Aug 3 12:26:30 UTC 2012


On Thu, 2012-08-02 at 13:32 -0700, Brian C. Lane wrote:
> On Thu, Aug 02, 2012 at 08:05:54PM +0200, Vratislav Podzimek wrote:
> > Multiple threads drawing in a Gtk.main loop cause Gtk crash. To prevent such
> > crashes, we need to run exception handling dialogs in the same thread as the
> > main loop (if running).
> > ---
> 
> Ack.
This patch resolves the problem when exception from another thread is
handled when anaconda's main loop is running. But it still crashes if
the exception appears and is handled before anaconda's main loop
running. In such case, running Gtk.main() in
GraphicalUserInterface.run() causes the same crash. Please see another
patch, I'm sending right now.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list