From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: a couple bugs related to error reporting and backtraces Date: Sat, 20 Jun 2009 12:47:02 +0200 Message-ID: References: <87ocspb693.fsf@mithrandir.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245495403 7641 80.91.229.12 (20 Jun 2009 10:56:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Jun 2009 10:56:43 +0000 (UTC) Cc: guile-devel@gnu.org To: "Jose A. Ortega Ruiz" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 20 12:56:39 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHyFS-0000Ap-7B for guile-devel@m.gmane.org; Sat, 20 Jun 2009 12:56:38 +0200 Original-Received: from localhost ([127.0.0.1]:53566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHyFQ-0006sn-86 for guile-devel@m.gmane.org; Sat, 20 Jun 2009 06:56:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHyCf-0005yI-DV for guile-devel@gnu.org; Sat, 20 Jun 2009 06:53:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHyCZ-0005wV-Jp for guile-devel@gnu.org; Sat, 20 Jun 2009 06:53:44 -0400 Original-Received: from [199.232.76.173] (port=56366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHyCZ-0005wF-7B for guile-devel@gnu.org; Sat, 20 Jun 2009 06:53:39 -0400 Original-Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:48116 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHyCV-00080P-OU; Sat, 20 Jun 2009 06:53:35 -0400 Original-Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id B2E5A21E9A; Sat, 20 Jun 2009 06:53:34 -0400 (EDT) Original-Received: from unquote (unknown [82.123.244.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 1D5F321E93; Sat, 20 Jun 2009 06:53:32 -0400 (EDT) In-Reply-To: <87ocspb693.fsf@mithrandir.homeunix.net> (Jose A. Ortega Ruiz's message of "Mon, 15 Jun 2009 22:18:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 99EF22DE-5D88-11DE-AA8B-B5D1A546830D-02397024!a-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8728 Archived-At: Heya Jao, Thanks for the detailed report. I've pushed fixes for both of these issues. On Mon 15 Jun 2009 22:18, "Jose A. Ortega Ruiz" writes: > ERROR: In procedure make_objcode_by_mmap: > ERROR: Success > scheme@(guile-user)> ,i (system base compile) > scheme@(guile-user)> (load-compiled (compile-file "/home/jao/tmp/a.scm")) > > Backtrace: > In unknown file: > ?: 0* [# #:1:0 ()>] > 2: 1* [#:1:0 ()>] > ?: 2* [load-compiled/vm "/home/jao/.guile-ccache/1.9//home/jao/tmp/a.scm.go"] > ?: 3* [ap] > > ERROR: In procedure module-lookup: > ERROR: unbound variable: not-bound Now, Backtrace: In unknown file: ?: 0* [# #:1:0 ()>] 2: 1* [#:1:0 ()>] ?: 2* [load-compiled/vm "/home/wingo/.guile-ccache/1.9//tmp/a.scm.go"] In /tmp/a.scm: 4: 3* [ap] ERROR: In procedure module-lookup: ERROR: unbound variable: not-bound I'm not certain why the load-compiled call does not have source info, though. It seems the "2" on frame 1 corresponds to the second line of stdin; perhaps that source info is getting misplaced. Let us know if you find other bugs. Andy -- http://wingolog.org/