From 82ac7acc6c58b94f3b8e0ea52c3d0ad91bcf93a2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 22 Nov 2011 20:35:31 +0000 Subject: (bug_handler) remove top of traces that is inside bug handler from report --- perl-install/standalone.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone.pm') diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index fdf659df9..7a9a8aa81 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -203,6 +203,7 @@ sub bug_handler { # we want the full backtrace: if ($is_signal) { my $ctrace = c::C_backtrace(); + $ctrace =~ s/0:.*(\d+:[^:]*Perl_sighandler)/\1/sig if $ctrace =~ /0:.*(\d+:[^:]*Perl_sighandler)/sig; $error .= "\nGlibc's trace:\n$ctrace\n"; } $error .= "Perl's trace:\n". common::backtrace() if $error; -- cgit v1.2.1