RE: [Win32-API] CPAN Testers Daily Summary Report

[email protected] (bulk 88)
Newsgroups perl.libwin32
Message-ID <[email protected]>


----------------------------------------
> To: [email protected]
> CC: [email protected]; [email protected]
> Subject: Re: Fwd: [Win32-API] CPAN Testers Daily Summary Report
> Date: Tue, 16 Oct 2012 08:08:42 +0200
> From: [email protected]
>
> On Tue, 16 Oct 2012 07:30:05 +0200, Cosimo Streppone <[email protected]>
> wrote:
>
> > Test failure report coming in for 0.71.
> > I still have to apply Steve's patch...
>
> And... 0.72 on its way to CPAN now.
>
> https://github.com/cosimo/perl5-win32-api/tree/0.72
>
> --
> Cosimo

Reading http://www.cpantesters.org/cpan/report/15122d17-6bf7-1014-b570-655f7b11b24e I dont think that fork detection was an issue in that test report. I dont think that that was a no fork perl based on the perl -V in the report. That also was not the exotic 32 bit perl with native quads Mingw build (which I predict will fail on Win32::API .71). It was a 64 bit strawberry perl. The Callback.dll never loaded into the process. In the test report I see "load_file:DLL ÃʱâÈ­ ·çƾÀ» ½ÇÇàÇÒ ¼ö ¾ø½À´Ï´Ù ". What happened there with Dynaloader? Looking at Callback's DllMain ( https://metacpan.org/source/COSIMO/Win32-API-0.71/Callback/Callback.xs#L49 ), I dont see anything would cause an access vio. To make sure I'm not crazy, I reran .71 on my 64 bit strawberry perl and it worked. I'm not sure what to do about that report. 
_____________________________________________________________________________
C:\Documents and Settings\Administrator\Desktop\w32api71\p>dmake test
cp Type.pm blib\lib\Win32/API/Type.pm
cp Callback.pm blib\lib\Win32/API/Callback.pm
cp Test.pm blib\lib\Win32/API/Test.pm
cp Struct.pm blib\lib\Win32/API/Struct.pm
cp API.pm blib\lib\Win32/API.pm
cp IATPatch.pod blib\lib\Win32/API/Callback/IATPatch.pod
C:\sperl\perl\bin\perl.exe C:\sperl\perl\lib\ExtUtils\xsubpp  -typemap C:\sperl\
perl\lib\ExtUtils\typemap  Callback.xs > Callback.xsc && C:\sperl\perl\bin\perl.
exe -MExtUtils::Command -e mv -- Callback.xsc Callback.c
gcc -c          -ggdb -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS
 -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-ali
asing -mms-bitfields -O2          -DVERSION=\"0.71\"    -DXS_VERSION=\"0.71\"  "
-IC:\sperl\perl\lib\CORE"   Callback.c
Running Mkbootstrap for Win32::API::Callback ()
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Callback.bs
C:\sperl\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' => 'Callback', 'D
L_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Callback.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -Wl,--base-file -Wl,dll
.base -mdll  -L"C:\sperl\perl\lib\CORE" -L"C:\sperl\c\lib" Callback.o   C:\sperl
\perl\lib\CORE\libperl514.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -l
comdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmp
r -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Callback.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll  -L"C:\sperl\perl
\lib\CORE" -L"C:\sperl\c\lib" Callback.o   C:\sperl\perl\lib\CORE\libperl514.a -
lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32
-lodbccp32 -lcomctl32 dll.exp
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 ..\blib\arch\auto
\Win32\API\Callback\Callback.dll
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e cp -- Callback.bs ..\blib\arch
\auto\Win32\API\Callback\Callback.bs
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 ..\blib\arch\auto
\Win32\API\Callback\Callback.bs
C:\sperl\perl\bin\perl.exe C:\sperl\perl\lib\ExtUtils\xsubpp  -nolinenumbers  -t
ypemap C:\sperl\perl\lib\ExtUtils\typemap -typemap typemap  API.xs > API.xsc &&
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e mv -- API.xsc API.c
gcc -c          -ggdb -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS
 -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-ali
