Re: g_malloc() segfault in glib 2.12?



On Sun, Dec 06, 2009 at 12:02:09PM +0530, Siddu wrote:
> 2009/12/5 David Nečas <yeti physics muni cz>
> > On Sat, Dec 05, 2009 at 11:53:53AM +0100, Aleksander Morgado wrote:
> > > Actually... I believe I call g_type_init() first, and then
> > > g_thread_init(NULL). Is that a problem?
> >
> > Yes.  A big one.
> >
> Can somebdoy explain whats the reason behind it ?

This thread should make an interesting reading:

http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00110.html

Yeti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]