> > 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?
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to