Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#154 closed defect (fixed)

COMPILE-FILE-2 ansi compiled fails

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: blocker Milestone: 0.26
Component: compiler Version:
Keywords: compiler ansi-compiled regression Cc:
Parent Tickets:

Description

Regression to fix before abcl-0.26.0 RC

java.lang.StackOverflowError
	at java.lang.ThreadLocal.get(ThreadLocal.java:125)
	at org.armedbear.lisp.LispThread.currentThread(LispThread.java:70)
	at org.armedbear.lisp.typep_4.execute(typep.lisp:65)
	at org.armedbear.lisp.Symbol.execute(Symbol.java:801)
	at org.armedbear.lisp.LispThread.execute(LispThread.java:653)
	at org.armedbear.lisp.format_189.execute(format.lisp:1723)
	at org.armedbear.lisp.CompiledClosure.execute(CompiledClosure.java:112)
	at org.armedbear.lisp.Symbol.execute(Symbol.java:801)
	at org.armedbear.lisp.LispThread.execute(LispThread.java:653)
	at org.armedbear.lisp.print_unreadable_object_1.execute(print-unreadable-object.lisp:35)

Change History (5)

comment:1 Changed 13 years ago by Mark Evenson

Summary: COMPILE-FILE-TEST-CONDITION.2A ansi compiled failsCOMPILE-FILE-2 ansi compiled fails
 Caught COMPILE-FILE-TEST-CONDITION.2A:
java.lang.StackOverflowError
	at java.lang.ThreadLocal.get(ThreadLocal.java:125)
	at org.armedbear.lisp.LispThread.currentThread(LispThread.java:70)
	at org.armedbear.lisp.typep_4.execute(typep.lisp:65)

comment:2 Changed 13 years ago by Mark Evenson

Apparently caused by r13305.

comment:3 Changed 13 years ago by Mark Evenson

Definitely caused by r13305.

To reproduce externally from the ANSI tests, save the following form as say 'compile-file-tet-file-2.lisp':

(defun compile-file-test-fun.2 () nil)

(eval-when (:compile-toplevel)
  (unless (find-class 'compile-file-test-condition.2 nil)
    (define-condition compile-file-test-condition.2 (style-warning) nil))
  (warn (make-condition 'compile-file-test-condition.2)))

And then

  CL-USER> (compile-file "compile-file-tet-file-2.lisp")

will produce the stack overflow.

comment:4 Changed 13 years ago by ehuelsmann

Resolution: fixed
Status: newclosed

Fixed in r13399.

comment:5 Changed 13 years ago by ehuelsmann

(In [13400]) Fix #154 on 0.26.x branch: backport r13399.

Note: See TracTickets for help on using tickets.