From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.9.8 Released [beta] Date: Tue, 14 Jan 2020 16:49:14 +0800 Message-ID: References: <87woaa3rq4.fsf@pobox.com> <871rsb54fb.fsf@pobox.com> <87k15yqo4o.fsf@pobox.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004a99d3059c15abdf" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="67367"; mail-complaints-to="usenet@blaine.gmane.org" Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jan 14 09:49:45 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1irHtO-000Gkd-UX for guile-devel@m.gmane-mx.org; Tue, 14 Jan 2020 09:49:43 +0100 Original-Received: from localhost ([::1]:34610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irHtN-0006pT-ID for guile-devel@m.gmane-mx.org; Tue, 14 Jan 2020 03:49:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51730) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irHtA-0006nL-LS for guile-devel@gnu.org; Tue, 14 Jan 2020 03:49:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irHt9-000496-C2 for guile-devel@gnu.org; Tue, 14 Jan 2020 03:49:28 -0500 Original-Received: from mail-yw1-xc31.google.com ([2607:f8b0:4864:20::c31]:46314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irHt9-00048p-6z for guile-devel@gnu.org; Tue, 14 Jan 2020 03:49:27 -0500 Original-Received: by mail-yw1-xc31.google.com with SMTP id u139so8419594ywf.13 for ; Tue, 14 Jan 2020 00:49:26 -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 :cc; bh=HCngqh+rIcrsDGAevQUG9jqbfKvbML4qLphgxZ764d0=; b=adehtUE6MHSjvxxx0Df4XJaT2dNiAdNVY5EKpVG/WO2fWx8TSDlnrTjNJtXP/QJ9Nv /hR2J8wq6VfPLceI+Kl204W03LbCtwV2I/rPrds5so9/P+q6RoUBxNdtXvkke2VCgZDT n1WwlAFAB73IUpw/CqqtULAHZII45xZwYIntn9wNNAt60gIbE/LfuiEtMB0stHGi3A6n hEIlmPBwLV0Kt+SGshMsEZww8joVn7g0gIUILqVs6kqZNduz5s5hazjXIDjlZw3Z9ifQ ddRshW6ZgB54/tG/VP7+ay6Gb0Ku92D04ve4ylc7DOGGC2l3apeJoGmDo8omG54JPn2m BTaA== 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:cc; bh=HCngqh+rIcrsDGAevQUG9jqbfKvbML4qLphgxZ764d0=; b=jrID7Qiv5vSqyMH6qjIhgm69fDiF4KocyZO9Qjw7IdYSGEsg5/uoMOaE4n3TC3w99c omAVP50X4r25/Fjgqe+RISqLge12DQFt8M5SrB2BfC/DKvmOVHjHxikhSzU3C8Bp3evJ H2y00HRmgYAHvqVBIs4GOUm8kvcdj3FFfQSfCBOtrQUZSPgf9exz8yFVKEL72HEq/x9N cu67nnT9llBg1Um8tZ2sDTfbA6KCG3afBc5Y6R9RFZeoWKyg/bqesK3ccDAZrQMPaGC+ TBqVyis+wFqECRONgE1MxDihYjlzgguCj9567APuuzplPR1i3clwp2EfNXba4kl777f+ eOjw== X-Gm-Message-State: APjAAAUxPTYwb2V1bhOWYFu4TIj1PdkGy/tTAmsDa91JTO0pruj3ZVAz uRxssz4g4f5gV64dEpuqr5wud181R3U7lE14yGg= X-Google-Smtp-Source: APXvYqwf2g1IQWIzeNQUaevo6cOuZ+dZW6ur/s/FiSZaBiFOgfYsk5QeV9TgbrX8q+jcw4TMtLR5Rgi+DzGAvIS1hdY= X-Received: by 2002:a81:9893:: with SMTP id p141mr15775170ywg.360.1578991765590; Tue, 14 Jan 2020 00:49:25 -0800 (PST) In-Reply-To: <87k15yqo4o.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c31 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20260 Archived-At: --0000000000004a99d3059c15abdf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Wingo! Here're update: 1. 2.9.9 didn't fix this issue 2. I imported r6rs record-type in (artanis utils), and this module was imported in almost every artanis modules. I do use r6rs specific record API to introspect the internal things for debugging in Artanis. And I imported r6rs define-record-type in server-context.scm I guess there're some name conflicting. On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo wrote: > On Wed 08 Jan 2020 15:22, Nala Ginrut writes: > > > In unknown file: > > 4 (primitive-load-path "artanis/server/server-context" #<=E2= =80=A6>) > > In ice-9/eval.scm: > > 626:19 3 (_ #) > > 155:9 2 (_ #) > > In ice-9/boot-9.scm: > > 1153:19 1 (_ _ _ _ _ _ _) > > 1655:16 0 (raise-exception _ #:continuable? _) > > > > ice-9/boot-9.scm:1655:16: In procedure raise-exception: > > Wrong number of arguments to # ice-9/boot-9.scm:1153:19 (a b c d e f)> > > > -------------------------------------------------------------------------= ------------------------------------------- > > > > Any hint that I can figure out whait's incompatible? > > Gosh we need to improve this info. Anyway the procedure at > boot-9.scm:1153:19 is a record constructor, for a record with 6 fields. > Apparently somewhere in (artanis server server-context) is calling it > with the wrong number of arguments. What do you use for records? Do > you have your own abstraction or do you use R6RS records or something? > Perhaps something in artanis relied on the way that R6RS records used to > implement single inheritance, as a chain of objects instead of a flat > record. Or perhaps the adaptations to R6RS records in Guile introduced > a bug. I am interested to know the answer :) > > Andy > --0000000000004a99d3059c15abdf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Wingo!
Here're update:
1. = 2.9.9 didn't fix this issue

