summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/standalone.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 57ca3a00a..5b0c172d1 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,7 @@
- drakbug:
o report the gtk+ theme in use (#3127) which explain some crashes (eg: #2679)
o include better C traces in reports
+ o remove top of traces that is inside bug handler from report
Version 13.6 - 10 November 2011
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;