(/ 1 0) no signal error.

Bug #2056184 reported by xizang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

ubuntu sbcl-2.4.2:

(defun bug()
(dotimes (i 100)
  (let ((r (random 2 (make-random-state t))))
    (print (list i r (/ 1 r))))))

(bug) =>

(0 0 1)
(1 1 1)
(2 1 1)
(3 0 1)
(4 1 1)
(5 1 1)
(6 0 1)
(7 0 1)
(8 1 1)
(9 1 1)
(10 0 1)
(11 0 1)
(12 0 1)
(13 0 1)
(14 0 1)
(15 1 1)
(16 0 1)
(17 1 1)
(18 1 1)
(19 1 1)
(20 0 1)
(21 1 1)
......

Revision history for this message
xizang (xizang) wrote :

This bug does not appear in version 2.3.10. Since version 2.3.11, this bug has appeared.

Stas Boukarev (stassats)
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.