From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Help needed debugging segfault with Guile 1.8.7 Date: Thu, 11 Nov 2010 08:33:48 +0000 Message-ID: <87aalg9s43.fsf@ossau.uklinux.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1289464482 29414 80.91.229.12 (11 Nov 2010 08:34:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2010 08:34:42 +0000 (UTC) Cc: guile-user@gnu.org To: Peter TB Brett Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Nov 11 09:34:38 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 1PGSc7-00038Q-U7 for guile-user@m.gmane.org; Thu, 11 Nov 2010 09:34:36 +0100 Original-Received: from localhost ([127.0.0.1]:41958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGSc7-0001yO-7d for guile-user@m.gmane.org; Thu, 11 Nov 2010 03:34:35 -0500 Original-Received: from [140.186.70.92] (port=41566 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGSc3-0001yD-Rb for guile-user@gnu.org; Thu, 11 Nov 2010 03:34:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGSc2-0005Gj-GS for guile-user@gnu.org; Thu, 11 Nov 2010 03:34:31 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:39090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGSc2-0005DT-C4 for guile-user@gnu.org; Thu, 11 Nov 2010 03:34:30 -0500 Original-Received: from arudy (unknown [78.149.124.242]) by mail3.uklinux.net (Postfix) with ESMTP id DACAC1F6C99; Thu, 11 Nov 2010 08:33:52 +0000 (GMT) Original-Received: from neil-laptop (unknown [192.168.1.5]) by arudy (Postfix) with ESMTP id E09C638013; Thu, 11 Nov 2010 08:33:52 +0000 (GMT) In-Reply-To: (Peter TB Brett's message of "Wed, 10 Nov 2010 12:43:38 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:8210 Archived-At: Peter TB Brett writes: > I'd really appreciate any suggestions that anyone might be able to give > me on figuring out how I've managed to break things. At the moment, I'm > at a complete loss. I'm afraid I only have two general ideas. 1. You can use gdb_print and gdb_output to see the Scheme values of SCM variables. For example, to see the value of `l', in the top frame of your backtrace: (gdb) call gdb_print(l) (gdb) p gdb_output 2. You can try modifying your script in small ways to see if the problem disappears. If it does, that may give a clue about what the problem is. Regards, Neil