From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: guile-gnome2 - Segmentation fault Date: Tue, 6 Jul 2010 23:53:22 -0300 Organization: Alto Air Services [http://www.altosw.be/aas/] Message-ID: <20100706235322.4cc3e835@rascar> References: <20100629183348.02da603c@rascar> <20100706031543.3ff5a433@rascar> <19507.19925.986008.455824@vagabond.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278471239 10966 80.91.229.12 (7 Jul 2010 02:53:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2010 02:53:59 +0000 (UTC) Cc: guile-user To: Patrick Bernaud Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jul 07 04:53:57 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWKlo-0004Vx-77 for guile-user@m.gmane.org; Wed, 07 Jul 2010 04:53:56 +0200 Original-Received: from localhost ([127.0.0.1]:46986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWKln-0003pg-Ca for guile-user@m.gmane.org; Tue, 06 Jul 2010 22:53:55 -0400 Original-Received: from [140.186.70.92] (port=59800 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWKlQ-0003oU-2J for guile-user@gnu.org; Tue, 06 Jul 2010 22:53:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWKlO-0004c4-Rm for guile-user@gnu.org; Tue, 06 Jul 2010 22:53:31 -0400 Original-Received: from maximusconfessor.all2all.org ([62.58.108.13]:35068) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWKlO-0004bp-LT for guile-user@gnu.org; Tue, 06 Jul 2010 22:53:30 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id DF36DA04C155; Wed, 7 Jul 2010 04:53:28 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id WZidy6wCnjn9; Wed, 7 Jul 2010 04:42:25 +0200 (CEST) Original-Received: from rascar (unknown [189.60.69.82]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 66EA9A04C141; Wed, 7 Jul 2010 04:53:25 +0200 (CEST) In-Reply-To: <19507.19925.986008.455824@vagabond.local> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7969 Archived-At: Hi Patrick, [This is good news Andy !!] Fantastic, thank you so much for bringing this info to my knowledge, it sol= ves a problem that i have had for quite a long time: I can't believe it yet! I wi= sh I'd know about that right from the beginning [it's always like that :-)] I think it should be added to the doc, with a special well visible note, so that it will be raised by google for future guile-gnome 'users': I googled= a lot the last few years [but then I am obviously not good @ it :-)] and nev= er found this link!! Many thanks again, Are you also developing with guile-gnome? Cheers, David ;; -- Le Tue, 6 Jul 2010 17:37:57 +0200, Patrick Bernaud a =C3=A9crit : > Hi David, > David Pirotte writes: > > [...] > > Does it crashes for you [any guile-gnome user willing to try?] too? > Yes it does for me too.=20 > In versions of gtk >=3D 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. > Regards, > Patrick