[Top][All Lists]

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

Crash occurs during some commands' interpretation

From: yluo
Subject: Crash occurs during some commands' interpretation
Date: Fri, 11 Jul 2003 23:53:31 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01


I met some crashes after I installed guile-1.6.4 in IA.64 machine, below is the information I saw:

guile> (define call/cc call-with-current-continuation)
guile> (define retry #f)
guile> (define factorial
 (lambda (x)
   (if (= x 0)
       (call/cc (lambda (k) (set! retry k) 1))
       (* x (factorial (- x 1))))))
guile>  (factorial 4)
guile> (retry 1)
Segmentation fault (core dumped)

guile> (display (let ((x (call-with-current-continuation (lambda (k) k))))
          (x (lambda (ignore) "hi"))))
Illegal instruction (core dumped)

Please give me your precious suggestion. Thanks a lot!!!

Best Regards,

reply via email to

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