Closed Bug 803779 Opened 13 years ago Closed 9 years ago

Put abort messages into the signature

Categories

(Socorro :: Backend, task, P2)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kairo, Assigned: adrian)

References

Details

Attachments

(1 file, 1 obsolete file)

Aborts are a class of crashes that are extremely hard to bucket right now as there's a ton of different signatures with the same abort message, and at the same time different abort messages with the same signature, and from what I gather, all we are interested in there is actually the abort message and the classic signature is usually completely irrelevant in those cases. We should look to bucket by that abort message and therefore replace the "classic" signature with it in some form. That message might be part of the app notes right now, we probably need a platform bug to get it into its own field as well before this really becomes actionable on the Socorro side - but I wanted this to be filed and gather input about it. :) Benjamin, do you think this is a good idea?
Yes kinda. It seems likely that we want the abort text and the calling frame, not just the abort text. I think we should run experiments before flipping any switches though.
once you can identify the source of this "abort message", I can get going on this...
Assignee: nobody → lars
We need bug 918389 for this, AFAIK, so that we have this in a separate field.
Depends on: 918389
Flags: needinfo?(benjamin)
The abort message is in the AbortMessage field from bug 918389. I think the format should be abort message first, then c++ signature. We'll probably need some truncation in order to get both: Abort | AbortMessage[:80] | <C++Signature>
Flags: needinfo?(benjamin)
old and outdated - refile if this is still needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
This is still valid as filed and rather important. Reopening.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee: lars → adrian
Priority: -- → P2
Here's my proposal for this. It strictly follows the pattern that Benjamin shared: Abort | <AbortMessage[0:80]> | <C signature>
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/702ca6be292370575a993abedc26792fcc37b91d Fixes bug 803779 - Added a rule for Abort signatures. Added a new transform Rule to the processor to add the abort message to the signature of crashes that have an AbortMessage field. The format is "Abort | <AbortMessage[0:80]> | <C signature>".
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
So, looking at what this produces on stage: https://crash-stats.allizom.org/search/?product=Firefox&signature=%5EAbort&_facets=signature&_columns=date&_columns=signature&_columns=abort_message#facet-signature It looks to me like since we crafted the bug and the spec, we added a string in [] at the front of the abort message that contains a number, which might be a process ID or so, which we don't want in a signature. When we are removing that, we can also remove the redundant start of the abort message, which is always the same. I propose that before we add it to the signature, we remove /^\[.+\] ###!!! ABORT: / from the abort message.
Reverted for now, will do again with a better signature generation.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/5e1b68de866ac053ea9dcf1bead3c3997b1de7dd Revert "Fixes bug 803779 - Added a rule for Abort signatures." This reverts commit 702ca6be292370575a993abedc26792fcc37b91d.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
oops. When we reverted the git commit, it still had "fixes bug ..." in the commit message.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This new version does every thing the previous one did, but also removes the irrelevant part at the beginning of the abort message (no more ``[xxx] ###!!! ABORT: `` in the signature).
Attachment #8738589 - Attachment is obsolete: true
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/3422c7dec391d5ef9908669f6e92939743153711 Fixes bug 803779 - Added a rule for Abort signatures. Added a new transform Rule to the processor to add the abort message to the signature of crashes that have an AbortMessage field. The format is "Abort | <AbortMessage[0:80]> | <C signature>". https://github.com/mozilla/socorro/commit/11ccbaffb63dd9f96fea7d3ad6dacfdc7ea89191 Bug 803779 - Remove irrelevant part of the abort message. https://github.com/mozilla/socorro/commit/16c85391d108a661697b1faee444a69e4cd6304d Merge pull request #3354 from adngdb/803779-abort-signatures-again Fixes bug 803779 - Added a rule for Abort signatures.
Status: REOPENED → RESOLVED
Closed: 10 years ago9 years ago
Resolution: --- → FIXED
I didn't realize that the file/line# information would be in the abort message. That makes it likely that signatures will change across release (since line numbers change). So for example at https://crash-stats.allizom.org/report/index/1d578a00-ed21-45aa-b884-1e0862160525 could we cut the "file X, line Y" bit out of the AbortMessage so that it's just "Abort | unsafe destruction | mozalloc_abort | NS_DebugBreak | mozilla::plugins::PluginModuleChromeParent::~PluginModuleChromeParent" ? That does leave an open question what to do about things like https://crash-stats.allizom.org/report/index/dedb245c-ed2d-4d6f-9982-932b52160525 which at that point don't have any abort message at all. Perhaps if it's empty, we should just do Abort | <C++sig>
Flags: needinfo?(benjamin)
OK, I am reverting my change once again because I can't work on improving it now. I'll finish this up next week hopefully. :)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/84180573ad1c2c1b5a485acbea0b6aa6fcfb04af Revert "Fixes bug 803779 - Added a rule for Abort signatures." https://github.com/mozilla/socorro/commit/c31747de951cbb349aedbfecfa9207da75074928 Merge pull request #3355 from mozilla/revert-3354-803779-abort-signatures-again Revert "Fixes bug 803779 - Added a rule for Abort signatures."
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/1bffd9149d69dc890ecce844f4c009af260114bf Fixes bug 803779 - Added a rule for Abort signatures. (#3367) * Fixes bug 803779 - Added a rule for Abort signatures. Added a new transform Rule to the processor to add the abort message to the signature of crashes that have an AbortMessage field. The format is "Abort | <AbortMessage[0:80]> | <C signature>". * Bug 803779 - Remove irrelevant part of the abort message. * Bug 803779 - Removed file name and line number from abort message in signatures.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
LGTM!
Flags: needinfo?(benjamin)
\o/
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: