Some plugin-process crashes are not marked as plugin crashes (submitted-from-infobar related?)
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Tracking
(firefox-esr60 unaffected, firefox-esr68 fixed, firefox68 wontfix, firefox69 fixed, firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | fixed |
firefox68 | --- | wontfix |
firefox69 | --- | fixed |
firefox70 | --- | fixed |
People
(Reporter: benjamin, Assigned: gsvelto)
References
Details
(Keywords: qawanted, Whiteboard: [fce-active-legacy])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-esr68+
|
Details | Review |
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Reporter | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•8 years ago
|
||
Reporter | ||
Comment 9•8 years ago
|
||
Assignee | ||
Comment 10•8 years ago
|
||
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 11•8 years ago
|
||
Assignee | ||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Assignee | ||
Comment 15•8 years ago
|
||
Assignee | ||
Comment 17•8 years ago
|
||
Comment 18•8 years ago
|
||
Assignee | ||
Comment 19•8 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 20•5 years ago
|
||
I finally figured out what's the problem here, those are crashes happening so early in the process startup that the generated crash report is incomplete and doesn't have the process type. See bug 1566855 comment 31 for more details. The fix for bug 1566855 will fix this bug too.
Assignee | ||
Comment 21•5 years ago
|
||
This changes the way crash reports for child processes happening too early
during the child process' startup. Before bug 1547698 we wrote a partial
.extra file with those crashes that lacked the process type. The user would
not be notified of those crashes until she restarted Firefox and even when
submitted those crashes would be erroneously labeled as browser crashes.
After bug 1547698 we stopped writing .extra files entirely for those crashes
which left orphaned .dmp files among the pending crash reports.
This patch does three things to improve the situation:
- It writes a partial .extra file so that the crashes are detected at the next
startup. So the user is still not notified directly of these crashes but she
can report them later. - It adds the process type to the .extra file so that the crash reporters are
labelled correctly. - It fixes a leak in the
pidToMinidump
hash-map. Since the crashes were
not finalized theChildProcessData
strucutre associated with them would
never be fred.
Assignee | ||
Comment 22•5 years ago
|
||
Note for the reviewer: I'm not fond of the huge amount of code duplication here hence I opened bug 1571711 to address it.
Comment 23•5 years ago
|
||
Comment 24•5 years ago
|
||
bugherder |
Assignee | ||
Comment 25•5 years ago
|
||
I'd like to uplift this to beta since it's the fix for the root cause of bug 1566855 but I'll wait for new crash reports to flow in from nightly to be sure the problem is solved.
Assignee | ||
Updated•5 years ago
|
Comment 26•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Assignee | ||
Comment 27•5 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #26)
Bugbug thinks this bug is a regression, but please revert this change in case of error.
The problem has always been present.
Updated•5 years ago
|
Assignee | ||
Comment 28•5 years ago
|
||
This is working like a charm. It already caught a couple of crashes that we would have missed before such as bug 1573731 and bug 1574571. Time for uplifting it.
Assignee | ||
Comment 29•5 years ago
|
||
Comment on attachment 9083330 [details]
Bug 1282776 - Finalize crash reports for child process crashes happening too early
Beta/Release Uplift Approval Request
- User impact if declined: Some child process crashes might not be reported.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): This modifies the way we handle crashes during child process early startup. As such the change touches all the different child processes we have. I consider it medium risk mostly because of that, the code change is not very small even though it's not large either. I believe it's still worth the risk because this allows us to catch crashes that were flying under the radar before. For example we wouldn't have noticed bug 1573731 and bug 1574571 in nightly w/o this change.
- String changes made/needed: none
Comment 30•5 years ago
|
||
Comment on attachment 9083330 [details]
Bug 1282776 - Finalize crash reports for child process crashes happening too early
Allows us to catch some previously-missed crashes. Approved for 69.0b16. I guess we can wontfix ESR68 since this issue has basically existed since ever?
Comment 31•5 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 32•5 years ago
|
||
Comment on attachment 9083330 [details]
Bug 1282776 - Finalize crash reports for child process crashes happening too early
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Without uplifting this bug we won't have visibility into a number of crashes happening early during child process startup. If ESR68 is affected by those types of crashes (e.g. bug 1573731 and bug 1574571) we won't notice.
- User impact if declined: Some child process crashes might not be reported.
- Fix Landed on Version: 70
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): See comment 29. This will also require uplifting bug 1572565 to apply cleanly. Bug 1572565 is a small, simple patch that fixes an issue with sandbox broker process crash counts being stored under the wrong name in telemetry.
- String or UUID changes made by this patch: none
Comment 33•5 years ago
|
||
Comment on attachment 9083330 [details]
Bug 1282776 - Finalize crash reports for child process crashes happening too early
This is proving effective to help us catch crashes which were previously going unreported. Approved for 68.1esr.
Comment 34•5 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Description
•