diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakbug | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 733175712..c5844efe3 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,8 @@ - diskdrake: o don't crash when creating a partition in LVM with the partition type buttons (#38078) +- drakbug: + o add error to summary when crashing in order to help sort duplicates Version 12.5 - 5 March 2009 diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index d6cbdf6e3..9c2ae61ed 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -239,6 +239,12 @@ sub get_package { $rpm_package; } +sub get_top_of_trace { + my ($error) = @_; + return if !$error; + sprintf(" (%s)", first(split(/\n/, $error))); +} + sub report_bug_to_bugzilla() { my $p = $package->get_text; my ($product, $version) = $p =~ /^(.*)-([^-]+-[^-]+(mdk|mdv.*))$/; # FIXME: fragile! @@ -274,6 +280,7 @@ sub report_bug_to_bugzilla() { if_($incident, join('', "short_desc=$prog%20", ($segfaulted ? 'segfaulted' : 'crashed'), + if_(!$gdb_trace, get_top_of_trace($error)), ), ), 'comment=' . uri_escape( |