On Sat, Dec 05, 2009 at 11:53:53AM +0100, Aleksander Morgado wrote: > > > I am experiencing a segfault in calling g_malloc() inside a > > > > > multi-threaded application, using glib2-2.12.3-2.fc6 (default one in > > > > RHEL5.2). The glib slice allocator is being used. > > > > > > Have you called g_thread_init()? > > > > Or, rather: > > > > Do you call g_thread_init() as the absolutely very first G-something > > function (with the only possible exception of g_mem_set_vtable())? > > > > > Actually... I believe I call g_type_init() first, and then > g_thread_init(NULL). Is that a problem? Yes. A big one. Yeti _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list