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 on running perl in debug mode #871
Comments
From easmith@beatrice.rutgers.eduHi. The following program leads to a core dump. #!/usr/sbin/perl -w undef($/); %functions = (); foreach $file (@ARGV) { my($input) = <FILE>; $^D = 14 + 512; while ($input =~ m/^([_a-zA-Z]+[^\n\(]*) close(FILE); print join("\n\n", map {$functions{$_}} (sort (keys %functions))) . "\n"; The stack trace is as follows: Core from signal SIGSEGV: Segmentation violationregmatch(<stripped>) ["regexec.c":790, 0x100c1110] The debug mode output was as follows: (/server/people/staff/easmith/perl/prog/extract.funcs.pl:12) LEAVE scope 5 at mg.c:152 /* Version 3.52c. Copyright (c) 1986-1993 by Joseph Felsenstein and /* Version 3....' Thanks, -Allen Perl Info
|
From [Unknown Contact. See original ticket]Created by easmith@beatrice.rutgers.eduHi. The following program leads to a core dump. #!/usr/sbin/perl -w undef($/); %functions = (); foreach $file (@ARGV) { my($input) = ; $^D = 14 + 512; while ($input =~ m/^([_a-zA-Z]+[^\n\(]*) close(FILE); print join("\n\n", map {$functions{$_}} (sort (keys %functions))) . "\n"; The stack trace is as follows: Core from signal SIGSEGV: Segmentation violationregmatch() ["regexec.c":790, 0x100c1110] The debug mode output was as follows: (/server/people/staff/easmith/perl/prog/extract.funcs.pl:12) LEAVE scope 5 at mg.c:152 /* Version 3.52c. Copyright (c) 1986-1993 by Joseph Felsenstein and /* Version 3....' Thanks, -Allen Perl Info
|
From @vanstynIn <199911182312.SAA08627@feste.rutgers.edu>, Ed Allen Smith writes: The latest stable version of perl is 5.005_03 - please try your :Hi. The following program leads to a core dump. I was unable to reproduce your problem with a 5.005_02 perl here, If your problem persists under 5.005_03, please a) reduce the test Thanks, Hugo van der Sanden |
From [Unknown Contact. See original ticket]At 10:32 +0100 1999-11-19, Hugo wrote:
Sage advice. However, the keys "complex regex", "data-dependent", and -- |
From [Unknown Contact. See original ticket]Please unsubscribe |
Migrated from rt.perl.org#1802 (status was 'resolved')
Searchable as RT1802$
The text was updated successfully, but these errors were encountered: