On Mon, Aug 19, 2002 at 11:31:23AM +0000, Leopold Toetsch wrote:
> 
> recent changes in hash.c seems to hang[1] hash_clone.
> This patch works, but I don't know, if it is the correct way to solve 
> the problem.
> 
> [1]
> $perl6 -Rt -vwk t/compiler/a_2.p6
> ......
> PC=726; OP=183 (clone_p_p); ...

Nope. Commenting that line out just re-introduces GC bugs. But you are
correct; those two lines were wrong and trigger an infinite loop if
your hashtable has more than one entry in any chain.

Thanks for the catch. I have committed a fix.

Reply via email to