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
core dump in Perl_regexec_flags #4997
Comments
From @eserteThis is a bug report for perl from eserte@vran.herceg.de, I'm not sure whether this is a Perl/Tk or perl problem: In Perl/Tk there is a call to pregexec with a NULL as 6th argument: return pregexec(re,string,string+strlen(string),start,0,NULL,1); (this is in file tkGlue.c). In perl's Perl_regexec_flags function, a core will be dumped at line bool do_utf8 = DO_UTF8(sv); The problem is fixed if I change the line to: bool do_utf8 = sv && DO_UTF8(sv); Regards, Flags: Site configuration information for perl v5.7.2: Configured by eserte at Sat Feb 9 22:33:02 CET 2002. Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 14574) configuration: Locally applied patches: @INC for perl v5.7.2: Environment for perl v5.7.2: |
From @vanstynSlaven Rezic <eserte@vran.herceg.de> wrote: That's a problem with the regexp engine. :The problem is fixed if I change the line to: That's fine as a starting point, but I suspect we need the ability to Note also that this would require some fixup for the debugging (which Hugo |
From [Unknown Contact. See original ticket]Hugo Van Der Sanden <hv@crypt0.demon.co.uk> writes:
And Tk ;-)
There are other references to sv further down - some guarded, some not
I have no real problem requiring an SV for this. When Unicode-aware Tk gets out it will only ever use this on UTF-8 strings.
|
From @khwilliamsonIs this still an issue? |
I'm closing this. I asked two years ago if this is still an issue, without response. Further investigation reveals that this parameter may no longer be NULL, since |
Migrated from rt.perl.org#8476 (status was 'open')
Searchable as RT8476$
The text was updated successfully, but these errors were encountered: