Subject: | Thread-Tie-0.08 fails and hangs during tests on Win32 (ActiveState 5.8.0) |
I have applied the workaround in ticket 2038 (converted all the .pm files to Unix LF format before attempting the build).
I believe that this is a different problem - possibly with different behaviour in the debugger as outside (possible race or timing issue).
D:\Ivor\Thread-Tie-0.08>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
D:\programs\perl-5.8.0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test
_harness(0, 'blib\lib', 'blib\arch')" t\Tie01.t t\Tie02.t
t\Tie01....ok 4/71thread failed to start: Can't locate .pm in @INC (@INC contains: D:\Ivor\Thread-Tie-0.08\blib\lib D:\Ivor\Thread-Tie-0.08\blib\arch D:/programs/perl-5.8.0/lib D:/programs/perl-5.8.0/site/lib . D:/programs/perl-5.8.0/lib D:/programs/perl-5.8.0/site/lib .) at (eval 18) line 16.
and it just sits there until I <Ctrl/C>, when it gives:
Terminating on signal SIGINT(2)
NMAKE : U1058:
Stop.
D:\Ivor\Thread-Tie-0.08>
Rerunning again using perl5db, it seems to be hanging on test 10:
DB<1>
ok 9 - check semaphore type isa SCALAR
main::(t/tie01.t:40): cmp_ok( $scalar,'==',10, 'check scalar numerical fetch' );
DB<1>
thread failed to start: Attempting to Thread::Tie::Scalar::FETCH without an object at 1
Thread::Tie::Thread::OBJECT() called at blib\lib/Thread/Tie/Thread.pm line 57
eval {...} called at blib\lib/Thread/Tie/Thread.pm line 57
Unfortunately, <Ctrl/C> does not return me to the debugger, so I can't get a stack trace.