unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Patrick Bernaud <patrickb@chez.com>
Cc: guile-user <guile-user@gnu.org>, David Pirotte <david@altosw.be>
Subject: Re: guile-gnome2 - Segmentation fault
Date: Thu, 08 Jul 2010 20:57:11 +0100	[thread overview]
Message-ID: <m31vbdrbl4.fsf@unquote.localdomain> (raw)
In-Reply-To: <19507.19925.986008.455824@vagabond.local> (Patrick Bernaud's message of "Tue, 6 Jul 2010 17:37:57 +0200")

On Tue 06 Jul 2010 16:37, Patrick Bernaud <patrickb@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/



      parent reply	other threads:[~2010-07-08 19:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 21:33 guile-gnome2 - Segmentation fault David Pirotte
2010-07-01 10:58 ` Andy Wingo
2010-07-02 16:32   ` David Pirotte
2010-07-03 17:25     ` Andy Wingo
2010-07-03 19:24       ` David Pirotte
2010-07-05  0:54       ` David Pirotte
2010-07-06  6:15   ` David Pirotte
2010-07-06 15:37     ` Patrick Bernaud
2010-07-07  2:53       ` David Pirotte
2010-07-08 19:57       ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31vbdrbl4.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=david@altosw.be \
    --cc=guile-user@gnu.org \
    --cc=patrickb@chez.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).