Opened 12 years ago

Closed 12 years ago

#308 closed defect (fixed)

Compiled FLET exhausts the stack

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: major Milestone: 1.2.0
Component: compiler Version: 1.2.0-dev
Keywords: ansi-conformance Cc:
Parent Tickets:

Description (last modified by Mark Evenson)

In diagnosing the stack exhaustion which occurs in the HUNCHENTOOT test suite, the following compiler error was found.

(defun bar (arg) 
  "non-flet")

(defun foo ()
  (flet ((bar (arg)
           (bar arg)))
    (bar "something")))

For which

   CL-USER> (foo)

will exhaust the stack in the compiled version, but not the interpreted one.

Change History (3)

comment:1 Changed 12 years ago by Mark Evenson

For the STORAGE-CONDITION case, the failure appears to be caused by the compiled version ADDRESS-STRING in hunchentoot/util.lisp:314. If I eval this function, the redirection test works.

comment:2 Changed 12 years ago by Mark Evenson

Component: othercompiler
Description: modified (diff)
Keywords: ansi-conformance added; quicklisp hunchentoot removed
Owner: changed from somebody to ehuelsmann
Summary: Hunchentoot fails redirection testsCompiled FLET exhausts the stack

comment:3 Changed 12 years ago by ehuelsmann

Resolution: fixed
Status: newclosed

(In [14420]) Fix #308: Compiled FLET exhausts the stack.

Note: See TracTickets for help on using tickets.