Skip Menu |

This queue is for tickets about the Thread-Suspend CPAN distribution.

Report information
The Basics
Id: 80686
Status: resolved
Priority: 0/
Queue: Thread-Suspend

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.21
Fixed in: 1.22



Subject: test hangs on Windows
Show quoted text
>perl -Mblib t/00_basic.t
1..57 ok 1 - use Thread::Suspend; # Testing Thread::Suspend 1.21 ok 2 - threads->can(...) ok 3 - Threads created ok 4 - No threads suspended ok 5 - Thread 1 not suspended ok 6 - Thread 1 running (line 48) <--- hangs here perl 5.16.1 threads 1.86 threads::shared 1.41 -- Alexandr Ciornii, http://chorny.net
On 2012-11-07 09:20:05, CHORNY wrote: Show quoted text
> >perl -Mblib t/00_basic.t
> 1..57 > ok 1 - use Thread::Suspend; > # Testing Thread::Suspend 1.21 > ok 2 - threads->can(...) > ok 3 - Threads created > ok 4 - No threads suspended > ok 5 - Thread 1 not suspended > ok 6 - Thread 1 running (line 48) > <--- hangs here > > perl 5.16.1 > threads 1.86 > threads::shared 1.41
I cannot reproduce this with Perl under Cygwin on Windows. Does this hang every time? Can you reproduce it with another version of Perl? Is this ActivePerl, or Perl under Cygwin? Is this your own build of Perl? If not, where did it come from?
On Mon Nov 19 15:55:25 2012, JDHEDDEN wrote: Show quoted text
> On 2012-11-07 09:20:05, CHORNY wrote:
> > >perl -Mblib t/00_basic.t
> > 1..57 > > ok 1 - use Thread::Suspend; > > # Testing Thread::Suspend 1.21 > > ok 2 - threads->can(...) > > ok 3 - Threads created > > ok 4 - No threads suspended > > ok 5 - Thread 1 not suspended > > ok 6 - Thread 1 running (line 48) > > <--- hangs here > > > > perl 5.16.1 > > threads 1.86 > > threads::shared 1.41
> > I cannot reproduce this with Perl under Cygwin on Windows. > > Does this hang every time?
No, but frequently (> 50%). Also, sometimes it hangs after test 24. Show quoted text
> Can you reproduce it with another version of > Perl?
perl 5.16.0 - hangs perl 5.14.2 - hangs perl 5.12.3 - ok all tests perl 5.8.9 - ok cpantesters have similar results: http://matrix.cpantesters.org/?dist=Thread-Suspend+1.21 There are no results for 5.14.x and 5.16.x. 02_signal.t also always hangs after test 5, 6, 23 or 26 on perl 5.16.1. Show quoted text
> Is this ActivePerl, or Perl under Cygwin?
Strawberry -- Alexandr Ciornii, http://chorny.net
Fixed in 1.22