gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] (random tester) Unrecoverable error: value stack overflow.


From: Paul F. Dietz
Subject: [Gcl-devel] (random tester) Unrecoverable error: value stack overflow.
Date: Thu, 13 Nov 2003 03:54:15 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

The random tester has found a form that produces compiled code
that overflows the stack when called.  Oddly, it only does this if you
load the (base) test system.  If the form is compiled and funcalled in
a bare gcl it doesn't fail:

(load "gclload1.lsp")

(print
 (funcall
  (compile
   nil
   '(lambda (a)
      (labels ((%f1 (f1-2 f1-3)
                    (flet ((%f15
                            (f15-1
                             &optional
                             (f15-5 (setq a 225872))
                             (f15-6 (labels ((%f2 (&optional (f2-5 f1-3)) 0))
                                      (funcall #'%f2 f1-3))))
                            f15-1))
                      (%f15 2)
                      )))
        (funcall #'%f1 1 2))))
  639521))

Unrecoverable error: value stack overflow.

This example had to be pruned by hand, since the stack overflow terminates
the automatic pruner.

        Paul





reply via email to

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