Re: [Planner Dev] Windows version crashes



Richard Hult wrote:

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.

where this registration takes place?

Because all errors started to appear after I changed extension in loaders from .so to .dll.

It didn't report any errors before that change, so I strongly suppose that I did something wrong while compiling/linking those views...

--

Jani Tiainen




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