Custom Query (1030 matches)
Results (700 - 702 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1251 | fixed | Problem with 2D arrays Win64 / CCL 1.10 | ||
| Description |
The following results in a bad error under CCL 1.10 / Win64. it does work as expected under Win32 : (defun define-char (character &rest data)
(let ((chardata (make-array (list (length data) (length (car data)))
:element-type 'bit
)))
(loop for m from 0
for item in data
do (loop for n from 0
for bit in (coerce item 'list)
do (setf (aref chardata m n) (if (zerop bit) 0 1))
))))
(define-char #\Space
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0)
#(0 0 0 0 0 0 0 0))
? (load "c:/temp/foo.lisp") ;Compiler warnings for "c:/temp/foo.lisp" : ; In DEFINE-CHAR: Unused lexical variable CHARACTER > Error: Fault during read of memory address #xB > While executing: DEFINE-CHAR, in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options.}}} |
|||
| #1252 | fixed | OSX udp socket, "Socket is already connected (error #56) during sendto" | ||
| Description |
on osx 10.7.5. when attempting to call send-to on a socket that already has remote-port/host or local-port set, ccl reports "socket is already connected (error #56) during send-to" code example to tickle this problem http://paste.lisp.org/display/144678 after evaluating the defparameters calls to create the test vector and the socket, all three of the send-to calls fail with the same problem Similar problems are encountered in python apparently. see https://github.com/zerovm/zerocloud/issues/86 |
|||
| #1258 | fixed | hash table shrinks following clrhash | ||
| Description |
See http://lists.clozure.com/pipermail/openmcl-devel/2015-January/010839.html The problem seems to be the lock-free version of clrhash not resetting nhash.grow-threshold. ? (let ((h (make-hash-table :size 100)))
(format t "~&initial: ~s" (ccl::nhash.grow-threshold h))
(dotimes (i 7) (setf (gethash i h) i))
(format t "~&after use: ~s" (ccl::nhash.grow-threshold h))
(clrhash h)
(format t "~&after clrhash: ~s" (ccl::nhash.grow-threshold h)))
initial: 100
after use: 93
after clrhash: 93
Non-lock-free version works fine: ? (let ((h (make-hash-table :size 100 :lock-free nil)))
(format t "~&initial: ~s" (ccl::nhash.grow-threshold h))
(dotimes (i 7) (setf (gethash i h) i))
(format t "~&after use: ~s" (ccl::nhash.grow-threshold h))
(clrhash h)
(format t "~&after clrhash: ~s" (ccl::nhash.grow-threshold h)))
initial: 100
after use: 93
after clrhash: 100
|
|||
