On Tue 06 Jul 2010 16:37, Patrick Bernaud <patri...@chez.com> writes:
> Hi David, > > David Pirotte writes: > > [...] > > Does it crashes for you [any guile-gnome user willing to try?] too? > > Yes it does for me too. > > In versions of gtk >= 2.11, tree iterators (GtkTreeIter) are allocated > through the GSlice memory allocator > (http://library.gnome.org/devel/glib/stable/glib-Memory-Slices.html) > while current guile-gnome is allocating them through the more general > memory-handling g_malloc() and friends. > > Freeing one item allocated with g_malloc() (what guile-gnome does) > with GSlice func (what GTK does) has the consequences you > experimented. > > GtkTextIter is also concerned by the problem and maybe other types > too. > > Until guile-gnome is updated, set the environment variable G_SLICE to > 'always-malloc' > (http://library.gnome.org/devel/glib/stable/glib-running.html#G_SLICE) > and it should be ok. Aaaaaah, I see now. Thank you for the analysis. Will fix soon. Andy -- http://wingolog.org/