Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[rt.cpan.org #80249] v0.72 fails many tests on 64bit strawberry perl 5.16.1

19 views
Skip to first unread message

kmx via RT

unread,
Oct 17, 2012, 4:12:07 PM10/17/12
to libw...@perl.org
Wed Oct 17 16:12:06 2012: Request 80249 was acted upon.
Transaction: Ticket created by KMX
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: Nobody
Requestors: k...@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


See attached fail log from my strawberry perl 5.16.1/x64 @ Windows 7.

--
kmx

win32-api-0.72-strawberry64bit-test-failure.txt

kmx via RT

unread,
Oct 17, 2012, 4:17:05 PM10/17/12
to libw...@perl.org
Wed Oct 17 16:17:04 2012: Request 80249 was acted upon.
Transaction: Correspondence added by KMX
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: Nobody
Requestors: k...@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


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
.

Daniel Dragan via RT

unread,
Oct 19, 2012, 1:50:23 AM10/19/12
to libw...@perl.org
Fri Oct 19 01:50:20 2012: Request 80249 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


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.



Daniel Dragan via RT

unread,
Oct 19, 2012, 2:47:17 AM10/19/12
to libw...@perl.org
Fri Oct 19 02:47:16 2012: Request 80249 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


On Fri Oct 19 01:50:20 2012, BULKDD wrote:
> 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?

Daniel Dragan via RT

unread,
Oct 19, 2012, 3:38:13 PM10/19/12
to libw...@perl.org
Fri Oct 19 15:38:12 2012: Request 80249 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


On Fri Oct 19 13:19:38 2012, k...@volny.cz wrote:
> 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.
>

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.

kmx via RT

unread,
Oct 20, 2012, 2:46:22 AM10/20/12
to libw...@perl.org
Sat Oct 20 02:46:21 2012: Request 80249 was acted upon.
Transaction: Correspondence added by k...@volny.cz
Queue: Win32-API
Subject: Re: [rt.cpan.org #80249] v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >



> 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

Daniel Dragan via RT

unread,
Oct 20, 2012, 4:01:37 AM10/20/12
to libw...@perl.org
Sat Oct 20 04:01:36 2012: Request 80249 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


On Sat Oct 20 02:46:21 2012, k...@volny.cz wrote:
>
> > 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?

Daniel Dragan via RT

unread,
Oct 20, 2012, 8:20:20 PM10/20/12
to libw...@perl.org
Sat Oct 20 20:20:19 2012: Request 80249 was acted upon.
Transaction: Correspondence added by BULKDD
Queue: Win32-API
Subject: v0.72 fails many tests on 64bit strawberry perl 5.16.1
Broken in: 0.72
Severity: (no value)
Owner: BULKDD
Requestors: k...@cpan.org
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80249 >


On Sat Oct 20 04:01:36 2012, BULKDD wrote:
> On Sat Oct 20 02:46:21 2012, k...@volny.cz wrote:
> >
> > > 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?


The 64 bit Strawberry Perl 5.16 fixes are now available in Win32::API
0.73 on CPAN.
0 new messages