Ticket #946 (new bug)

Opened 5 years ago

Last modified 3 years ago

Order-of-destruction error with Scheduler PMC

Reported by: whiteknight Owned by:
Priority: normal Milestone:
Component: GC Version: 1.5.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

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.

Change History

Changed 5 years ago by NotFound

Looks like r40825 fixed the root of the problem. Uncommenting in r40826.

Changed 3 years ago by nwellnhof

This is fixed now, isn't it? The Scheduler PMC is special cased during global destruction.

Note: See TracTickets for help on using tickets.