From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: guile-gnome2 - Segmentation fault Date: Thu, 08 Jul 2010 20:57:11 +0100 Message-ID: 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=us-ascii X-Trace: dough.gmane.org 1278682565 11245 80.91.229.12 (9 Jul 2010 13:36:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2010 13:36:05 +0000 (UTC) Cc: guile-user , David Pirotte To: Patrick Bernaud Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jul 09 15:36:04 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 1OXDkJ-0007nQ-Ee for guile-user@m.gmane.org; Fri, 09 Jul 2010 15:36:03 +0200 Original-Received: from localhost ([127.0.0.1]:42093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXDkI-0000fn-FI for guile-user@m.gmane.org; Fri, 09 Jul 2010 09:36:02 -0400 Original-Received: from [140.186.70.92] (port=36311 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXDjj-0000fJ-PI for guile-user@gnu.org; Fri, 09 Jul 2010 09:35:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXDji-0007rx-AX for guile-user@gnu.org; Fri, 09 Jul 2010 09:35:27 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:42830 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXDji-0007mV-8k for guile-user@gnu.org; Fri, 09 Jul 2010 09:35:26 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 5F2C0C24E9; Fri, 9 Jul 2010 09:34:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=1d0Ex8uzoasfRMET/8xoor5og9k=; b=FA5IPo fBTL6LoOfMmE/wXOwu0HwNSDXYZhqERF8gpqaYqpkQuj1FQmY/HtOUdATAoV3TEt ttZX6i+WTgAvNuArsMbtPUKhx4P26LDlYmQ8Zw8BNj5xOkHRnPAPIMwgOLkpK9Jx qz4G4ziP04OxyfvpiGc/tPHAgcC40h+dZvUYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=wVSmGd8UgLw+DB//wcA99p1xfABPRjRQ p59C5w9KVcLJ0PoAYyoAhE2smyuHtn9n6/Fdk1ZavN/j8e+02OtGNJlcVDC1ag3L S3V+uoF5yBZpNMeBOBjma6mrMMwhGgR2Kb5ckYs/hMYo6Jm1B4/gdMB7STx/weA9 +LvECWgE1tM= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 25BC8C24E8; Fri, 9 Jul 2010 09:34:52 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [81.39.161.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 1DFC9C24E3; Fri, 9 Jul 2010 09:34:48 -0400 (EDT) In-Reply-To: <19507.19925.986008.455824@vagabond.local> (Patrick Bernaud's message of "Tue, 6 Jul 2010 17:37:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: C0BE0C5E-8B5E-11DF-84C2-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:7976 Archived-At: On Tue 06 Jul 2010 16:37, Patrick Bernaud 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/