rust panics shouldn't have "GeckoCrashOOL" signature
Categories
(Socorro :: Signature, task)
Tracking
(Not tracked)
People
(Reporter: jcristau, Assigned: jcristau)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•6 years ago
|
||
Julien, I'm renaming GeckoCrashOOL
to GeckoCrash
in bug 1507049. (The function name GeckoCrash
is a little misleading because it is actually used to report Rust panics.) Based on your change here to add std::panicking::begin_panic<T>
to the sentinels list, it looks like I won't need to GeckoCrash
to the irrelevant_signature_re.txt list (because the signature generation algorithm will skip everything until it find the std::panicking::begin_panic<T>
sentinel like in bp-70f7c1da-90a5-409c-8b9b-63bac0181116). Is that correct?
I'm also renaming MOZ_CrashOOL
to MOZ_Crash
(MOZ_CrashOOL
's original name). I see that MOZ_Crash
is already on the irrelevant_signature_re.txt list, but MOZ_CrashOOL
is not.
It looks like there are plenty of unhelpful signatures like MOZ_CrashOOL
or random names like ?MOZ_CrashOOL@@YAXPBDH0@Z.llvm.13761241159606428771
:
What function names would need to be skipped or declared a sentinel to give (for example) bp-0c353de7-41ce-4829-9495-231610190207 a useful signature? Should MOZ_CrashOOL
be skipped? Should std::panicking::continue_panic_fmt
be declared a sentinel like std::panicking::begin_panic_fmt
is?
Assignee | ||
Comment 8•6 years ago
|
||
Yes, adding std::panicking::continue_panic_fmt
to the sentinel list should help for that crash:
Crash id: 0c353de7-41ce-4829-9495-231610190207
Original: ?MOZ_CrashOOL@@YAXPBDH0@Z.llvm.13761241159606428771
New: style::matching::PrivateMatchMethods::replace_rules_internal<T>
Same?: False
That seems to be a minority of the MOZ_CrashOOL signatures though, there's a bunch of cases like https://crash-stats.mozilla.com/report/index/ffd8fcc7-d0a4-4122-b6d5-6b28c0190207 with no good stack (facet on proto signature can be useful).
Description
•