Gustavo Valdes wrote:
> 
> Hi:
>    I've made a gnome application with glade and the autogen.sh as well as
> the make run fine, but when I execute the application at any given time an
> error appears in the console and stops the application, what appears  in the
> console is:
> 
>    Gtk-WARNING **: invalid cast from (NULL) pointer to 'GtkLabel'
> 
>    Gtk-CRITICAL **: file gtklabel.c: line 261 (gtk_label_set_text):
> assertion 'GTK_IS_LABEL(label)' failed.

If you run your application with --g-fatal-warnings it will abort() when the
warning is output and you can use gdb on the core file to see exactly where
the problem occurred. e.g. after it crashes run

  gdb <application-name> core

Then when gdb has initialized enter:

  bt

to get a stack trace.


Damon



_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to