Re: Core Dump with checkbox
- From: "Douglas G. Phillips" <csdgp eiu edu>
- To: Havoc Pennington <hp redhat com>, gnome-devel-list gnome org
- Subject: Re: Core Dump with checkbox
- Date: Mon, 30 Apr 2001 13:00:50 -0500
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.
Doug
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
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
>
--
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]