From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel Subject: Re: Fault in guile 2.9 Date: Sat, 10 Nov 2018 00:27:41 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004a81b5057a43b3c9" X-Trace: blaine.gmane.org 1541805971 19738 195.159.176.226 (9 Nov 2018 23:26:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2018 23:26:11 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Nov 10 00:26:06 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLGA7-0004w1-Bv for guile-devel@m.gmane.org; Sat, 10 Nov 2018 00:26:03 +0100 Original-Received: from localhost ([::1]:36453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLGCD-0005ZZ-O0 for guile-devel@m.gmane.org; Fri, 09 Nov 2018 18:28:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLGC9-0005ZI-EK for guile-devel@gnu.org; Fri, 09 Nov 2018 18:28:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLGC7-0003OI-Br for guile-devel@gnu.org; Fri, 09 Nov 2018 18:28:09 -0500 Original-Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]:34519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLGC2-0003AT-2V for guile-devel@gnu.org; Fri, 09 Nov 2018 18:28:05 -0500 Original-Received: by mail-vs1-xe31.google.com with SMTP id y27so2045653vsi.1 for ; Fri, 09 Nov 2018 15:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7YS74mesAOpGjN73bY8X/PRZqbz93QESdM8J2Wk42VE=; b=cIYCFN0xAfL0wohDcT4vy+B81Cl2NfjR4Dde1/4bK+s/M0ORVAnPlpRPriGBIUi2jT KYr6o/rPfG28bHz7l5oAB+k2ieiQZUj6zQ92d47jk8NwNLPkt4AdnNBRmpTzrEfWXz2T 8hkPPZ5zYAuvZTru21c+azw5hKgbBwO/oZmjRbOviNFjuymAAzsVfi5NtG2HBC2ni8kO F9hg2p/ONngr+ngngpFQjoeeaXsZIupP0TkuwwxObV02yRHS9yf9ZCSZ/XtDlgDcz4hb 5eLCl6cMUdZq1ZQE9o2uY4OcvCoC2M5vJirXQHP14G98Xzy5lMVG30dNBrqFEbgBwd9w gtJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7YS74mesAOpGjN73bY8X/PRZqbz93QESdM8J2Wk42VE=; b=qePdhU5iLpin119PkDY+7ktMMYj6rORqs4CckBxepORN/Je1XKYDkrncg+PKM+MVUz DH64W/l25xGTROUEp+PPTG5cCV1YRlbnzJilaPdpTnEz/4M546aR4c2B3NScxIGjueoy LP4TIurmc5+fxQ8WxBSsqSQpFVFgkoBcDiamzMkwvgKtHeShJWnyYIMGRpOVh4XvpPvt Um7FbsWFQJoFjqU2z69+I3mrtlYHyp9IfOtJRQ42RJU3/RIcMOuVfDg05L4OKJ74xEcx TM59Y5EJisKycybgDGe16hC8kXwCChxV6HaoozXtmN1g4SjoYU9HJ09AYUIkfe8YRLQd ciqw== X-Gm-Message-State: AGRZ1gKc3ZUA3oFXFyNnCOyCfe2LnkvioFQ2KW7jzXNZB5ZYnvIjwLM4 UN2ff1AO5Ctg/5Fv8KPneoqIIZErxwtwmya5T5sLV9lj X-Google-Smtp-Source: AJdET5eak/V+Y5qDHQPfv4JkD4p8BzKihp8ZXsTsrqh28QQbh60n5S+54LcL1zBub5S+MqxW3oeG69LeolmPG0NfHos= X-Received: by 2002:a67:d20d:: with SMTP id y13mr4658818vsi.163.1541806072948; Fri, 09 Nov 2018 15:27:52 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e31 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.devel:19718 Archived-At: --0000000000004a81b5057a43b3c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Stack trace: Backtrace: In ice-9/boot-9.scm: 838:4 19 (with-throw-handler _ _ _) In system/base/compile.scm: 59:11 18 (_) 155:11 17 (_ #) 224:14 16 (read-and-compile _ #:from _ #:to _ #:env _ #:opts _) 255:6 15 (compile _ #:from _ #:to _ #:env _ #:opts _) 183:32 14 (compile-fold _ _ _ (#:to-file? #t #:warnings (# # # =E2=80=A6)= )) In language/cps/compile-bytecode.scm: 683:12 13 (compile-bytecode _ # =E2=80=A6) 675:12 12 (lower-cps _ (#:to-file? #t #:warnings (format # # #))) In language/cps/optimize.scm: 84:0 11 (optimize-higher-order-cps _ _) In language/cps/dce.scm: 402:33 10 (eliminate-dead-code _) 110:18 9 (compute-live-code #) In language/cps/intmap.scm: 519:5 8 (visit-branch #(#(#(#(# =E2=80=A6)= =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) 519:5 7 (visit-branch #(#(#(# =E2=80= =A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) 519:5 6 (visit-branch #(#(# =E2= =80=A6) =E2=80=A6) =E2=80=A6) 519:5 5 (visit-branch #(# = =E2=80=A6) =E2=80=A6) In language/cps/type-checks.scm: 41:15 4 (elide-type-checks # 33263 #) In language/cps/types.scm: 1758:5 3 (worklist-fold* # _ _) 1899:26 2 (visit-cont 33278 #) 381:4 1 (constant-type _) In ice-9/boot-9.scm: 749:25 0 (dispatch-exception 0 misc-error (#f "unhandled cons=E2=80=A6" = =E2=80=A6)) ice-9/boot-9.scm:749:25: In procedure dispatch-exception: unhandled constant # On Sat, Nov 10, 2018 at 12:25 AM Stefan Israelsson Tampe < stefan.itampe@gmail.com> wrote: > Hi, > > I got this error, > > what's this error message? unhandled constant # > > So a with got a src meta informatoin in it's field somehow, a bug > in guile's compiler > for sure. This is for a real stress test, a compile of a huge file that > used to take 10minutes to compile. So I ill not be able to track this dow= n > and make a bugreport But now you know, there > exist a bug! > > Regards > Stefan > --0000000000004a81b5057a43b3c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Stack trace:

