Custom Query (1030 matches)
Results (361 - 363 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #341 | fixed | bignums | ||
| Description |
I have the following error: ? (rem (expt 2 43112609) 1000000000000000) > Error: DIVISION-BY-ZERO detected > While executing: CCL::%FLOOR-99, in process listener(1). and ? (rem (expt 2 43112609) 400000000000000500) > Error: DIVISION-BY-ZERO detected > While executing: CCL::%FLOOR-99, in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options. 1 > (rem (expt 2 43112609) 400000000000000500) exception in foreign context Exception occurred while executing foreign code at mark_root + 45 ? for help [31584] OpenMCL kernel debugger: b current thread: tcr = 0xb7c57aa0, native thread ID = 0x7b60, interrupts enabled Bogus frame b7af2950 [31584] OpenMCL kernel debugger: l %ebx (arg_z) = -302950275 %esi (arg_y) = #<header ? #x0805F7E7> ------ %edi (fn) = -1776 ------ zsh: segmentation fault ./lx86cl I have the same environment as in the ticket:338 |
|||
| #7 | fixed | bad register targeting in (setf (aref ...) ...) of 2-dimensional array of element-type T. | ||
| Description |
This code: (defun matrix-times-matrix (mat1 mat2)
"Multiplies two matrices together"
(if (= (array-dimension mat1 1)
(array-dimension mat2 0))
(let ((result (make-array (list (array-dimension mat1 0)
(array-dimension mat2 1)))))
(dotimes (row (array-dimension result 0))
(dotimes (column (array-dimension result 1))
(let ((terms 0))
(dotimes (middle (array-dimension mat1 1))
(setf terms (+ terms (* (or (aref mat1 row middle) 0)
(or (aref mat2 middle column) 0)))))
(setf (aref result row column) terms))))
(return-from matrix-times-matrix result))
(progn
(format t "~&Illegal matrix multiplication:
Matrix sizes ~a x ~a and ~a x ~a don't match."
(array-dimension mat1 0)
(array-dimension mat1 1)
(array-dimension mat2 0)
(array-dimension mat2 1))
(return-from matrix-times-matrix nil))))
blows up in the compiler, when it discovers that it has to go through the write barrier at .SPgvset and that things are in the wrong registers for that. It is possible that this just got exposed in 040708, because previous versions may have gotten MAKE-ARRAY type inferencing wrong |
|||
| #915 | fixed | bad printing of dotted pairs with *print-circle* = t | ||
| Description |
An extra "." can be printed when *print-circle* is t. A log is below. The version (15230) is the trunk as of two days ago. Not sure how to specify the "component" -- I'd guess it's a source code bug, but I don't know. Welcome to Clozure Common Lisp Version 1.8-dev-r15230M-trunk (LinuxX8664)!
? (let* ((*print-circle* t)
(atm "hi")
(alist `((3 . ,atm) (2 . ,atm))))
(print alist))
((3 . #1= . "hi") (2 . #1#))
((3 . "hi") (2 . "hi"))
? '((3 . #1= . "hi") (2 . #1#)) ; the extra dot ruins readability, of course:
> Error: Reader error on #<CCL::RECORDING-CHARACTER-INPUT-STREAM #x3020006EDE3D>, near position 13:
> Dot context error in ".".
> While executing: CCL::SIGNAL-READER-ERROR, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 > :q
? '((3 . #1="hi") (2 . #1#)) ; manual correction
((3 . "hi") (2 . "hi"))
?
|
|||
Note:
See TracQuery
for help on using queries.
