Re: [Evolution-hackers] e_source_new segfaults
- From: Rodrigo Moya <rodrigo ximian com>
- To: Damien Sandras <dsandras seconix com>
- Cc: evolution-hackers lists ximian com
- Subject: Re: [Evolution-hackers] e_source_new segfaults
- Date: Wed, 14 Apr 2004 01:34:35 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]