読者です 読者をやめる 読者になる 読者になる

sbclのバグ

* (lisp-implementation-type)

"SBCL"
* (lisp-implementation-version)

"1.3.2"
* (software-type)

"Linux"
* (software-version)

"3.16.0-4-amd64"
* 
(defun fib (&optional n)
  (if (< n 2)
      n
      (+ (multiple-value-call #'fib (- n 2))
         (multiple-value-call #'fib (- n 1)))))

debugger invoked on a SB-INT:BUG in thread
#<THREAD "main thread" RUNNING {1002A251C3}>:
    failed AVER:
      (OR (NOT SB-C::ENTRY) (EQ (SB-C::FUNCTIONAL-KIND SB-C::ENTRY) :DELETED))
  This is probably a bug in SBCL itself. (Alternatively, SBCL might have been
  corrupted by bad user code, e.g. by an undefined Lisp operation like
  (FMAKUNBOUND 'COMPILE), or by stray pointers from alien code or from unsafe
  Lisp code; or there might be a bug in the OS or hardware that SBCL is running
  on.) If it seems to be a bug in SBCL itself, the maintainers would like to
  know about it. Bug reports are welcome on the SBCL mailing lists, which you
  can find at <http://sbcl.sourceforge.net/>.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(SB-INT:BUG "~@<failed AVER: ~2I~_~S~:>" (OR (NOT SB-C::ENTRY) (EQ (SB-C::FUNCTIONAL-KIND SB-C::ENTRY) :DELETED)))
0]