Okay. I reverted to my 5.8.4 installation, and rebuilt from scratch and then ran the 01test.t with the same result. A segfault when running either test 9 or 10. I looked into 01test.t, but couldn't easily work out which test corresponded to which number as several are commented out, and it's not obvious from teh data logged exactly which test (9 or 10) is actually giving the segfault?

P:\packages\Thread-Apartment-0.10>perl -V Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultip +licity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D +_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICI +T_CON optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64 +', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -l +ibpath:"c:\Perl\lib\CORE" -machine:x86' libpth=C:\PROGRA~1\MICROS~3\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib + comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netap +i32.l perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool +.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib n +etapi libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt: +ref,icf -libpath:"c:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL +_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 810 22751 Update to Test.pm 1.25 21540 Fix backward-compatibility issues in if.pm Built under MSWin32 Compiled at Jun 1 2004 11:52:21 @INC: c:/Perl/lib c:/Perl/site/lib . P:\packages\Thread-Apartment-0.10>nmake realclean Microsoft (R) Program Maintenance Utility Version 8.00.40607.16 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf ./blib Makef +ile.aperl blib\arch\auto\Thread\Apartment/extralibs.all blib\arch\aut +o\Thr C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Makefile Makefi +le.old > NUL C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f *.pdb C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf blib\lib\aut +o\Thread\Apartment blib\arch\auto\Thread\Apartment C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_rf Thread-Apart +ment-0.10 C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f blib\lib\Thr +ead\Apartment\Common.pm blib\lib\Thread\Apartment\Server.pm Makefile. +old b C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f blib\lib\Thre +ad\Apartment\IOServer.pm Makefile P:\packages\Thread-Apartment-0.10>makefile main::CheckModule() called too early to check prototype at P:\packages +\Thread-Apartment-0.10\Makefile.PL line 41. Configuring Thread::Apartment ... Checking for Thread::Queue::Duplex, 0.14 or later ... ok Checking for Storable, 2.15 or later ... ok Checking for Class::ISA, 0.32 or later ... ok Checking for Class::Inspector, 1.08 or later ... ok Checking if your kit is complete... Looks good Writing Makefile for Thread::Apartment P:\packages\Thread-Apartment-0.10>nmake test Microsoft (R) Program Maintenance Utility Version 8.00.40607.16 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Thread/Apartment.pm blib\lib\Thread\Apartment.pm cp lib/Thread/Apartment/Client.pm blib\lib\Thread\Apartment\Client.pm cp lib/Thread/Apartment/Common.pm blib\lib\Thread\Apartment\Common.pm cp lib/Thread/Apartment/IOServer.pm blib\lib\Thread\Apartment\IOServer +.pm cp lib/Thread/Apartment/Server.pm blib\lib\Thread\Apartment\Server.pm cp lib/Thread/Apartment/Closure.pm blib\lib\Thread\Apartment\Closure.p +m C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn +ess(0, 'blib\lib', 'blib\arch')" t\01test.t t\01test....Note: some tests have significant delays... t\01test....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 10-125 Failed 116/125 tests, 7.20% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t\01test.t 5 1280 125 232 185.60% 10-125 Failed 1/1 test scripts, 0.00% okay. 116/125 subtests failed, 7.20% ok +ay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2' Stop. P:\packages\Thread-Apartment-0.10>C:\Perl\bin\perl.exe "-MExtUtils::Co +mmand::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\01test.t t\01test....Note: some tests have significant delays... t\01test....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 10-125 Failed 116/125 tests, 7.20% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t\01test.t 5 1280 125 232 185.60% 10-125 Failed 1/1 test scripts, 0.00% okay. 116/125 subtests failed, 7.20% ok +ay.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

In reply to Re^3: Apartment Threading in Perl by BrowserUk
in thread Apartment Threading in Perl by renodino

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.