Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[BUG] threads panic

1 view
Skip to first unread message

Jerry D. Hedden

unread,
Nov 23, 2009, 9:57:29 AM11/23/09
to pp, Nicholas Clark
The following script:

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.

Nicholas Clark

unread,
Nov 23, 2009, 10:07:01 AM11/23/09
to Jerry D. Hedden, perl5-...@perl.org

I have no idea what the cause could be.
This ought to be a bug report in RT.

Nicholas Clark

Jerry D. Hedden

unread,
Nov 23, 2009, 10:10:38 AM11/23/09
to Jerry D. Hedden, perl5-...@perl.org

Okay. I'll enter one.

0 new messages