Re: Re: Glib-GObject-Warning invalid cast null to unknown error




On Mon, 24 Feb 2003 Padraig O'Briain wrote :
If you run your program in a debugger and put a break point in g_log you will
see where the messages are coming from.

Padraig


> hi
>
> i am trying to create a static executable using gtkmm-2.0.2,
> gtk-2.0.6, glib-2.0.9, libsigc++-1.2
>
> the static build gave no errors...but when i run the program on my
> machine.. locally...it gives me these error
>
> (process 6231): GLIB-Object-Warning ** invalid cast from `(null)`
> to `<unknown>`
>
> (process 6231): GLIB-Object-Warning ** file gobject.c line 1325 > (g_object_set_qdata); assertion `G_IS_OBJECT` (object) failed
>
> (process 6231): GLIB-Object-Warning ** invalid cast from `(null)`
> to `<unknown>`
>
> (process 6231): GLIB-Object-Warning ** file gobject.c line 1358
> (g_object_set_qdata_full); assertion `G_IS_OBJECT` (object)
> failed
>
> (process 6231): GLIB-Object-Warning ** invalid cast from `(null)`
> to `<unknown>`
>
> (process 6231): GLIB-Object-Warning ** file gobject.c line 1347 > (g_object_steal_qdata); assertion `G_IS_OBJECT` (object) failed
>
> it looks like i am passing null pointer..? how do i know
> where..?
> can anybody what exactly this means..?
> what should i do to solve this
>

hi
thanks for answering my question

can u explain to me what might be the possible reasons for such an error since this is coming from the main..where i create the object of my helloworld class

Gtk::Main::run(helloworld);




Regards
Vishal Modak
Dept. of Computer and Information Science
Univ. Of South Alabama
Mobile, AL



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