Skip Menu |
Report information
Id: 131224
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: chorny <alexchorny [at] gmail.com>
Cc: jkeenan <jkeenan [at] cpan.org>
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: core
Perl Version: 5.25.10
Fixed In: (no value)



To: perlbug [...] perl.org
Subject: bleadperl breaks HARDAKER/QWizard-3.15.tar.gz on Windows
From: James E Keenan <jkeenan [...] pobox.com>
Date: Fri, 28 Apr 2017 15:05:52 -0400
This should have originally been sent to perlbug@perl.org. Show quoted text
-------- Forwarded Message -------- Subject: bleadperl breaks HARDAKER/QWizard-3.15.tar.gz on Windows Date: Fri, 28 Apr 2017 16:11:49 +0300 From: Alexandr Ciornii <alexchorny@gmail.com> To: p5p <perl5-porters@perl.org> Newsgroups: perl.perl5.porters This is a bug report for perl from alexchorny@gmail.com, generated with the help of perlbug 1.40 running under perl 5.25.10. ----------------------------------------------------------------- [Please describe your issue here] Result of running Makefile.PL: Checking if your kit is complete... Looks good ERROR from evaluation of strawberry-perl-5.25.12.1\cpan\build\QWizard-3.15-0\Generator_base/Makefile.PL: panic: attempt to copy freed scalar 3f8d0c to 1358a54 at strawberry-perl-5.25.12.1/perl/lib/Carp.pm line 229. Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json See also http://www.cpantesters.org/cpan/report/74da0c86-6c12-1014-8ecb-069185000ecc Tested on Strawberry perl 5.25.12, 5.25.10 and 5.25.8 32-bit int, Windows XP. Does not fail on 5.24.0. Has problems on Linux too, but different, see http://matrix.cpantesters.org/?dist=QWizard+3.15 . Also reported in modules bug tracker: https://rt.cpan.org/Ticket/Display.html?id=121401 [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=low --- Site configuration information for perl 5.25.10: Configured by strawberry-perl at Fri Feb 24 21:38:44 2017. Summary of my perl5 (revision 5 version 25 subversion 10) configuration: Platform: osname=MSWin32 osvers=4.0 archname=MSWin32-x86-multi-thread uname='Win32 strawberry-perl 5.25.10.1-beta1 #1 Fri Feb 24 21:36:42 2017 i386' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n bincompat5005=undef Compiler: cc='gcc' ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='4.9.2' gccosandvers='' intsize=4 longsize=4 ptrsize=4 doublesize=8 byteorder=1234 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=12 longdblkind=3 ivtype='long' ivsize=4 nvtype='double' nvsize=8 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"' libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\i686-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\i686-w64-mingw32\4.9.2 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 -lversion -lodbc32 -lodbccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl525.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=xs.dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"' --- @INC for perl 5.25.10: C:/Strawberry2510/perl/site/lib C:/Strawberry2510/perl/vendor/lib C:/Strawberry2510/perl/lib --- Environment for perl 5.25.10: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\Program Files\Far Manager\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Git\cmd;C:\Strawberry2510\c\bin;C:\Strawberry2510\perl\site\bin;C:\Strawberry2510\perl\bin PERL_BADLANG (unset) SHELL (unset) -- Alexandr Ciornii, http://chorny.net
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 1.9k
On Fri, 28 Apr 2017 19:06:17 GMT, jkeenan@pobox.com wrote: Show quoted text
> This should have originally been sent to perlbug@perl.org. > > > -------- Forwarded Message -------- > Subject: bleadperl breaks HARDAKER/QWizard-3.15.tar.gz on Windows > Date: Fri, 28 Apr 2017 16:11:49 +0300 > From: Alexandr Ciornii <alexchorny@gmail.com> > To: p5p <perl5-porters@perl.org> > Newsgroups: perl.perl5.porters > > This is a bug report for perl from alexchorny@gmail.com, > generated with the help of perlbug 1.40 running under perl 5.25.10. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > Result of running Makefile.PL: > Checking if your kit is complete... > Looks good > ERROR from evaluation of > strawberry-perl-5.25.12.1\cpan\build\QWizard-3.15- > 0\Generator_base/Makefile.PL: > panic: attempt to copy freed scalar 3f8d0c to 1358a54 at > strawberry-perl-5.25.12.1/perl/lib/Carp.pm line 229. > Writing MYMETA.yml and MYMETA.json > Writing MYMETA.yml and MYMETA.json > Writing MYMETA.yml and MYMETA.json > > See also > http://www.cpantesters.org/cpan/report/74da0c86-6c12-1014-8ecb- > 069185000ecc > > Tested on Strawberry perl 5.25.12, 5.25.10 and 5.25.8 32-bit int, > Windows XP. Does not fail on 5.24.0. Has problems on Linux too, but > different, see http://matrix.cpantesters.org/?dist=QWizard+3.15 . > > Also reported in modules bug tracker: > https://rt.cpan.org/Ticket/Display.html?id=121401 >
Bisection (manual) on Linux suggests that the following commit is responsible: ##### commit 8b0c3377906a6f991cd6c21a674bf9561d85e3cb Author: David Mitchell <davem@iabyn.com> AuthorDate: Wed Oct 5 10:10:56 2016 +0100 Commit: David Mitchell <davem@iabyn.com> CommitDate: Wed Oct 26 08:37:27 2016 +0100 Better optimise array and hash assignment [perl #127999] Slowdown in split + list assign ... ##### Dave, can you take a look? Thank you very much. -- James E Keenan (jkeenan@cpan.org)
CC: perl5-porters [...] perl.org
Subject: Re: [perl #131224] bleadperl breaks HARDAKER/QWizard-3.15.tar.gz on Windows
From: Dave Mitchell <davem [...] iabyn.com>
To: James E Keenan via RT <perlbug-followup [...] perl.org>
Date: Sat, 29 Apr 2017 09:25:43 +0100
Download (untitled) / with headers
text/plain 1.7k
On Fri, Apr 28, 2017 at 12:13:26PM -0700, James E Keenan via RT wrote: Show quoted text
> > Result of running Makefile.PL: > > Checking if your kit is complete... > > Looks good > > ERROR from evaluation of > > strawberry-perl-5.25.12.1\cpan\build\QWizard-3.15- > > 0\Generator_base/Makefile.PL: > > panic: attempt to copy freed scalar 3f8d0c to 1358a54 at > > strawberry-perl-5.25.12.1/perl/lib/Carp.pm line 229. > > Writing MYMETA.yml and MYMETA.json > > Writing MYMETA.yml and MYMETA.json > > Writing MYMETA.yml and MYMETA.json > > > > See also > > http://www.cpantesters.org/cpan/report/74da0c86-6c12-1014-8ecb- > > 069185000ecc > > > > Tested on Strawberry perl 5.25.12, 5.25.10 and 5.25.8 32-bit int, > > Windows XP. Does not fail on 5.24.0. Has problems on Linux too, but > > different, see http://matrix.cpantesters.org/?dist=QWizard+3.15 . > > > > Also reported in modules bug tracker: > > https://rt.cpan.org/Ticket/Display.html?id=121401 > >
> > Bisection (manual) on Linux suggests that the following commit is responsible: > > ##### > commit 8b0c3377906a6f991cd6c21a674bf9561d85e3cb > Author: David Mitchell <davem@iabyn.com> > AuthorDate: Wed Oct 5 10:10:56 2016 +0100 > Commit: David Mitchell <davem@iabyn.com> > CommitDate: Wed Oct 26 08:37:27 2016 +0100 > > Better optimise array and hash assignment > > [perl #127999] Slowdown in split + list assign > ... > ##### > > Dave, can you take a look?
Given Zefram's daignosis that its an issue with @DB::args viewing args on the stack which aren't ref counted, that commit is likely to be a ref herring - it is likely to have just altered whether some stack args happen to have had their lives artificially extended. -- I thought I was wrong once, but I was mistaken.
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.2k
On Sat, 29 Apr 2017 01:26:21 -0700, davem wrote: Show quoted text
> On Fri, Apr 28, 2017 at 12:13:26PM -0700, James E Keenan via RT wrote:
> > > Result of running Makefile.PL: > > > Checking if your kit is complete... > > > Looks good > > > ERROR from evaluation of > > > strawberry-perl-5.25.12.1\cpan\build\QWizard-3.15- > > > 0\Generator_base/Makefile.PL: > > > panic: attempt to copy freed scalar 3f8d0c to 1358a54 at > > > strawberry-perl-5.25.12.1/perl/lib/Carp.pm line 229. > > > Writing MYMETA.yml and MYMETA.json > > > Writing MYMETA.yml and MYMETA.json > > > Writing MYMETA.yml and MYMETA.json > > > > > > See also > > > http://www.cpantesters.org/cpan/report/74da0c86-6c12-1014-8ecb- > > > 069185000ecc > > > > > > Tested on Strawberry perl 5.25.12, 5.25.10 and 5.25.8 32-bit int, > > > Windows XP. Does not fail on 5.24.0. Has problems on Linux too, but > > > different, see http://matrix.cpantesters.org/?dist=QWizard+3.15 . > > > > > > Also reported in modules bug tracker: > > > https://rt.cpan.org/Ticket/Display.html?id=121401 > > >
> > > > Bisection (manual) on Linux suggests that the following commit is > > responsible: > > > > ##### > > commit 8b0c3377906a6f991cd6c21a674bf9561d85e3cb > > Author: David Mitchell <davem@iabyn.com> > > AuthorDate: Wed Oct 5 10:10:56 2016 +0100 > > Commit: David Mitchell <davem@iabyn.com> > > CommitDate: Wed Oct 26 08:37:27 2016 +0100 > > > > Better optimise array and hash assignment > > > > [perl #127999] Slowdown in split + list assign > > ... > > ##### > > > > Dave, can you take a look?
> > Given Zefram's daignosis that its an issue with @DB::args viewing args > on > the stack which aren't ref counted, that commit is likely to be a ref > herring - it is likely to have just altered whether some stack args > happen > to have had their lives artificially extended.
At about lines 655 to 658 of ExtUtils/MakeMaker.pm we have: # This is for old Makefiles written pre 5.00, will go away if ( Carp::longmess("") =~ /runsubdirpl/s ){ carp("WARNING: Please rerun 'perl Makefile.PL' to regenerate your Makefiles\n"); } Commenting out those 3 lines of code allows 'perl Makefile.PL' step to run to completion on Windows for me. (I was initially getting the same error as reported by the OP.) HTH Cheers, Rob
Doesn't seem to be a 5.26.0 blocker. Removing.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org