bug-guile
[Top][All Lists]
Advanced

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

Re: GIT version: segmentation fault


From: Andy Wingo
Subject: Re: GIT version: segmentation fault
Date: Wed, 26 Jan 2011 21:46:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Wed 19 Jan 2011 20:40, Hans Aberg <address@hidden> writes:

> The code below causes Guile 1.9.14.68-a7d8a to crash (segmentation fault
> after awhile), on Mac OS X 10.5.8 PPC G4.
>
>
> (defmacro call (f g)
>     `(apply ,g (,f)))
>
> (call (lambda () (values 4 5))
>   (lambda (a b) b))

Good catch!  It was an error in the error handling.  Fixed in git.  The
message is now:

<unnamed port>:2:1: In procedure apply:
<unnamed port>:2:1: Apply to non-list: 4

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

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