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



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
> 
> 
> 
> 
> 
> 
> Regards
> Vishal Modak
> Dept. of Computer and Information Science
> Univ. Of South Alabama
> Mobile, AL
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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