diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-11-22 20:35:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-11-22 20:35:27 +0000 |
commit | b18ac12c25dcb98cc553b38a4e614cb9e55fb94b (patch) | |
tree | 01dd80598b7583829bf8d32b6fb58c7d9e0cfa65 /perl-install | |
parent | 2dc4936b88c5195f48a13514f9e38d77b15a8fe0 (diff) | |
download | drakx-backup-do-not-use-b18ac12c25dcb98cc553b38a4e614cb9e55fb94b.tar drakx-backup-do-not-use-b18ac12c25dcb98cc553b38a4e614cb9e55fb94b.tar.gz drakx-backup-do-not-use-b18ac12c25dcb98cc553b38a4e614cb9e55fb94b.tar.bz2 drakx-backup-do-not-use-b18ac12c25dcb98cc553b38a4e614cb9e55fb94b.tar.xz drakx-backup-do-not-use-b18ac12c25dcb98cc553b38a4e614cb9e55fb94b.zip |
include better C traces in reports
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/standalone.pm | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 82f7e59f0..57ca3a00a 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - drakbug: o report the gtk+ theme in use (#3127) which explain some crashes (eg: #2679) + o include better C traces in reports Version 13.6 - 10 November 2011 diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 2dd530254..fdf659df9 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -201,8 +201,11 @@ sub bug_handler { } # we want the full backtrace: - $error .= "\n" if $is_signal; - $error .= common::backtrace() if $error; + if ($is_signal) { + my $ctrace = c::C_backtrace(); + $error .= "\nGlibc's trace:\n$ctrace\n"; + } + $error .= "Perl's trace:\n". common::backtrace() if $error; my $progname = $0; |