Another failed AVER from random tester

Bug #1722338 reported by Paul F. Dietz on 2017-10-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

This failure was found over the weekend by the random tester, but also occurs in current snapshot.

(defun f13 (a)
  (declare (notinline apply >=))
  (declare (optimize (compilation-speed 3) (speed 0) (debug 0) (safety 1) (space 2)))
  (block b5
    (labels ((%f10
   (f10-1 &optional
   (f10-4
    (labels ((%f9
          (f9-1
           &key
           (key2
     (if (>= 0 1)
         (return-from b5 (catch 'ct5 0))
         0)))
        0))
      (apply #'%f9 a nil))))
        0))
      (%f10 0))
    0))

failed AVER: (SB-C::BLOCK-COMPONENT BLOCK)
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/>.
   [Condition of type SB-INT:BUG]

Restarts:
 0: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (SB-INT:BUG "~@<failed AVER: ~2I~_~S~:>" (SB-C::BLOCK-COMPONENT BLOCK))
  1: (SB-IMPL::%FAILED-AVER (SB-C::BLOCK-COMPONENT BLOCK))
  2: (SB-C::DELETE-BLOCK #<SB-C::CBLOCK 2 :START c1 {1003D810B3}> NIL)
  3: (SB-C::CLEAN-COMPONENT #<SB-C:COMPONENT :NAME (LABELS %F10 :IN F13) {1003D9EA03}> #<SB-C::CBLOCK 33 :START c2 {1003D9E4E3}>)
  4: (SB-C::FIND-DFO #<SB-C:COMPONENT :NAME (LABELS %F10 :IN F13) {1003D9EA03}>)
  5: (SB-C::DFO-AS-NEEDED #<SB-C:COMPONENT :NAME (LABELS %F10 :IN F13) {1003D9EA03}>)
  6: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (LABELS %F10 :IN F13) {1003D9EA03}>)
  7: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (LABELS %F10 :IN F13) {1003D9EA03}>)
  8: (SB-C::%COMPILE (SB-INT:NAMED-LAMBDA F13 (A) (DECLARE (NOTINLINE APPLY >=)) (DECLARE (OPTIMIZE # # # # #)) (BLOCK F13 (BLOCK B5 # 0))) #<SB-C::CORE-OBJECT {1003D78F23}> :NAME NIL :PATH (SB-C::ORIGINAL..

Stas Boukarev (stassats) wrote :

In 4e515c7458cbe92061065a415a4069a1c87c69e4.

Changed in sbcl:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers