bug-guile
[Top][All Lists]
Advanced

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

Re: GIT version: segmentation fault


From: Hans Aberg
Subject: Re: GIT version: segmentation fault
Date: Thu, 27 Jan 2011 00:37:34 +0100

On 26 Jan 2011, at 21:46, Andy Wingo wrote:

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

Good you fixed it. I was actually trying some code from the link mentioned before, thinking "this cannot work", and lo and behold, a crash!
https://groups.google.com/group/comp.lang.scheme/browse_thread/thread/b72d987aa6626cd2/e2f7cfa55fb51d55?hl=en




reply via email to

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