Skip Menu |

This queue is for tickets about the Win32-API CPAN distribution.

Report information
The Basics
Id: 80249
Status: resolved
Priority: 0/
Queue: Win32-API

People
Owner: BULKDD [...] cpan.org
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.72
Fixed in: (no value)



Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
See attached fail log from my strawberry perl 5.16.1/x64 @ Windows 7.

--
kmx
Subject: win32-api-0.72-strawberry64bit-test-failure.txt

Message body is not shown because it is too large.

Y:\>perl -V
Summary of my perl5 (revision 5 version 16 subversion 1) configuration:

  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x64-multi-thread
    uname='Win32 strawberry-perl 5.16.1.1 #1 Thu Aug  9 07:49:27 2012 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 =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bi
tfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.6.3', 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 ='-s -L"Z:\strawberry64_5161\perl\lib\CORE" -L"Z:\strawberry64_5161\c\lib"'
    libpth=Z:\strawberry64_5161\c\lib Z:\strawberry64_5161\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 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver
sion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl516.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"Z:\strawberry64_5161\perl\lib\CORE" -L"Z:\strawberry64_5161\c\lib"'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS 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_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under MSWin32
  Compiled at Aug  9 2012 07:55:51
  %ENV:
    PERL_MM_USE_DEFAULT="1"
  @INC:
    Z:/strawberry64_5161/perl/site/lib
    Z:/strawberry64_5161/perl/vendor/lib
    Z:/strawberry64_5161/perl/lib
    .

On Wed Oct 17 16:12:06 2012, KMX wrote: Show quoted text
> See attached fail log from my strawberry perl 5.16.1/x64 @ Windows 7. > > -- > kmx
New version posted at https://github.com/bulk88/perl 5-win32-api . It passed all tests for my 32 bit with Quads Cygwin Perl. I didn't do anything specific for your x64 Strawberry Perl Callback.dll not loading problem in this ticket. On my x64 Strawberry Perl 5.14.2 all tests passed. Please try it and report back. If its still not passing for you, I will have to make a custom commit for you on github with debugging messages in the DllMain in Callback.xs since DllMain is probably returning false and then LoadLibrary and then Dynaloader fail.
On Fri Oct 19 01:50:20 2012, BULKDD wrote: Show quoted text
> On Wed Oct 17 16:12:06 2012, KMX wrote:
> > See attached fail log from my strawberry perl 5.16.1/x64 @ Windows 7. > > > > -- > > kmx
> > New version posted at https://github.com/bulk88/perl 5-win32-api . It > passed all tests for my 32 bit with Quads Cygwin Perl. I didn't do > anything specific for your x64 Strawberry Perl Callback.dll not loading > problem in this ticket. On my x64 Strawberry Perl 5.14.2 all tests > passed. Please try it and report back. If its still not passing for you, > I will have to make a custom commit for you on github with debugging > messages in the DllMain in Callback.xs since DllMain is probably > returning false and then LoadLibrary and then Dynaloader fail. > >
I got a hypothesis on why Callback.dll is/was failing. If it still fails to load by DynaLoader for you, can you please attach the Callback.dll that was generated on your machine to this ticket?
Subject: Re: [rt.cpan.org #80249] v0.72 fails many tests on 64bit strawberry perl 5.16.1
Date: Fri, 19 Oct 2012 19:19:24 +0200
To: bug-Win32-API [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Unfortunately still the same failure 1/ see enclosed Callback.dll 2/ maybe important note - strawberry perl 5.16.1 is bundled with newer gcc (4.6.3) + newer C-runtime (comparing to strawberry 5.14.2) which might mean something - anyway in the new coming strawberry 5.14.3.1 I have upgraded gcc to 4.6.3 as well, thus support for 4.6.3 + latest C-runtime from mingw-w64 is crucial for strawberry perl. If you want to test some version with more debug messages just commit them to your git repo, I will re-run the tests. Thanks for your time. -- kmx
Download Callback.dll
application/octet-stream 24.5k

Message body not shown because it is not plain text.

RT-Send-CC: kmx [...] volny.cz
On Fri Oct 19 13:19:38 2012, kmx@volny.cz wrote: Show quoted text
> Unfortunately still the same failure > > 1/ see enclosed Callback.dll > > 2/ maybe important note - strawberry perl 5.16.1 is bundled with newer
gcc Show quoted text
> (4.6.3) + newer C-runtime (comparing to strawberry 5.14.2) which might
mean Show quoted text
> something - anyway in the new coming strawberry 5.14.3.1 I have upgraded > gcc to 4.6.3 as well, thus support for 4.6.3 + latest C-runtime from > mingw-w64 is crucial for strawberry perl. >
My hypothesis for the x64 Strawberry Perl 5.16 was correct after looking at the DLL you posted (I did not execute it). Try my latest version at https://github.com/bulk88/perl5-win32-api/ and report back. If you want the backstory, http://www.cygwin.com/ml/cygwin-apps/2010-03/msg00075.html is the specific change on why x64 S Perl 5.14 worked for me and x64 S Perl 5.16 didn't for you.
Subject: Re: [rt.cpan.org #80249] v0.72 fails many tests on 64bit strawberry perl 5.16.1
Date: Sat, 20 Oct 2012 08:46:06 +0200
To: bug-Win32-API [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Show quoted text
> My hypothesis for the x64 Strawberry Perl 5.16 was correct after looking > at the DLL you posted (I did not execute it). Try my latest version at > https://github.com/bulk88/perl5-win32-api/ and report back.
Thanks, now it works, please pull your fix to the main repo. -- kmx
On Sat Oct 20 02:46:21 2012, kmx@volny.cz wrote: Show quoted text
>
> > My hypothesis for the x64 Strawberry Perl 5.16 was correct after looking > > at the DLL you posted (I did not execute it). Try my latest version at > > https://github.com/bulk88/perl5-win32-api/ and report back.
> > Thanks, now it works, please pull your fix to the main repo. > > -- > kmx
I plan to create 1 stable commit (currently the commit on bulk88/my repo is not stable) that creates the next CPAN release, then pull it back with Cosimo's repo. Do you want to create a patch against the current git code base for some reason?
RT-Send-CC: kmx [...] volny.cz
On Sat Oct 20 04:01:36 2012, BULKDD wrote: Show quoted text
> On Sat Oct 20 02:46:21 2012, kmx@volny.cz wrote:
> >
> > > My hypothesis for the x64 Strawberry Perl 5.16 was correct after
looking Show quoted text
> > > at the DLL you posted (I did not execute it). Try my latest version at > > > https://github.com/bulk88/perl5-win32-api/ and report back.
> > > > Thanks, now it works, please pull your fix to the main repo. > > > > -- > > kmx
> > I plan to create 1 stable commit (currently the commit on bulk88/my > repo is not stable) that creates the next CPAN release, then pull it > back with Cosimo's repo. Do you want to create a patch against the > current git code base for some reason?
The 64 bit Strawberry Perl 5.16 fixes are now available in Win32::API 0.73 on CPAN.