chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] abort/signal can cause segfault


From: Peter Bex
Subject: [Chicken-users] abort/signal can cause segfault
Date: Fri, 22 Sep 2006 22:22:44 +0200
User-agent: Mutt/1.4.2.1i

Hi list,

I just found that an invalid property-condition causes Chicken to segfault:
(abort (make-property-condition 'exn 'location "string"
                                     'message "error"
                                     'arguments '()))

The reason is that location needs to be a symbol, not a string.  Of
course, a type check would be in order here :)

Regards,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpjuoFlUDywF.pgp
Description: PGP signature


reply via email to

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