[armedbear-devel] BUG: JVM stack inconsistency triggered by compiler

Rudi Schlatte rudi at constantly.at
Wed Jul 11 08:57:23 UTC 2012


On Jul 10, 2012, at 11:30 , Eric Marsden wrote:
> 
> CL-USER(50): (lisp-implementation-version)
> "1.1.0-dev-svn-13998M"
> CL-USER(51): (lambda (a b c)
>               (declare (optimize (safety 0)))
>               (ash 3 (min 2 (the integer (block b (catch 'ct a))))))
> #<FUNCTION (LAMBDA (A B C)) {374FB6BE}>
> CL-USER(52): (compile nil *)
> ; Caught STYLE-WARNING:
> ;   The variable B is defined but never used.
> 
> ; Caught STYLE-WARNING:
> ;   The variable C is defined but never used.
> #<THREAD "interpreter" {5D4AAA93}>: Debugger invoked on condition of type INTERNAL-COMPILER-ERROR
>  Stack inconsistency detected in NIL at index 36: found 2, expected 1.
> Restarts:
>  0: CONTINUE  Eventually use interpreted form instead
>  1: TOP-LEVEL Return to top level.

Cool, thanks - filed at http://trac.common-lisp.net/armedbear/ticket/216.

Rudi





More information about the armedbear-devel mailing list