diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-11-22 20:35:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-11-22 20:35:31 +0000 |
commit | cd71499f813307ac158e580f78176fefc069517a (patch) | |
tree | 707196fd1b3fb9879480cd8164c88fb999313621 /perl-install/standalone.pm | |
parent | 270ea42ae6d6b28d90c97ad3f5b735c50e8b107f (diff) | |
download | drakx-cd71499f813307ac158e580f78176fefc069517a.tar drakx-cd71499f813307ac158e580f78176fefc069517a.tar.gz drakx-cd71499f813307ac158e580f78176fefc069517a.tar.bz2 drakx-cd71499f813307ac158e580f78176fefc069517a.tar.xz drakx-cd71499f813307ac158e580f78176fefc069517a.zip |
(bug_handler) remove top of traces that is inside bug handler from report
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r-- | perl-install/standalone.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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; |