Error with cyclic arrays in backtraces

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3427

Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se

The following code produces a hang.

void foo() {

  void bar(array i) {
    error("gazonk\n");
  };

  array a = ({ 0 });
  a[0]=a;
  bar(a);
}