From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julian Graham Newsgroups: gmane.lisp.guile.devel Subject: Possible infinite loop during compilation in 2.2 Date: Fri, 18 Apr 2014 12:05:54 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397837168 490 80.91.229.3 (18 Apr 2014 16:06:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2014 16:06:08 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 18 18:06:02 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WbBIf-0000sT-8G for guile-devel@m.gmane.org; Fri, 18 Apr 2014 18:06:01 +0200 Original-Received: from localhost ([::1]:38848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBIe-0005qO-QK for guile-devel@m.gmane.org; Fri, 18 Apr 2014 12:06:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBIb-0005oB-3z for guile-devel@gnu.org; Fri, 18 Apr 2014 12:05:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbBIZ-00028e-V5 for guile-devel@gnu.org; Fri, 18 Apr 2014 12:05:57 -0400 Original-Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:40197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbBIZ-00028O-OF for guile-devel@gnu.org; Fri, 18 Apr 2014 12:05:55 -0400 Original-Received: by mail-pd0-f180.google.com with SMTP id v10so1568829pde.39 for ; Fri, 18 Apr 2014 09:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=s8sjfPf3glGN1puJSxkgRgjEoFv5YdExnvrE9QT7xa4=; b=tnro+oKHR3CPxOaDYXo5v+2hsBFSvi10WQl74J2mzwu7DxQLqfVw54WRtG7N+nJNDx BkVWLnY1PsFzNyoBlL4iXLLCw3oVhD75iL34cLg5iRVzV/ev435aVMZwyh3WpXPYHRFy /xNU85PcGrcNyLcxvZd8KprxZCKjULbQsqC3ts5adia10e2mUzWQfu5nH8Hc0BOToYg+ s3rl53tgXWWGVmv3C05U5ORKwVPwfThtEtaIU0uWRwuz2/Pmb1ekmznFrq2zxYrD/r0c ei/qD43NatwHxgpj/Wt2de8+6TQZvnvCWVXB0GoYrPcp9HDCSICHm2/UyjA3CeTFaxB6 jVxg== X-Received: by 10.66.180.34 with SMTP id dl2mr23019779pac.124.1397837154208; Fri, 18 Apr 2014 09:05:54 -0700 (PDT) Original-Received: by 10.70.11.194 with HTTP; Fri, 18 Apr 2014 09:05:54 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::234 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17075 Archived-At: Hey Guilers, I was experimenting with building one of my projects using Guile 2.2 and found that some files just don't seem to want to finish compiling, and peg my CPU at 100% -- seems like they might be getting stuck in a loop. (Other files compile just fine.) As per some conversations with Andy and Mark on #guile, I tried compiling one of the troublesome files from the REPL and captured the following stack trace. (You can see the source code of the file here: http://git.savannah.gnu.org/cgit/gzochi.git/tree/gzochi-server/src/scheme/g= zochi/private/app.scm) In system/base/compile.scm: 150:6 27 (compile-file # #:output-file _ #:from _ #:to _ #:env _ #:opts _ #:canonicalization _) 43:4 26 (call-once _) In ice-9/boot-9.scm: 823:4 25 (with-throw-handler _ _ _) In system/base/compile.scm: 59:11 24 ("#") 153:11 23 ("#" #) 233:18 22 (read-and-compile # #:from _ #:to _ #:env _ #:opts _) 181:32 21 (compile-fold _ _ _ (#:to-file? #t)) In ice-9/boot-9.scm: 2654:4 20 (save-module-excursion #) In language/scheme/compile-tree-il.scm: 31:15 19 ("#") In ice-9/psyntax.scm: 1189:36 18 (expand-top-sequence # _ _ #f # (compile load eval) #) 1081:18 17 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ c (compile load eval) (hygiene #{ g276}#)) 1302:32 16 (syntax-type # (("placeholder" placeholder)) (()) ((line . 18) (column . 0) (filename . "gzochi/private/app.scm")) #(ribcage () () ()) (hygiene #{ g276}#) #f) 1513:32 15 (expand-macro # _ _ _ _ _ _) In ice-9/r6rs-libraries.scm: 181:14 14 ("#" #(syntax-object gzochi ((#f top) shift #(ribcage () () ()) #(ribcage () () ())) (hygiene #{ g276}#)) (#(syntax-object private ((#f top) shift #(# # =E2=80=A6) #) #) #)= =E2=80=A6) In ice-9/boot-9.scm: 845:31 13 (map # _) 3117:17 12 (resolve-interface (gzochi private client) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _) 3042:10 11 ("#" (gzochi private client) _ _ #:ensure _) 3318:16 10 (try-module-autoload _ _) 2654:4 9 (save-module-excursion #) 3338:22 8 ("#") In unknown file: 7 (primitive-load-path "gzochi/private/client" #) In gzochi/private/client.scm: 44:2 6 ("#") In gzochi/private/data.scm: 153:2 5 (gzochi:make-managed-record-constructor-descriptor # #f #f) In rnrs/records/inspection.scm: 65:2 4 (record-type-parent _) 58:2 3 (guarantee-rtd record-type-parent #) In rnrs/records/procedural.scm: 174:2 2 (record-type-descriptor? _) In unknown file: 1 (scm-error signal #f "User interrupt" () (2)) In ice-9/boot-9.scm: 747:26 0 (dispatch-exception _ _ _) Regards, Julian