Report information
 Id: 132974 Status: resolved Priority: 0/ Queue: perl5

 Owner: nicholas Requestors: bulk88 Cc: AdminCc:

 Operating System: (no value) PatchStatus: Applied Severity: low Type: core Perl Version: 5.27.9 5.8.0 5.8.1 5.8.2 5.8.3 5.8.4 5.8.5 5.8.6 5.8.7 5.8.8 5.8.9 5.9.0 5.9.1 5.9.2 5.9.3 5.9.4 5.9.5 5.0.1 5.10.0 5.10.1 5.11.0 5.11.1 5.11.2 5.11.3 5.11.4 5.11.5 5.12.0 5.12.1 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.13.0 5.13.1 5.13.2 5.13.3 5.13.4 5.13.5 5.13.6 5.13.7 5.13.8 5.13.9 5.13.10 5.13.11 5.14.0 5.14.1 5.14.2 5.14.3 5.14.4 5.14.5 5.15.0 5.15.1 5.15.2 5.15.3 5.15.4 5.15.5 5.15.6 5.15.7 5.15.8 5.15.9 5.15.10 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.17.7 5.17.8 5.17.9 5.17.10 5.17.11 5.17.12 5.18.0 5.18.1 5.18.2 5.18.3 5.18.4 5.18.5 5.19.0 5.19.1 5.19.2 5.19.3 5.19.4 5.19.5 5.19.6 5.19.7 5.19.8 5.19.9 5.19.10 5.19.11 5.20.0 5.20.1 5.20.2 5.20.3 5.21.0 5.21.1 5.21.2 5.21.3 5.21.4 5.21.5 5.21.6 5.21.7 5.21.8 5.21.9 5.21.10 5.21.11 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.23.3 5.23.4 5.23.5 5.23.6 5.23.7 5.23.8 5.23.9 5.24.0 5.24.1 5.24.2 5.24.3 5.24.4 5.25.0 5.25.1 5.25.2 5.25.3 5.25.4 5.25.5 5.25.6 5.25.7 5.25.8 5.25.9 5.25.10 5.25.11 5.25.12 5.25.13 5.26.0 5.26.1 5.26.2 5.27.0 5.27.1 5.27.2 5.27.3 5.27.4 5.27.5 5.27.6 5.27.7 5.27.8 Fixed In: 5.27.11

Attachments
0001-ExtUtils-Constant-fix-panic-failed-to-extend-arg-sta.patch

History
 Date: Wed, 14 Mar 2018 04:05:19 +0000 From: bulk 88 Subject: [PATCH] ExtUtils::Constant fix "panic: failed to extend arg stack" To: "perlbug [...] perl.org"
text/plain 8.6k

Message body is not shown because sender requested not to inline it.

 RT-Send-CC: perl5-porters [...] perl.org
text/plain 8.7k
On Wed, 14 Mar 2018 04:05:37 GMT, bulk88 wrote: Show quoted text
Did you have this problem with 5.26? If not, are you able to determine the 5.27.x development version at which this problem first appeared? Thank you very much. -- James E Keenan (jkeenan@cpan.org)
 RT-Send-CC: perl5-porters [...] perl.org
text/plain 570b
On Wed, 14 Mar 2018 04:57:00 -0700, jkeenan wrote: Show quoted text
> Did you have this problem with 5.26? If not, are you able to > determine the 5.27.x development version at which this problem first > appeared? > > Thank you very much.
5.26? No. https://perl5.git.perl.org/perl.git/87058c31e9fa350bda8d797127c9c175d0b1a893 is the fault commit if I bisect it, but that commit just reveals/catches the mem overflow that was there since 2001 aka Day 1 of EU::C https://perl5.git.perl.org/perl.git/commitdiff/af6c647ee5aae2406b2bfb66c4fe11a81de75b05 -- bulk88 ~ bulk88 at hotmail.com
 RT-Send-CC: perl5-porters [...] perl.org
text/plain 814b
On Tue, 13 Mar 2018 21:05:37 -0700, bulk88 wrote: Show quoted text
> This is a bug report for perl from bulk88@hotmail.com, > generated with the help of perlbug 1.41 running under perl 5.27.9. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > See attached patch. This is a 5.28 blocker IMO. I can't use the perl > debugger ("-d") or Komodo debugger, on a DEBUGGING build, without this > patch. I can reproduce the panic every time, but there are 2 > conditions > for me. I HAVE to use -d and the perl debugger. I am not sure why. I'm > not sure how to test the stack extend logic deterministically from PP, > or how to make a certain number of frames or largeness of stack frames > to trigger the panic without using -d. >
Bump. -- bulk88 ~ bulk88 at hotmail.com
 To: perl5-porters [...] perl.org Subject: Re: [perl #132974] [PATCH] ExtUtils::Constant fix "panic: failed to extend arg stack" From: Nicholas Clark Date: Wed, 18 Apr 2018 07:20:25 +0100
text/plain 933b
On Wed, Mar 14, 2018 at 07:06:21AM -0700, bulk88 via RT wrote: Show quoted text
> On Wed, 14 Mar 2018 04:57:00 -0700, jkeenan wrote:
> > Did you have this problem with 5.26? If not, are you able to > > determine the 5.27.x development version at which this problem first > > appeared? > > > > Thank you very much.
> > 5.26? No. https://perl5.git.perl.org/perl.git/87058c31e9fa350bda8d797127c9c175d0b1a893 is the fault commit if I bisect it, but that commit just reveals/catches the mem overflow that was there since 2001 aka Day 1 of EU::C https://perl5.git.perl.org/perl.git/commitdiff/af6c647ee5aae2406b2bfb66c4fe11a81de75b05
Thanks for the patch, now applied, on CPAN (or in the pipeline) and in blead. As you say in the report, the bug is hard to replicate, and I wasn't able to locally. Yes, the bug seems to have been present since the code was first written, and your change looks to me to be the minimal and correct fix. Nicholas Clark
 From: Sawyer X Subject: Re: [perl #132974] [PATCH] ExtUtils::Constant fix "panic: failed to extend arg stack" To: Nicholas Clark , perl5-porters [...] perl.org Date: Thu, 19 Apr 2018 00:15:15 +0300
text/plain 803b
On 04/18/2018 09:20 AM, Nicholas Clark wrote: Show quoted text
> On Wed, Mar 14, 2018 at 07:06:21AM -0700, bulk88 via RT wrote:
>> On Wed, 14 Mar 2018 04:57:00 -0700, jkeenan wrote:
>>> Did you have this problem with 5.26? If not, are you able to >>> determine the 5.27.x development version at which this problem first >>> appeared? >>> >>> Thank you very much.
>> 5.26? No. https://perl5.git.perl.org/perl.git/87058c31e9fa350bda8d797127c9c175d0b1a893 is the fault commit if I bisect it, but that commit just reveals/catches the mem overflow that was there since 2001 aka Day 1 of EU::C https://perl5.git.perl.org/perl.git/commitdiff/af6c647ee5aae2406b2bfb66c4fe11a81de75b05
> Thanks for the patch, now applied, on CPAN (or in the pipeline) and in > blead.
This has been on my radar for a while. Thanks, everyone.