From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: An Error in Early Boot Date: Thu, 14 Oct 2010 16:36:24 -0700 (PDT) Message-ID: <814573.44378.qm@web37903.mail.mud.yahoo.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1287099399 28145 80.91.229.12 (14 Oct 2010 23:36:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 23:36:39 +0000 (UTC) To: Noah Lavine , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 15 01:36:36 2010 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.69) (envelope-from ) id 1P6XLf-0002UG-Dq for guile-devel@m.gmane.org; Fri, 15 Oct 2010 01:36:35 +0200 Original-Received: from localhost ([127.0.0.1]:38613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6XLe-0004bG-My for guile-devel@m.gmane.org; Thu, 14 Oct 2010 19:36:34 -0400 Original-Received: from [140.186.70.92] (port=36723 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6XLX-0004a4-Lz for guile-devel@gnu.org; Thu, 14 Oct 2010 19:36:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6XLW-000095-KJ for guile-devel@gnu.org; Thu, 14 Oct 2010 19:36:27 -0400 Original-Received: from web37903.mail.mud.yahoo.com ([209.191.91.165]:41694) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P6XLW-00008y-EP for guile-devel@gnu.org; Thu, 14 Oct 2010 19:36:26 -0400 Original-Received: (qmail 44435 invoked by uid 60001); 14 Oct 2010 23:36:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1287099384; bh=j4Pw4CQjjPpqbjlCxkLrNy1pNTjYBQwthVuT0ygC7Mc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=0Z18rjIkCG37Yv5aQEgSmijh3SEQmVdJR7sr4YPt1TfPGcei7xh7LedMBzAj6jNZxyL2srtpnzZ8Ke5c//emHRQaE1U/GboUPp9nsZ0oXIWTjR4N7/HIEvhxsQLUqwdouj+PzLgvLH+7t+NOSBnmD6U3ODOn2TU4k5N+Cpft8Vc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=QGeNJU9KLb7ZaCqycTzpcxkdYLpTMgwS/EuznQ+mfKKNaxZAods7Pd+BPlTKpA0M1WKRsoVurh3J6KQtZCaYRDb9HV1BMneBvNGPC4IPo6Z22aKjPxPEGtzyS79cS2kjahH7qtY/xIzVZOBPjs16id6jGL1irrXSJxDhqzlxKl4=; X-YMail-OSG: q4OVqk8VM1k4Fex1AM45rlkcqfMhY7M1doXIjXX4J47Cdoq 5z13SgYgLzImNv5XbbvHmQK7GvLf2zCRJq2pLn97aFMoa7zElcVY4FV_WszM zIFggFlszJLaUsLPpNuU0cq7U3.dNoAlDzAJVUBNxgTQ3ri5FLhy4GSGWVwO LLy10Tj02y3.WlooUWDVdkSOis8h0QN_aIWKjsjv0aw3mQF9UdOrGbPhE284 8V.QEA09YxXdOh6p1slqumEhgqbZxmp7V923o2G7O41JtcEXACeL7WpyNvc. BXCeoi548B7Yl5aHXmtVoCAO3TywinKBos3H9t8NR4maQ8RBnUhTRlOl9CZu AkmiDcUGb4DZCSYKDU637MR4- Original-Received: from [207.8.91.2] by web37903.mail.mud.yahoo.com via HTTP; Thu, 14 Oct 2010 16:36:24 PDT X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.106.282862 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) 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:11045 Archived-At: > From: Noah Lavine > > Hello, > > I got into a situation just now when Guile was generating an error > very early in the boot process (it was loading some objcode from > scm_init_eval_in_scheme(), I think, although I haven't looked enough > to be sure). The fun part is, instead of printing an error message, it > got into an infinite recursion that eventually ended in a memory > fault. > > The reason is that scm_error_scm in error.c calls scm_ithrow (error.c:315), > which finds its way through scm_throw and some VM calls to > pre_init_throw (throw.c:495) > which in turn gets it to scm_at_abort, which goes to scm_c_abort, > which finally calls scm_misc_error (control.c:210) because it can't > find a prompt on the dynamic stack because the error is too early, > which leads back to scm_error_scm again. Hi Noah, FWIW, I also noticed the infinite recusion problem in bug #30162. http://savannah.gnu.org/bugs/?30162 At the time, I thought that the following revision might be the one that caused the problem. http://git.savannah.gnu.org/cgit/guile.git/commit/?id=c6a32a2cd59190dcf17c7fb3022588f56079a03e -Mike