petdance/scratch — Issue #562: Order-of-destruction error with Scheduler PMC
Author: petdance
Created: 2011-11-14 06:01:12+00:00
State: open
Labels: bug, gc, Pri-normal, Sev-medium

An order-of-destruction bug has appeared in the scheduler shortly after 1.5.0. The Scheduler PMC is being swept during finalization before the tasks that depend on it. In r40799 I commented out a line in the VTABLE_destroy of the scheduler that prevents the scheduler mutex from being destroyed, which seems to prevent the problem.
We need a real fix for this issue.

Originally http://trac.parrot.org/parrot/ticket/946