Bug#555120: aptitude-gtk doesn't start (GThread-ERROR **: GThread system may only be initialized once. aborting...)

2009-12-12 Thread George Danchev
On Sat, Dec 05, 2009 at 10:46:16PM +0200, George Danchev danc...@spnet.net was heard to say: Hi, the following patch fixes that crash on amd64. --- src/gtk/gui.cc.orig 2009-12-05 22:43:21.0 +0200 +++ src/gtk/gui.cc 2009-12-05 22:43:40.0 +0200 @@ -1769,7 +1769,7 @@

Bug#555120: aptitude-gtk doesn't start (GThread-ERROR **: GThread system may only be initialized once. aborting...)

2009-12-11 Thread Daniel Burrows
On Sat, Dec 05, 2009 at 10:46:16PM +0200, George Danchev danc...@spnet.net was heard to say: Hi, the following patch fixes that crash on amd64. --- src/gtk/gui.cc.orig 2009-12-05 22:43:21.0 +0200 +++ src/gtk/gui.cc 2009-12-05 22:43:40.0 +0200 @@ -1769,7 +1769,7 @@

Bug#555120: aptitude-gtk doesn't start (GThread-ERROR **: GThread system may only be initialized once. aborting...)

2009-12-05 Thread George Danchev
Hi, This crash is reliably reproduced on amd64, but not on x86. It looks like the brokeness is in the main() function in src/gtk/gui.cc, in the call of Glib::thread_init(); That looks very odd: GThread system may only be initialized once. aborting... I'm not that into glib and glibmm, but I

Bug#555120: aptitude-gtk doesn't start (GThread-ERROR **: GThread system may only be initialized once. aborting...)

2009-12-05 Thread George Danchev
Hi, the following patch fixes that crash on amd64. --- src/gtk/gui.cc.orig 2009-12-05 22:43:21.0 +0200 +++ src/gtk/gui.cc 2009-12-05 22:43:40.0 +0200 @@ -1769,7 +1769,7 @@ if(!gtk_init_check(argc, argv)) return false; -Glib::init(); +//Glib::init();