Arc Forumnew | comments | leaders | submitlogin
2 points by kens 6278 days ago | link | parent

A bug that causes a core dump(!):

  arc> (= x '(1 2)) 
  arc> (sref x x 1)
    GC Warning: Out of Memory!  Returning NIL!
  ./arc.sh: line 16: 13045 Segmentation fault      $mzscheme -m -d "$arc_dir/as.scm"
I was expecting to create a circular list. (This is unrelated to my earlier bug, but I figure no point starting a new thread.)


1 point by absz 6277 days ago | link

I tried it on my machine, and got the same error (well, I ^Ced out before it finished, but it was the same thing). However, the segfault isn't in the creation--it's in the display. Observe:

  arc> (= x '(1 2))
  (1 2)
  arc> (do (sref x x 1) t)
  t
Of course, this makes it difficult to test if there is a bug somewhere...

-----

2 points by pg 6278 days ago | link

Ok, will look into it.

-----