Skip Menu |

This queue is for tickets about the threads-shared CPAN distribution.

Report information
The Basics
Id: 72912
Status: resolved
Priority: 0/
Queue: threads-shared

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

Bug Information
Severity: Normal
Broken in: 1.40
Fixed in: (no value)



Subject: Stalled in t/stress.t on Cygwin on perl5.14.1, also stalls while brewing from blead


PERL_DL_NONLAZY=1 /usr/bin/perl5.14.1.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
<snip>
t/stress.t ....... Failed 1/1 subtests  <--- stalls here indefinitely.
<snip>
Test Summary Report
-------------------
t/stress.t     (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=20, Tests=732, 1839 wallclock secs ( 0.30 usr  0.27 sys +  2.24 cusr  0.81 csys =  3.61 CPU)
Result: FAIL
Failed 1/20 test programs. 0/732 subtests failed.
make: *** [test_dynamic] Error 255
FAIL


This results in the process using 0 cpu , but not returning, and needing to be killed manually.

The same happens when installing/testing blead-perl with perlbrew on Cygwin.

This may also be relevant, not sure: 

Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62)
Checking if you have warnings 0 ... Yes (1.12)
Checking if you have Scalar::Util 0 ... Yes (1.23)
Checking if you have XSLoader 0 ... Yes (0.13)
Checking if you have threads 1.73 ... Yes (1.83)
Checking if you have ExtUtils::testlib 0 ... Yes (6.62)
Checking if you have Carp 0 ... Yes (1.23)
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have strict 0 ... Yes (1.04)
Checking if you have Test 0 ... Yes (1.25_02)
Building and testing threads-shared-1.40 ... cp lib/threads/shared.pm blib/lib/threads/shared.pm
/usr/bin/perl5.14.1.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.14/ExtUtils/typemap  shared.xs > shared.xsc && mv shared.xsc shared.c
gcc-4 -c   -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3 -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3   -DVERSION=\"1.40\" -DXS_VERSION=\"1.40\"  "-I/usr/lib/perl5/5.14/i686-cygwin/CORE"  -DHAS_PPPORT_H shared.c
Running Mkbootstrap for threads::shared ()
chmod 644 shared.bs
rm -f blib/arch/auto/threads/shared/shared.dll
g++-4   --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--image-base=0x57880000 -L/usr/local/lib -fstack-protector shared.o  -o blib/arch/auto/threads/shared/shared.dll    \
          /usr/lib/perl5/5.14/i686-cygwin/CORE/cygperl5_14.dll          \

chmod 755 blib/arch/auto/threads/shared/shared.dll
cp shared.bs blib/arch/auto/threads/shared/shared.bs
chmod 644 blib/arch/auto/threads/shared/shared.bs
Manifying blib/man3/threads.shared.3pm



On Fri Dec 02 20:51:43 2011, KENTNL wrote: Show quoted text
> t/stress.t ....... Failed 1/1 subtests <--- stalls here indefinitely.
By default, cygwin perl is built with -Dusemymalloc (this is the Configure default for 32-bit pointers). If you build with -Uusemymalloc then stress.t runs to completion and passes all tests. Tony
On 2012-01-19 17:48:07, TONYC wrote: Show quoted text
> On Fri Dec 02 20:51:43 2011, KENTNL wrote:
> > t/stress.t ....... Failed 1/1 subtests <--- stalls here indefinitely.
> > By default, cygwin perl is built with -Dusemymalloc (this is the > Configure default for 32-bit pointers). > > If you build with -Uusemymalloc then stress.t runs to completion and > passes all tests. > > Tony
Resolved.