Memory fault related to types, on LOGXOR

Bug #1838827 reported by Paul F. Dietz on 2019-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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.

Stas Boukarev (stassats) wrote :

ad0dfbb738cb41e0e65b2a59aaaeecda0fc6e6f1

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