From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: An Error in Early Boot Date: Thu, 14 Oct 2010 17:06:32 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1287090403 24773 80.91.229.12 (14 Oct 2010 21:06:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 21:06:43 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 14 23:06:42 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 1P6V0c-0007zo-9s for guile-devel@m.gmane.org; Thu, 14 Oct 2010 23:06:42 +0200 Original-Received: from localhost ([127.0.0.1]:44048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6V0b-000286-N3 for guile-devel@m.gmane.org; Thu, 14 Oct 2010 17:06:41 -0400 Original-Received: from [140.186.70.92] (port=33255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6V0V-000276-9j for guile-devel@gnu.org; Thu, 14 Oct 2010 17:06:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6V0U-0005eu-5S for guile-devel@gnu.org; Thu, 14 Oct 2010 17:06:34 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:62615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6V0U-0005eh-0S for guile-devel@gnu.org; Thu, 14 Oct 2010 17:06:34 -0400 Original-Received: by wwd20 with SMTP id 20so73263wwd.30 for ; Thu, 14 Oct 2010 14:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=G6mXWmQ/mFqHTCuJPsT8W1FzXEx7dMvWLbz78UZdqjU=; b=wvsnIOtCrwr0nIvigydYJilKO65AMGMzkEqU4cbu7BYYGyLPZf8FevxwQUW5qtgLw1 fexs+0Zy21qgOhcigc+NsXmHD5IVntJWTAVlegIR6iKx4T5Xfzjnk82XB7kdUcoNuOj6 66d7/yc5+XknbPSU3Omx/c06trRgz2q2BfvVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=gbrWydRlaurojSQYOYThR2IIhibi8QAkKMIDKxE0FpmIJrPLsgTL81OXJefLwq8Yu8 C3mgUBZ8vyOVHevnare+jBV8KEDlEAYylt5WDwviqcUeAdVyn9+XZV2pHcWEWRaAl2ti cCCCoWtiPu4vHZDV3FoMMUD/TUDXWAzmQEJDA= Original-Received: by 10.216.64.205 with SMTP id c55mr545295wed.88.1287090392457; Thu, 14 Oct 2010 14:06:32 -0700 (PDT) Original-Received: by 10.216.170.204 with HTTP; Thu, 14 Oct 2010 14:06:32 -0700 (PDT) X-Google-Sender-Auth: ogMfHoFRGrVXzXTrNj9n-Hbpz3E X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:11044 Archived-At: 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. However, I'm not quite sure how to fix this. Noah