You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Steve Hay <st...@uk.radan.com> on 2004/07/08 09:49:31 UTC

t/perl/ithreads.t leaks 1 scalar?

Testing out the current CVS mp2, I find that t/perl/ithreads.t outputs a 
message saying "Scalars leaked: 1" when running the whole test suite:

[...]
t\perl\api..............................skipped
        all skipped: getppid() is not implemented on Win32
t\perl\hash_attack......................ok
t\perl\ithreads.........................Scalars leaked: 1
Scalars leaked: 1
t\perl\ithreads.........................ok
t\perl\ithreads2........................ok
t\preconnection\note....................ok
[...]

Re-running just that test alone didn't produce the message.

Does anyone else get that?  Is it relevant?

Aside from that the main test suite now passed all tests for me on Win32.

- Steve



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only.  If you have received this message in error or there are any problems, please notify the sender immediately.  The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.  Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd.  The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: t/perl/ithreads.t leaks 1 scalar?

Posted by Steve Hay <st...@uk.radan.com>.
Stas Bekman wrote:

>Steve Hay wrote:
>  
>
>>Testing out the current CVS mp2, I find that t/perl/ithreads.t outputs a 
>>message saying "Scalars leaked: 1" when running the whole test suite:
>>
>>[...]
>>t\perl\api..............................skipped
>>        all skipped: getppid() is not implemented on Win32
>>t\perl\hash_attack......................ok
>>t\perl\ithreads.........................Scalars leaked: 1
>>Scalars leaked: 1
>>    
>>
>
>How come you get it on the client side? It should be in the error log.
>
No idea :-s

>
>  
>
>>t\perl\ithreads.........................ok
>>t\perl\ithreads2........................ok
>>t\preconnection\note....................ok
>>[...]
>>
>>Re-running just that test alone didn't produce the message.
>>
>>Does anyone else get that?  Is it relevant?
>>    
>>
>
>I think I did see them with older perls and worker mpm (but in the error 
>log, not like you posted). Haven't been working with worker recently. 
>Which perl is that?
>
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 
usemultiplicity=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  -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
    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  
-libpath:"C:\apache2\perl5\lib\CORE"  -machine:x86'
    libpth=C:\PROGRA~1\MICROS~2\VC98\lib
    libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  
netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib 
odbc32.lib odbccp32.lib msvcrt.lib
    perllibs=  oldnames.lib kernel32.lib user32.lib gdi32.lib 
winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib 
oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  
version.lib odbc32.lib odbccp32.lib msvcrt.lib
    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:\apache2\perl5\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
  Built under MSWin32
  Compiled at Apr 28 2004 14:21:31
  @INC:
    C:/apache2/perl5/lib
    C:/apache2/perl5/site/lib
    .




------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only.  If you have received this message in error or there are any problems, please notify the sender immediately.  The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.  Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd.  The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: t/perl/ithreads.t leaks 1 scalar?

Posted by Stas Bekman <st...@stason.org>.
Steve Hay wrote:
> Testing out the current CVS mp2, I find that t/perl/ithreads.t outputs a 
> message saying "Scalars leaked: 1" when running the whole test suite:
> 
> [...]
> t\perl\api..............................skipped
>         all skipped: getppid() is not implemented on Win32
> t\perl\hash_attack......................ok
> t\perl\ithreads.........................Scalars leaked: 1
> Scalars leaked: 1

How come you get it on the client side? It should be in the error log.

> t\perl\ithreads.........................ok
> t\perl\ithreads2........................ok
> t\preconnection\note....................ok
> [...]
> 
> Re-running just that test alone didn't produce the message.
> 
> Does anyone else get that?  Is it relevant?

I think I did see them with older perls and worker mpm (but in the error 
log, not like you posted). Haven't been working with worker recently. 
Which perl is that?

> Aside from that the main test suite now passed all tests for me on Win32.

neat! though some fixes are just in-test workarounds, still need to 
resolve a few hard problems.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org