2. I imported r6rs= record-type in (artanis utils), and this module was imported in almost eve= ry artanis modules.
I do use r6rs specific record API to introspe= ct the internal things for debugging in Artanis.
And I import= ed r6rs define-record-type in server-context.scm
I guess there= 9;re some name conflicting.



On Sat, Jan = 11, 2020 at 6:33 PM Andy Wingo <wingo= @pobox.com> wrote:
On Wed 08 Jan 2020 15:22, Nala Ginrut <nalaginrut@gmail.com> writes:
> In unknown file:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4 (primitive-load-path "= artanis/server/server-context" #<=E2=80=A6>)
> In ice-9/eval.scm:
>=C2=A0 =C2=A0 626:19=C2=A0 3 (_ #<directory (artanis server server-c= ontext) 5624d6b3=E2=80=A6>)
>=C2=A0 =C2=A0 =C2=A0155:9=C2=A0 2 (_ #<directory (artanis server ser= ver-context) 5624d6b3=E2=80=A6>)
> In ice-9/boot-9.scm:
>=C2=A0 =C2=A01153:19=C2=A0 1 (_ _ _ _ _ _ _)
>=C2=A0 =C2=A01655:16=C2=A0 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1655:16: In procedure raise-exception:
> Wrong number of arguments to #<procedure 5624d66ee4a0 at ice-9/boot= -9.scm:1153:19 (a b c d e f)>
> ----------------------------------------------------------------------= ----------------------------------------------
>
> Any hint that I can figure out whait's incompatible?

Gosh we need to improve this info.=C2=A0 Anyway the procedure at
boot-9.scm:1153:19 is a record constructor, for a record with 6 fields.
Apparently somewhere in (artanis server server-context) is calling it
with the wrong number of arguments.=C2=A0 What do you use for records?=C2= =A0 Do
you have your own abstraction or do you use R6RS records or something?
Perhaps something in artanis relied on the way that R6RS records used to implement single inheritance, as a chain of objects instead of a flat
record.=C2=A0 Or perhaps the adaptations to R6RS records in Guile introduce= d
a bug.=C2=A0 I am interested to know the answer :)

Andy
--0000000000004a99d3059c15abdf--