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: seg fault with repeated function calls from C? Date: Tue, 16 Dec 2008 23:23:57 +0100 Message-ID: References: <1229408522.10718.11.camel@home-desktop> <1229447835.11638.3.camel@home-desktop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229466958 28275 80.91.229.12 (16 Dec 2008 22:35:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 22:35:58 +0000 (UTC) Cc: guile-user@gnu.org To: Anand Dixit Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Dec 16 23:37:02 2008 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.50) id 1LCiXD-0003dh-Nz for guile-user@m.gmane.org; Tue, 16 Dec 2008 23:36:59 +0100 Original-Received: from localhost ([127.0.0.1]:49464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCiW1-0002vi-Rt for guile-user@m.gmane.org; Tue, 16 Dec 2008 17:35:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCiVn-0002pY-3q for guile-user@gnu.org; Tue, 16 Dec 2008 17:35:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCiVk-0002o8-Uj for guile-user@gnu.org; Tue, 16 Dec 2008 17:35:30 -0500 Original-Received: from [199.232.76.173] (port=44618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCiVk-0002o1-IX for guile-user@gnu.org; Tue, 16 Dec 2008 17:35:28 -0500 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:37093 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCiVk-0001lj-4n for guile-user@gnu.org; Tue, 16 Dec 2008 17:35:28 -0500 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id F3F6287A79; Tue, 16 Dec 2008 17:35:27 -0500 (EST) Original-Received: from unquote (unknown [81.34.240.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 4E39E87A78; Tue, 16 Dec 2008 17:35:25 -0500 (EST) In-Reply-To: <1229447835.11638.3.camel@home-desktop> (Anand Dixit's message of "Tue, 16 Dec 2008 09:17:15 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Pobox-Relay-ID: D690072A-CBC1-11DD-AA8B-5720C92D7133-02397024!a-sasl-fastnet.pobox.com X-detected-operating-system: by monty-python.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:7005 Archived-At: On Tue 16 Dec 2008 18:17, Anand Dixit writes: >> I am calling a guile function from my C code. Its a fairly straight >> forward implementation. However, as I keep calling this function a >> number of times, it breaks at some point with a segmentation fault. Here >> is the relevant portion : Can we see a C-level backtrace? Things look OK to me on first glance. Andy -- http://wingolog.org/