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
regexp SEGV #6402
Comments
From @hvdsperl -e '"ab" =~ join "|", ("(c)") x shift, "(?:([ab])(?!c))*"' 36 This dumps core for me in all versions of perl back to at least Sometimes this assert gets hit before the core dump: Perl Info
|
From enache@rdslink.roOn Fri, Mar 28, 2003 at 03:14:15PM -0000, Hugo van der Sanden wrote:
The SSCHECK macro seems to be inappropriately used in regexp.c:174 - Please try this patch ( make regen needed ). Regards Index: regexec.cRCS file: /opt/cvsroot/perl/bleadperl/regexec.c,v #define REGCP_OTHER_ELEMS 6
|
From @iabynOn Fri, Mar 28, 2003 at 11:53:09PM +0200, Enache Adrian wrote:
Wouldn't it be better to to just make SSCHECK call savestack_grow_cnt(),
-- |
From enache@rdslink.roOn Sun, Mar 30, 2003 at 08:15:26PM +0100, Dave Mitchell wrote:
Why changing SSCHECK ? - it's actually called only inside scope.c, Regards |
From enache@rdslink.roOn Sun, Mar 30, 2003 at 11:17:05PM +0300, I wrote:
Correction: It is called in Perl_save_gp with argument of 6, which
I meant Perl_save_* & friends |
From @iabynOn Sun, Mar 30, 2003 at 11:17:05PM +0300, Enache Adrian wrote:
Well, there wouldnt normally be any extra compuation, ie something along - #define SSCHECK(need) if (PL_savestack_ix + need > PL_savestack_max) savestack_grow() But I suppose you'd still get poorer cache performance by all those extra So, fair enough. My only other two comments would be: you need () round the (need) in the SSGROW macro, -- |
From @rgsEnache Adrian wrote:
Thanks, applied, as #19431. |
@rgs - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#21728 (status was 'resolved')
Searchable as RT21728$
The text was updated successfully, but these errors were encountered: