-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.005_63 `Out of memory' on trivial program with @+ and @- #1096
Comments
From @mjdominusHere is fish.pl: ================================================================ "fish" =~ /fish/;
|
From [Unknown Contact. See original ticket]mjd@plover.com writes:
I have usemymalloc=n now, but it does not help me reproduce your Ilya |
From @gsarOn Thu, 27 Jan 2000 15:37:06 EST, Ilya Zakharevich wrote:
% gdb ./perl Breakpoint 1, Perl_my_exit (my_perl=0x8169f70, status=1) at perl.c:3244 I think av_fill() doesn't know about 'D' magic, as don't many other Sarathy |
From [Unknown Contact. See original ticket]On Thu, Jan 27, 2000 at 01:03:56PM -0800, Gurusamy Sarathy wrote:
Why should they know about particular magic-type letters? Why would Ilya |
From @gsarOn Thu, 27 Jan 2000 16:11:14 EST, Ilya Zakharevich wrote:
I should have said mg_size(), not av_fill(). mg_size() just returns It's not clear why regular 'P' magic wasn't used for this. I'm beginning Sarathy |
From [Unknown Contact. See original ticket]Gurusamy Sarathy writes:
But there is one: EXT MGVTBL PL_vtbl_regdata = {0, 0, MEMBER_TO_FPTR(Perl_magic_regdata_cnt), 0, 0}; #ifdef STRUCT_MGVTBL_DEFINITION Ilya |
From [Unknown Contact. See original ticket]On Fri, Jan 28, 2000 at 09:01:53AM -0800, Gurusamy Sarathy wrote:
Yes, the do-not-invoke-REx-engine optimization was not storing enough data. Inline Patch--- ./pp_hot.c~ Fri Dec 24 17:59:24 1999
+++ ./pp_hot.c Sat Jan 29 01:39:40 2000
@@ -1045,6 +1045,7 @@ yup: /* Confirmed by INTUIT */
rx->startp[0] = s - truebase;
rx->endp[0] = s - truebase + rx->minlen;
}
+ rx->nparens = rx->lastparen = 0; /* used by @- and @+ */
LEAVE_SCOPE(oldsave);
RETPUSHYES;
|
Migrated from rt.perl.org#2050 (status was 'resolved')
Searchable as RT2050$
The text was updated successfully, but these errors were encountered: