guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Guile 2.9.8 Released [beta]


From: Nala Ginrut
Subject: Re: GNU Guile 2.9.8 Released [beta]
Date: Sun, 19 Jan 2020 03:43:00 +0800

Just a report, the same compiling error existing in Guile-3.0.0.

Best regards.


On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut <address@hidden> wrote:
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 <address@hidden> wrote:
On Wed 08 Jan 2020 15:22, Nala Ginrut <address@hidden> writes:

> In unknown file:
>            4 (primitive-load-path "artanis/server/server-context" #<…>)
> In ice-9/eval.scm:
>    626:19  3 (_ #<directory (artanis server server-context) 5624d6b3…>)
>     155:9  2 (_ #<directory (artanis server server-context) 5624d6b3…>)
> 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 #<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.  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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]