Re: guile-gnome crash; help?

steve tell <[email protected]>
Newsgroups gmane.lisp.guile.gtk
Message-ID <[email protected]>
On Sun, 23 Sep 2007, Andy Wingo wrote:

> Hi Steve,
>
> On Sun 23 Sep 2007 00:31, steve tell <[email protected]> writes:
>
>> Any hints on debugging a coredump that appears to be related to memory
>> corruption in a program using guile-gnome-platform?

> Perhaps the dump-or-not behavior is related to the new slice allocator
> in GLib; try running with G_SLICE=always-malloc G_DEBUG=gc-friendly for
> more normal behavior.


Those settings seem to cure things; thanks for the hint!

More specificly, G_SLICE=always-malloc is the setting that apparently 
makes the difference.

From reading the glib manual section on running and debugging with 
environment variables, it seems likely that somthing (gtk+ or 
guile-gnome-platform) is using g_slice incorrectly.

Next steps seem to be somehow trying newer glib and gtk+2.x,
or maybe just a glib new enough to support G_SLICE=debug-blocks.

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.