Re: libglademm core dumps with older glade files



On Thu, 2005-02-24 at 14:13 -0500, Carl Nygard wrote:
> On Thu, 2005-02-24 at 19:09 +0100, Murray Cumming wrote:
> > On Thu, 2005-02-24 at 13:03 -0500, Carl Nygard wrote:
> > > On Thu, 2005-02-24 at 11:06 +0100, Murray Cumming wrote:
> > > 
> > > Where do I use --g-fatal-warnings?
> > 
> > In gdb, use "run --g-fatal-warnings" instead of "run". It's a command-
> > line argument that all GTK+-based applications can take.

Here's a simple program to produce core files.

You can see what's going on via:

valgrind --tool=addrcheck -v test2 color --g-fatal-warnings

or just 'test2 color'

Running just 'test2' will work fine.  Glade file(s) included in the
tarball.

I'm probably doing something with the colors that is not kosher, but I
don't know what it might be.  I've seen recommendations in the examples
to do things in the on_realize(), but connecting to the signal yields
nothing.  Is it too late after glade loads to catch it?

Regards,
Carl

Attachment: bug.tar.gz
Description: application/compressed-tar



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