Re: Core Dump with checkbox

Follow-up:  Reminder to self - check code more thoroughly.  I had 
accidentally hit - instead of = when assigning a label pointer to a 
new label, so that's where the error was coming from.

As for debugging code - yep - I'm learning - apparently the hard 
way :)

Thanks for the help, even though it was my (read: stupid) mistake.


On 29 Apr 2001, at 23:44, Havoc Pennington wrote:

> "Douglas G. Phillips" <csdgp parallelpanther eiu edu> writes: 
> > Gtk-CRITICAL **: file gtkbox.c: line 332 (gtk_box_pack_start): assertion
> > `child->parent == NULL' failed.
> This means a widget was added to a container (a GtkBox apparently)
> when it was already inside some other container.
> Run the app in gdb with --g-fatal-warnings:
> $ gdb ./myapp
> (gdb) run --g-fatal-warnings
> Then it will stop in gdb at the warning, and you can get a backtrace.
> > I haven't gotten deep enough into gnome programming to figure out what is
> > going on, but I know that I have the code correct as on the website.
> The tutorial is just giving you an example of how to debug GTK
> code. ;-)
> Havoc
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org

Douglas G. Phillips
User Services/ITS
Eastern Illinois University

ICQ: 114829785

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