full call to SB-C::%INSTANCE-TYPEP in code calling MISMATCH

Bug #1782826 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(lambda (p)
  (let ((i 0))
    (mismatch (progn (incf i) "abcdef")
              (progn (incf i) "abcdef")
              :key (progn (incf i) #'identity)
              :test (progn (incf i) #'equal)
              :start1 (progn (incf i) 1)
              :start2 (progn (incf i) 1)
              :end1 (progn (incf i) 4)
              :end2 (probe-file p)
              :from-end i
              )))

==>

full call to SB-C::%INSTANCE-TYPEP
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 "full call to ~S" SB-C::%INSTANCE-TYPEP)
  1: (SB-C::PONDER-FULL-CALL #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME SB-C::%INSTANCE-TYPEP :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIN..
  2: (SB-C::IR2-CONVERT-FULL-CALL #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME SB-C::%INSTANCE-TYPEP :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED..
  3: (SB-C::IR2-CONVERT-BLOCK #<SB-C::CBLOCK 1 :START c1 {100B79E203}>)
  4: (SB-C:IR2-CONVERT #<SB-C:COMPONENT :NAME (LAMBDA (P)) {100B7A6843}>)
  5: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (LAMBDA (P)) {100B7A6843}>)

Revision history for this message
Stas Boukarev (stassats) wrote :

2b8cffb27152f213d872218d154893167123f2de

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.