Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[BUG] threads panic

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


jdhedden at cpan

Nov 23, 2009, 6:57 AM

Post #1 of 3 (278 views)
Permalink
[BUG] threads panic

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.


nick at ccl4

Nov 23, 2009, 7:07 AM

Post #2 of 3 (267 views)
Permalink
Re: [BUG] threads panic [In reply to]

On Mon, Nov 23, 2009 at 09:57:29AM -0500, Jerry D. Hedden wrote:
> 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.

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

Nicholas Clark


jdhedden at cpan

Nov 23, 2009, 7:10 AM

Post #3 of 3 (266 views)
Permalink
Re: [BUG] threads panic [In reply to]

On Mon, Nov 23, 2009 at 10:07, Nicholas Clark <nick [at] ccl4> wrote:
> On Mon, Nov 23, 2009 at 09:57:29AM -0500, Jerry D. Hedden wrote:
>> 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.
>
> 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.

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.