[Catalyst] auth::DBIC & session problems

Jonathan Rockway jon at jrock.us
Wed Sep 6 23:44:31 CEST 2006


t\threaded.t does indeed blow up (Windows "perl.exe is hosed" dialog)
during a CPAN install.  If I run it manually, perl just silently dies
after test 3.

Here's the output from CPAN:
>   CPAN.pm: Going to build N/NU/NUFFIN/Tie-RefHash-1.34.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Tie::RefHash
> CPAN: YAML loaded ok
> cp lib/Tie/RefHash.pm blib\lib\Tie\RefHash.pm
>   C:\strawberry-perl\dmake\bin\dmake.EXE  -- OK
> Running make test
> C:\strawberry-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'bl
> ib\arch')" t/*.t
> t/rebless.....ok
> t/refhash.....ok
> t/storable....ok
> t/threaded....dubious
>         Test returned status 5 (wstat 1280, 0x500)
> DIED. FAILED tests 4-14
>         Failed 11/14 tests, 21.43% okay
> Failed Test  Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/threaded.t    5  1280    14   22 157.14%  4-14
> Failed 1/4 test scripts, 75.00% okay. 11/79 subtests failed, 86.08% okay.
> dmake.EXE:  Error code 133, while making 'test_dynamic'
>   C:\strawberry-perl\dmake\bin\dmake.EXE test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force



Here's the debugging output when running manually:

> C:\Documents and Settings\jrockway\Local Settings\Temp\cpan\build\Tie-RefHash-1.34>c:\strawberry-per
> l\perl\bin\perl.exe -d -Ilib -T t\threaded.t
> 
> Loading DB routines from perl5db.pl version 1.28
> Editor support available.
> 
> Enter h or `h h' for help, or `perldoc perldebug' for more help.
> 
> 1..14
> main::(t\threaded.t:26):        $\ = "\n";
> main::(t\threaded.t:27):        sub ok ($$) {
> 
> SetConsoleMode failed, LastError=|6| at c:/strawberry-perl/perl/site/lib/Term/ReadKey.pm line 265.
>  at c:/strawberry-perl/perl/site/lib/Term/ReadLine/readline.pm line 1580
>         readline::readline('  DB<1> ') called at c:/strawberry-perl/perl/site/lib/Term/ReadLine/Perl
> .pm line 11
>         Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0xd59ea8)', '  DB<1> ') called at
>  c:/strawberry-perl/perl/lib/perl5db.pl line 6367
>         DB::readline('  DB<1> ') called at c:/strawberry-perl/perl/lib/perl5db.pl line 2203
>         DB::DB called at t\threaded.t line 26
>   DB<1> c
> ok - fetch by string before clone (foo)
> ok - fetch by ref before clone (HASH(0xd46408))
> ok - fetch by ref before clone (ARRAY(0xd461a4))
> 
> C:\Documents and Settings\jrockway\Local Settings\Temp\cpan\build\Tie-RefHash-1.34>

Under Cygwin, though, everything works fine.  I almost wonder why anyone
even bothers with non-Cygwin perl.

>   CPAN.pm: Going to build N/NU/NUFFIN/Tie-RefHash-1.34.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Tie::RefHash
> cp lib/Tie/RefHash.pm blib/lib/Tie/RefHash.pm
>   /usr/bin/make -j3 -- OK
> Running make test
> /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/rebless.....ok
> t/refhash.....ok
> t/storable....ok
> t/threaded....ok
> All tests successful.
> Files=4, Tests=79,  2 wallclock secs ( 0.85 cusr +  0.26 csys =  1.11 CPU)
>   /usr/bin/make test -- OK
> Running make install
> Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
> Installing /usr/lib/perl5/site_perl/5.8/Tie/RefHash.pm
> Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Tie/RefHash/.packlist
>   /usr/bin/make install -j3 -- OK



Original message:

> No dice on better output. It gets to threads->create(), and then silent
> death.
> 



More information about the Catalyst mailing list