[Top][All Lists]

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

[Bug-mit-scheme] Instant Crash in 64-bit version

From: gjs
Subject: [Bug-mit-scheme] Instant Crash in 64-bit version
Date: Mon, 2 Nov 2009 14:49:16 -0500
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+

The following, when compiled by c-scheme (64-bit) 
            (cf "bug-iota")
then loaded
            (load "bug-iota")
kills the system... it disappears without
a trace!  The version is:

Image saved on Friday May 1, 2009 at 4:50:19 PM
  Release 7.7.90.+ || Microcode 15.1 || Runtime 15.7 
                      SF 4.41 || LIAR/i386 4.118
                      Edwin 3.116 || SOS 1.8
                      IMAIL 1.21

When compiled and loaded into a i386 (32-bit)
system it just reports a stack overflow.

;;; The following is the content of bug-iota.scm.

(define (iota1 to)
  (define (step where)
    (if (>= where to)
        (cons where (step (+ where 1)))))
  (step 0))

(for-each (lambda (y) (expt 100. y))
          (iota1 100000))

reply via email to

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