asing -mms-bitfields -O2          -DVERSION=\"0.71\"    -DXS_VERSION=\"0.71\"  "
-IC:\sperl\perl\lib\CORE"   API.c
as  call_asm_x64_gnu.s -o call_asm_x64_gnu.o
Running Mkbootstrap for Win32::API ()
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 API.bs
C:\sperl\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Win32::API\", 'DLBASE' => 'API', 'DL_FUNCS' => {
}, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def API.def --output-exp dll.exp
g++ -o blib\arch\auto\Win32\API\API.dll -Wl,--base-file -Wl,dll.base -mdll  -L"C
:\sperl\perl\lib\CORE" -L"C:\sperl\c\lib" API.o call_asm_x64_gnu.o   C:\sperl\pe
rl\lib\CORE\libperl514.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcom
dlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -
lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def API.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Win32\API\API.dll -mdll  -L"C:\sperl\perl\lib\CORE" -L"C:\
sperl\c\lib" API.o call_asm_x64_gnu.o   C:\sperl\perl\lib\CORE\libperl514.a -lmo
ldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -l
ole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lo
dbccp32 -lcomctl32 dll.exp
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Wi
n32\API\API.dll
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e cp -- API.bs blib\arch\auto\Wi
n32\API\API.bs
C:\sperl\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 blib\arch\auto\Wi
n32\API\API.bs
C:\sperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib
\lib', 'blib\arch')" t/*.t
t/00_API.t .......... 1/48 # API test dll found at (API_test64.dll)
t/00_API.t .......... ok
t/01_Struct.t ....... Hexadecimal number > 0xffffffff non-portable at t/01_Struc
t.t line 162.
t/01_Struct.t ....... 1/18 # $^E=
# leaked mem warning intentional
Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C functio
n, possible resource leak at t/01_Struct.t line 173
Use of uninitialized value in subroutine entry at C:\Documents and Settings\Admi
nistrator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 267.
Win32::API::Struct::Unpack struct pointer member "pDot11Ssid" was changed by C f
unction, possible resource leak at t/01_Struct.t line 173
Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C functio
n, possible resource leak at t/01_Struct.t line 182
# unknown type is intentional
Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 2
33
Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 2
51
t/01_Struct.t ....... ok
t/02_GetProcess.t ... 1/3 # $result=47476
# $$=47476
t/02_GetProcess.t ... ok
t/03_undef.t ........ # Win32::API 0.71
# Import: The handle is invalid
t/03_undef.t ........ ok
t/04_rt_48006.t ..... 1/4

Uninit warnings are intentional

Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value $packing in pack at C:\Documents and Settings\Adminis
trator\Desktop\w32api71\p\blib\lib/Win32/API/Struct.pm line 317.
# Size is 296. Should be 296
t/04_rt_48006.t ..... ok
t/05_more_struct.t .. ok
t/06_rt_74578.t ..... 1/3 # @pack=(LLLLLLLlLa260, ARRAY(0x207fda8), ARRAY(0x207f
ec8), 296, ARRAY(0x1f656d8))
t/06_rt_74578.t ..... ok
t/pod-coverage.t .... skipped: Test::Pod::Coverage required for testing pod cove
rage
t/pod.t ............. skipped: Test::Pod 1.14 required for testing POD
t/v69.t ............. 1/36 # API test dll found at (API_test64.dll)
Win32::API::parse_prototype: bad prototype 'HANDLE  GetProcessHeap( void ** ptr
)' at C:\Documents and Settings\Administrator\Desktop\w32api71\p\blib\lib/Win32/
API.pm line 532.
t/v69.t ............. ok
t/v70.t ............. ok
t/v71.t ............. 1/23 # API test dll found at (API_test64.dll)
t/v71.t ............. ok
All tests successful.
Files=12, Tests=181,  4 wallclock secs ( 0.16 usr +  0.17 sys =  0.33 CPU)
Result: PASS
C:\sperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..\b
lib\lib', '..\blib\arch')" t/*.t
t/02_Callback.t ...... 1/21 # Compiler name:gcc
# Compiler version:0
# $^E=
t/02_Callback.t ...... ok
t/03_Jim_Shaw.t ...... ok
t/04_rt_53914.t ...... skipped: GenerateConsoleCtrlEvent() crashes consistently.
 Reason unknown so far.
t/iat.t .............. ok
t/ithreads.t ......... ok
t/threading_fails.t .. Win32::API::Callback (XS) no perl interp in thread id 398
12, callback can not run
t/threading_fails.t .. ok
All tests successful.
Files=6, Tests=56,  3 wallclock secs ( 0.14 usr +  0.16 sys =  0.30 CPU)
Result: PASS

C:\Documents and Settings\Administrator\Desktop\w32api71\p>perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x64-multi-thread
    uname='Win32 strawberryperl 5.14.2.1 #1 Tue Nov 22 22:40:59 2011 x64'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -ggdb -O2 -DWIN32 -DWIN64 -DCONSERVATIVE  -DPERL_TEXTMO
DE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-
strict-aliasing -mms-bitfields',
    optimize=' -O2 ',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.4.7', gccosandvers=''
    intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags =' -L"C:\sperl\perl\lib\CORE" -L"C:\sperl\c\lib"'
    libpth=C:\sperl\c\lib C:\sperl\c\x86_64-w64-mingw32\lib
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
 -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladva
pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver
sion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl514.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll  -L"C:\sperl\perl\lib\CORE" -L"C:\sperl\c\l
ib"'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE
  Built under MSWin32
  Compiled at Nov 22 2011 22:53:05
  @INC:
    C:/sperl/perl/site/lib
    C:/sperl/perl/vendor/lib
    C:/sperl/perl/lib
    .

C:\Documents and Settings\Administrator\Desktop\w32api71\p>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.