Open Bug 1607699 Opened 5 years ago Updated 3 years ago

[mozcrash] drop generic rust boilerplate stacks from drop of crash reports to get meaningful signatures

Categories

(Testing :: Mozbase, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: aryx, Unassigned)

References

(Depends on 1 open bug)

Details

See e.g. bug 1607553 which has [@ RustMozCrash(char const*, int, char const*)] as crash signature. The meaningful crash signature [@ style::rule_tree::{{impl}}::drop(struct style::rule_tree::StrongRuleNode )] got used months earlier, see bug 1562706.

Dropping/ignoring crash frames from the top up to panicking::begin_panic allows better grouping and tracking of these issues.

There might already be a bug for this.

Shouldn't this be a bug for Soccorro?

Flags: needinfo?(aryx.bugmail)

Toolkit::Crash Reporting instead? Crashes from CI aren't reported to Socorro (or is a Socorro library involved?).

Flags: needinfo?(aryx.bugmail)

I don't know. At least we do not have any specific rules set within mozcrash. Maybe Gabriele can help here.

Component: Mozbase → Crash Reporting
Flags: needinfo?(gsvelto)
Product: Testing → Toolkit
Version: Version 3 → unspecified

If crash reports from CI don't go through Socorro, where'd the signature come from?

It's not a signature, it's just the function name of the first frame in the stack after skipping a certain set of functions, see this and this

RustMozCrash is part of the list of skipped functions but apparently the code isn't filtering it out correctly. So maybe this is a bug in mozcrash?

On the topic, Will made a Socorro's signature-generation functionality available as a stand-alone python module. It would be nice to integrate it in mozcrash so as to have the same signatures across both systems.

Flags: needinfo?(gsvelto)

Sorry, looks I was wrong. So moving back to mozbase.

Component: Crash Reporting → Mozbase
Product: Toolkit → Testing
Summary: drop generic rust boilerplate stacks from drop of crash reports to get meaningful signatures → [mozcrash] drop generic rust boilerplate stacks from drop of crash reports to get meaningful signatures
Priority: -- → P3
Depends on: 867571

Kris Wright has been doing some work around how mozcrash processes crashes so I've pinged her in bug 867571 and made it a dependency here. If that gets fixed this should be fixed too.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.