>Try out bug #465 for size, as it's my current holdup (for some reason it >didn't forward to p6i). In this case a restore instruction sends the >parrot runtime into a loop from which it never (28 hours later) >recovers. It's probably Yet Another Garbage Collection bug or related to >the stuff that Melvin was working on, I dunno. > >Yes, the test case is HUGE but the rewards are great if it can be fixed.
Now that my flu is abating, here's a small test case. Could someone please append this to bug #465's info as a preferred test case? It's probably even a fair test for parrot itself. If you want the DUMPSTACK routine, let me know otherwise just looking at the stack should be enough to tell that it went screwy. The hang occurs as you're re-reading the stack after this runs, one of the restore Sx instructions hangs. set I3, 0 set S3, "I am the very model of a moden major general I have information animal, vegetable a nd mineral." OUTER: set S0, S3 inc I3 set S1, "" eq I3, 10, END set I5, 0 LOOP: length I0, S0 le I0, 0, ENDLOOP substr S1, S0, 0, 5 sub I0, I0, 5 substr S0, S0, 5, I0 save S1 inc I5 branch LOOP ENDLOOP: branch OUTER END: save I5 #bsr DUMPSTACK # It hangs in here, the stack is already very corrupt # Ask if you need this. end