Repair "Shutdown hanging before starting" crash reports
Categories
(Toolkit :: Async Tooling, defect, P2)
Tracking
()
People
(Reporter: jstutte, Assigned: jstutte)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Looking at crashes generated by RunWatchDog
's timeout reporting, I was wondering why we do not see any "Shutdown hanging at step %s. "
messages but only the (somewhat misleading) "Shutdown hanging before starting."
message.
It seems, we rely on sShutdownSteps[i].mTicks > -1
in order to determine during reporting if a step has been ever worked on. The only place I see where mTicks
is set seems to be here, where we explicitly exclude to ever set the first step's ticks to something. This makes us always break from the loop in the reporting function at the first entry. I ignore, if there is any rationale to not set mTicks for sShutdownSteps[0]
, though.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
•
|
||
I can see no reason to not set also mTicks for the first shutdown step.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Right now, we have lots of reports claiming "Shutdown hanging before starting": https://crash-stats.mozilla.org/search/?moz_crash_reason_raw=MOZ_CRASH%28Shutdown%20hanging%20before%20starting.%29&product=Firefox&date=%3E%3D2020-08-18T09%3A44%3A00.000Z&date=%3C2020-08-25T09%3A44%3A00.000Z&_facets=signature&_sort=-date&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature
Assignee | ||
Comment 4•5 years ago
•
|
||
Yes, this patch potentially affects quite some signatures.
Edit: The MOZ_CRASH_REASON of these signatures will probably change all.
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 9171876 [details]
Bug 1660950 - make shutdown steps reporting work
Beta/Release Uplift Approval Request
- User impact if declined: End user impact none, but we would continue to receive bogus crash reports for shutdown hangs.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce: We have no STR for shutdown hangs.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It just changes the way the moz crash reason message we report is generated.
- String changes made/needed:
Comment 8•5 years ago
|
||
Comment on attachment 9171876 [details]
Bug 1660950 - make shutdown steps reporting work
approved for 81.0b3
Assignee | ||
Comment 9•5 years ago
|
||
There seem to be a first report with the new message.
Comment 10•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Description
•