use threads;
sub foo {
return (sub { });
}
my $bar = threads->create(\&foo)->join();
threads->create(sub { })->join();
produces the following:
panic: del_backref during global destruction.
I traced this down to Nick's commit
a49ba3fcbe357fbacf7b9898df08daa2cbdfc8c4 (perforce change 34354), but
have no idea what a fix might be.
I have no idea what the cause could be.
This ought to be a bug report in RT.
Nicholas Clark
Okay. I'll enter one.