Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228688
Summary: invalid syntax results in interpreter seg fault Product: Fedora Core Version: fc6 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: normal Component: perl AssignedTo: rnorwood@redhat.com ReportedBy: robert.haas@tekconnect.com QAContact: dkl@redhat.com CC: fedora-perl-devel-list@redhat.com
Description of problem:
Attempting to execute the following code produces a segmentation fault:
sub frob { my ($r) = @_; sub { . 3; }; }
Version-Release number of selected component (if applicable): perl-5.8.8-10
How reproducible: Run the code above.
Steps to Reproduce: 1. Save the code above in a text file (6 lines) called "oops". 2. Type "perl < oops"
Actual results: Seg fault
Expected results: Syntax error
Additional info: None
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: invalid syntax results in interpreter seg fault
https://bugzilla.redhat.com/show_bug.cgi?id=228688
bugzilla@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|normal |medium Product|Fedora Core |Fedora Version|fc6 |6
robert.haas@tekconnect.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6 |7
------- Additional Comments From robert.haas@tekconnect.com 2008-01-17 16:45 EST ------- Problem still exists in perl-5.8.8-27.fc7
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: invalid syntax results in interpreter seg fault
https://bugzilla.redhat.com/show_bug.cgi?id=228688
mmaslano@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rnorwood@redhat.com |mmaslano@redhat.com
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: invalid syntax results in interpreter seg fault
https://bugzilla.redhat.com/show_bug.cgi?id=228688
jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpazdziora@redhat.com
------- Additional Comments From jpazdziora@redhat.com 2008-02-28 08:03 EST ------- Problem persists on:
$ rpm -q perl perl-5.8.8-33.fc8.x86_64
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: invalid syntax results in interpreter seg fault
https://bugzilla.redhat.com/show_bug.cgi?id=228688
------- Additional Comments From jpazdziora@redhat.com 2008-02-28 08:21 EST ------- The backtrace looks like this:
Program terminated with signal 11, Segmentation fault. #0 Perl_pad_free (my_perl=0x603010, po=4) at pad.c:1180 1180 SvPADTMP_off(PL_curpad[po]); (gdb) bt #0 Perl_pad_free (my_perl=0x603010, po=4) at pad.c:1180 #1 0x00002aaaaab05bb8 in Perl_op_clear (my_perl=0x603010, o=0x60cc00) at op.c:515 #2 0x00002aaaaab07d4b in Perl_op_free (my_perl=0x603010, o=0x60cc00) at op.c:379 #3 0x00002aaaaab07d0c in Perl_op_free (my_perl=0x603010, o=0x60cd10) at op.c:367 #4 0x00002aaaaab1228a in Perl_newATTRSUB (my_perl=0x603010, floor=103, o=<value optimized out>, proto=0x0, attrs=0x0, block=0x60cd10) at op.c:4426 #5 0x00002aaaaab03638 in Perl_yyparse (my_perl=0x603010) at perly.y:364 #6 0x00002aaaaaae2c92 in S_parse_body (my_perl=0x603010, env=0x0, xsinit=0x4017e0 <xs_init>) at perl.c:2212 #7 0x00002aaaaaae54e9 in perl_parse (my_perl=0x603010, xsinit=0x4017e0 <xs_init>, argc=2, argv=0x7fffa2dee488, env=0x0) at perl.c:1599 #8 0x0000000000401773 in main (argc=2, argv=0x7fffa2dee488, env=<value optimized out>) at perlmain.c:97 (gdb)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: invalid syntax results in interpreter seg fault
https://bugzilla.redhat.com/show_bug.cgi?id=228688
mmaslano@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7 |8
perl-devel@lists.fedoraproject.org