Re: [Planner Dev] Windows version crashes



On tis, 2004-07-27 at 11:27 +0300, Jani tiainen wrote:
> Richard Hult wrote:
> 
> >>(planner:968): GLib-GObject-WARNING **: cannot register existing type 
> >>`PlannerGanttModel'
> >>
> >>(planner:968): GLib-GObject-CRITICAL **: file gtype.c: line 2319 
> >>(g_type_add_interface_static): assertion `G_TYPE_IS_INSTANTIATABLE 
> >>(instance_type)' failed
> >>
> >>(planner:968): GLib-GObject-CRITICAL **: file gobject.c: line 819 
> >>(g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed
> > 
> > 
> > This looks like some problem due to the same code being in two views
> > which are then dynamically loaded... (the task and gantt view). I'm not
> > sure why it tries to register the same type twice though.
> 
> Hmm... It might have something to do with way I compiled those modules. 
> Have to take closer look to linking procedure after work.
> 
> I'm a bit novice with Gnome so those errors weren't much of use and I 
> couldn't get anything sensible out from insight...

Only the first one is relevant (cannot register...), the other ones 
are just due to the first one.

The bug is that both views try to register types with the type system in
glib, I'm not sure how that happens.

/Richard

-- 
Imendio HB, http://www.imendio.com/




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