freenode/#sbcl - IRC Chatlog
Search
9:27:08
scymtym
i think didi in #lisp may have found a gc(?) bug. i reduced it to (defun f (&rest r) (list (make-string 100000) (assert (every #'stringp r)))) (defun h () (loop (apply #'f (loop :repeat 200000 :collect (make-string 10))))). when compiled with (debug 3) (speed 1) (safety 3), a call to H fails after a while
12:15:11
|3b|
hmm, seems to be consistently after 5 GCs first try, then 17 after that (as measured by printing from *after-gc-hooks*)
12:27:49
|3b|
and heap size seems to matter, running with --dynamic-space-size 2048 it isn't failing on 1.3.x
12:29:57
|3b|
i think person on #lisp was using --dynamic-space-size 4096 and --control-stack-size 32
12:47:15
scymtym
right, the heap size seems to be important. sbcl --dynamic-space-size 4Gb --noinform --no-userinit --eval '(compile-file "THEFILE.lisp")' --eval '(load "THEFILE.fasl")' --eval '(h)' makes it fail with 1.4.5.debian for me
12:51:09
scymtym
just supplying --dynamic-space-size, irregardless of the value, seems to make it fail in that case