-
Notifications
You must be signed in to change notification settings - Fork 560
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.12.0 crash on diverse platforms #10335
Comments
From occitan@esperanto.orgOne of the utilities of makepp SEGVs in the regression test on each of Linux I have narrowed it down to the following little test: #!/usr/bin/perl -w sub f { $_ = split /x/, f; The context split (with any regexp) is needed, though it crashes in -d _. #0 0x0810f3fb in Perl_pp_ftrowned () Besides a fix for future versions, I am desperate for a workaround ;-) coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @rgarciaOn 21 April 2010 02:03, Daniel Pfeiffer <perlbug-followup@perl.org> wrote:
Apparently, a workaround is to use a perl compiled with -DDEBUGGING support... |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Wed, Apr 21, 2010 at 03:08:58PM +0200, Rafael Garcia-Suarez wrote:
I'm not sure. I've now build a perl without that on Linux, and I see no $ ./perl -Ilib -V Characteristics of this binary (from libperl): So I'm not sure how to replicate this, or, for that matter, what changes A: could you send the output of perl -V for your perl on Linux Nicholas Clark |
From @jdheddenOn Wed, Apr 21, 2010 at 09:34, Nicholas Clark <nick@ccl4.org> wrote:
I tried this with blead under Cygwin on Windows, and it segfaults. |
From @rgsThis is now fixed by the patch below, which I would like to nominate for inclusion in 5.12.1. commit 94fa954 Fix [perl #74542] 5.12.0 crash on diverse platforms Inline Patchdiff --git a/pp.h b/pp.h
index 9d078af..c36502a 100644
--- a/pp.h
+++ b/pp.h
@@ -474,7 +474,8 @@ Does not use C<TARG>. See also C<XPUSHu>, C<mPUSHu> and
|
@rgs - Status changed from 'open' to 'resolved' |
From perl@profvince.com
Replacing the bare '_' with '*_' will also prevent the segfault. Vincent. |
From perl@profvince.com
I approve of this patch. V. |
From @obraOn Wed, Apr 21, 2010 at 04:37:53PM +0200, Vincent Pit wrote:
+1
-- |
Migrated from rt.perl.org#74542 (status was 'resolved')
Searchable as RT74542$
The text was updated successfully, but these errors were encountered: