Merge lp:~brian-murray/apport/fix-SAS-generation into lp:~apport-hackers/apport/trunk

Proposed by Brian Murray
Status: Rejected
Rejected by: Martin Pitt
Proposed branch: lp:~brian-murray/apport/fix-SAS-generation
Merge into: lp:~apport-hackers/apport/trunk
Diff against target: 22 lines (+5/-1)
1 file modified
apport/report.py (+5/-1)
To merge this branch: bzr merge lp:~brian-murray/apport/fix-SAS-generation
Reviewer Review Type Date Requested Status
Martin Pitt (community) Disapprove
Review via email: mp+282476@code.launchpad.net
To post a comment you must log in.
3046. By Brian Murray

remove apport-retrace change

Revision history for this message
Martin Pitt (pitti) wrote :

Conceptually this looks wrong to me, so I reject this for now, sorry. Let's continue discussion in the bug what we really want to fix here. Thanks!

review: Disapprove

Unmerged revisions

3046. By Brian Murray

remove apport-retrace change

3045. By Brian Murray

Only use crash_signature_addresses() as a fallback and prefer crash_signature().

3044. By Brian Murray

If we cannot write to the output file, write to a new report rather than crash.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'apport/report.py'
--- apport/report.py 2015-10-27 13:05:47 +0000
+++ apport/report.py 2016-01-14 16:46:50 +0000
@@ -673,6 +673,8 @@
673 inclusion into bug reports and easier processing673 inclusion into bug reports and easier processing
674 - AssertionMessage: Value of __abort_msg, __glib_assert_msg, or674 - AssertionMessage: Value of __abort_msg, __glib_assert_msg, or
675 __nih_abort_msg if present675 __nih_abort_msg if present
676 - StacktraceAddressSignature: A signature suitable for identifying
677 duplicates.
676678
677 The optional rootdir can specify a root directory which has the679 The optional rootdir can specify a root directory which has the
678 executable, libraries, and debug symbols. This does not require680 executable, libraries, and debug symbols. This does not require
@@ -751,7 +753,9 @@
751753
752 if 'Stacktrace' in self:754 if 'Stacktrace' in self:
753 self._gen_stacktrace_top()755 self._gen_stacktrace_top()
754 addr_signature = self.crash_signature_addresses()756 addr_signature = self.crash_signature()
757 if not addr_signature:
758 addr_signature = self.crash_signature_addresses()
755 if addr_signature:759 if addr_signature:
756 self['StacktraceAddressSignature'] = addr_signature760 self['StacktraceAddressSignature'] = addr_signature
757761

Subscribers

People subscribed via source and target branches