Backtrace:
In ice-9/boot-9.scm:
=C2=A0=C2=A0=C2=A0838:4 19 (with-throw-handler _ _ _)
In system/base/compile.scm:
=C2=A0=C2=A0=C2=A059:11 18 (_)
=C2=A0=C2=A0155:11 17 (_ #<closed: file 565113183230>)
=C2=A0=C2=A0224:14 16 (read-and-compile _ #:from _ #:to _ #:env _ #:op= ts _)
=C2=A0=C2=A0=C2=A0255:6 15 (compile _ #:from _ #:to _ #:env _ #:opts _= )
=C2=A0=C2=A0183:32 14 (compile-fold _ _ _ (#:to-file? #t #:warnings (#= # # =E2=80=A6)))
In language/cps/compile-bytecode.scm:
=C2=A0=C2=A0683:12 13 (compile-bytecode _ #<directory (language pro= log modul=E2=80=A6> =E2=80=A6)
=C2=A0=C2=A0675:12 12 (lower-cps _ (#:to-file? #t #:warnings (format #= # #)))
In language/cps/optimize.scm:
=C2=A0=C2=A0=C2=A0=C2=A084:0 11 (optimize-higher-order-cps _ _)
In language/cps/dce.scm:
=C2=A0=C2=A0402:33 10 (eliminate-dead-code _)
=C2=A0=C2=A0110:18 =C2=A09 (compute-live-code #<intmap 0-462173>= )
In language/cps/intmap.scm:
=C2=A0=C2=A0=C2=A0519:5 =C2=A08 (visit-branch #(#(#(#(#<cps (kfun (= ) 0 329=E2=80=A6> =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)
=C2=A0=C2=A0=C2=A0519:5 =C2=A07 (visit-branch #(#(#(#<cps (kargs (a= rg) (23580=E2=80=A6> =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)
=C2=A0=C2=A0=C2=A0519:5 =C2=A06 (visit-branch #(#(#<cps (kargs (arg= ) (23580) (co=E2=80=A6> =E2=80=A6) =E2=80=A6) =E2=80=A6)
=C2=A0=C2=A0=C2=A0519:5 =C2=A05 (visit-branch #(#<cps (kargs (arg) = (23825) (continu=E2=80=A6> =E2=80=A6) =E2=80=A6)
In language/cps/type-checks.scm:
=C2=A0=C2=A0=C2=A041:15 =C2=A04 (elide-type-checks #<intmap 0-46217= 3> 33263 #<intmap 0-=E2=80=A6>)
In language/cps/types.scm:
=C2=A0=C2=A01758:5 =C2=A03 (worklist-fold* #<procedure visit-cont (= label typev)> _ _)
=C2=A01899:26 =C2=A02 (visit-cont 33278 #<intmap 33263+0-15>)
=C2=A0=C2=A0=C2=A0381:4 =C2=A01 (constant-type _)
In ice-9/boot-9.scm:
=C2=A0=C2=A0749:25 =C2=A00 (dispatch-exception 0 misc-error (#f "= unhandled cons=E2=80=A6" =E2=80=A6))

ice-9/boot-9.scm:749:25: In procedure dispatch-exception:
unhandled constant #<procedure src (lam u)>



On Sat, Nov 10, 2018 at 12:25 AM Stefan Israelsson Tampe <stefan.itampe@gmail.com> wro= te:
Hi,

I got this error,

what&#= 39;s this error message? unhandled constant #<procedure src (lam u)><= br>

So a <const> with got a src meta informa= toin in it's field somehow, a bug in guile's compiler=C2=A0
for sure. This is for a real stress test, a compile of a huge file that = used to take 10minutes to compile. So I ill not be able to track this down = and make a bugreport But now you know, there=C2=A0
exist a bug!

Regards
Stefan
--0000000000004a81b5057a43b3c9--