-
Notifications
You must be signed in to change notification settings - Fork 577
perl segfautls on input #1521
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
Comments
From [email protected]Created by [email protected]$ perl -e 'sub _ <> { }' $ gdb perl Perl Info
|
From [Unknown Contact. See original ticket]Benjamin Holzman writes:
This is why Richard didn't want to make any changes to the bug Nat |
From @vanstynIn <20000327162355.Q13085@orientation.com>, Benjamin Holzman writes: This problem is known, and should hopefully be fixed soon. :$ perl -e 'sub _ <> { }' I'm not sure what caused this, but I can reproduce it here under Hugo |
From @rspierReplicated in 5.8.0 and 5.8.1 to be |
From The RT System itselfpresent in bleadperl 3/august/2000 |
From @rspierperl -e 'sub _ <> { }' blead - SEGV #0 0x08081563 in Perl_op_free () (also interesting.. blead throws a warning with -w, 5.8.3 doesn't.) |
From @rgsRobert via RT wrote:
Not for me ; are you using threads ?
not for me either. |
From @mhxOn 2004-06-23, at 11:27:53 +0200, Rafael Garcia-Suarez wrote:
Try a version with debugging enabled: mhx@r2d2 ~ $ bleadperl -e 'sub _ <> { }' (Both also built with threads.) The reason seems to be that <> is being interpreted as a prototype, mhx@r2d2 ~ $ gdb bleadperl-debug (gdb) r -e 'sub _ <> { }' Program received signal SIGSEGV, Segmentation fault.
I don't get a warning either... -- |
From @mhxOn 2004-06-23, at 05:28:47 -0000, Robert via RT wrote:
This has now been fixed by the change below. $ perl -e 'sub _ <> {}' Marcus Change 22990 by mhx@mhx-r2d2 on 2004/06/24 16:22:05 Fix for: [perl #2738] perl segfautls on input Affected files ... ... //depot/perl/op.c#628 edit Differences ... ==== //depot/perl/op.c#628 (text) ==== @@ -4069,11 +4069,19 @@ name = o ? SvPVx(cSVOPo->op_sv, n_a) : Nullch; ==== //depot/perl/pod/perldiag.pod#383 (text) ==== @@ -1729,6 +1729,10 @@ +=item Illegal declaration of subroutine %s (F) You tried to divide a number by 0. Either something was wrong in ==== //depot/perl/t/comp/parser.t#17 (text) ==== @@ -9,7 +9,7 @@ require "./test.pl"; eval '%@x=0;'; ==== //depot/perl/toke.c#500 (text) ==== @@ -5095,8 +5095,12 @@ if (*s == ':' && s[1] != ':') if (have_proto) { |
@mhx - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#2738 (status was 'resolved')
Searchable as RT2738$
The text was updated successfully, but these errors were encountered: