Arc Forumnew | comments | leaders | submitlogin
f~g hangs
8 points by kens 6279 days ago | 4 comments
Entering f~g hangs Arc. (Should there be a thread for bug reports?)

(I was trying to figure out how ssyntax? works when I came across this. Can someone explain why "(not (or (eqv? x '+) (eqv? x '++)))" is in there?)



2 points by kens 6276 days ago | link

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 6276 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 6276 days ago | link

Ok, will look into it.

-----

3 points by pg 6279 days ago | link

Ok, that is a bug. I suppose I should make it mean f:~g.

Those lines are fossils left over from an experiment using + to mean something (I forget what) within symbols. Since I prob will again eventually I left them.

-----