Re: [Evolution-hackers] e_source_new segfaults



Hi Rodrigo,

That was indeed the case in the test program ;-)



Le mer, 14/04/2004 à 01:34 +0200, Rodrigo Moya a écrit :
> On Tue, 2004-04-13 at 23:45 +0200, Damien Sandras wrote:
> > Hi again,
> > 
> > Another problem, doing e_source_new ("try1", "Try3"); segfaults with :
> > 
> > ---
> > (process:14814): GLib-GObject-CRITICAL **: gtype.c:2253: initialization
> > assertion failed, use g_type_init() prior to this function
> >  
> > (process:14814): GLib-GObject-CRITICAL **: file gobject.c: line 819
> > (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
> >  
> > Program received signal SIGSEGV, Segmentation fault.
> > ---
> > 
> > Actually, source = g_object_new (e_source_get_type (), NULL);
> > fails in e-source.c leading source->priv->uid = e_uid_new () to
> > segfault.
> > 
> > I don't understand as evolution behaves correctly, but my test programs
> > has this bug. Is there some workaround?
> > 
> seems you are not running gtk_init/g_type_init on your program?
> 
> cheers
> 
> _______________________________________________
> evolution-hackers maillist  -  evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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