Memory fault related to types, on LOGXOR

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

Bug Description

(defun f380 (p2 q)
  (declare (type (eql -3759458699) p2))
  (logxor 149
          (the (member 1 -3759458699)
               (flet ((%f (x) (the (or number (array *)) x)))
                 (if q
                     (%f p2)
                     (%f (make-array '(2 1) :adjustable t)))))))

;; (f380 -3759458699 t) ==> unhandled memory fault

Weirdly, the bug does not manifest without the :adjustable t.

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

ad0dfbb738cb41e0e65b2a59aaaeecda0fc6e6f1

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.