Report corrupted JS::Values in crash data
Categories
(Core :: JavaScript Engine, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Crash Data
Attachments
(2 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
2.39 KB,
text/plain
|
tdsmith
:
data-review+
|
Details |
To help track down crashes like bug 1658070 we can report corrupted JS::Values that we encounter in the crash message. This could help to distinguish poison values, heap corruption, bad memory etc.
| Assignee | ||
Comment 1•5 years ago
|
||
Comment 3•5 years ago
|
||
I think adding such MOZ_CRASH_UNSAFE_PRINTF requires a data-review as well, at least that's how I understood it the last time I added such statement in Bug 1405843.
See https://wiki.mozilla.org/Firefox/Data_Collection#Data_Collection_Categories and https://github.com/mozilla/data-review/blob/master/request.md
Comment 4•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Nicolas B. Pierron [:nbp] from comment #3)
Oh, I didn't realise that (similar data is already available publicly in crash-stats). I'll request a data-review.
| Assignee | ||
Comment 6•5 years ago
|
||
After-the-fact data collection request.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Comment on attachment 9172220 [details]
data_collection_request.txt
Thanks!
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes; this is a value rendered into the MozCrashReason annotation documented at https://searchfox.org/mozilla-central/rev/d54712b9644b49cec6cc90a9e0c325fdfab04e7c/toolkit/crashreporter/CrashAnnotations.yaml#646-651 and https://searchfox.org/mozilla-central/rev/d54712b9644b49cec6cc90a9e0c325fdfab04e7c/toolkit/components/telemetry/docs/data/crash-ping.rst#66.
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, the Firefox telemetry opt-out and declining to send a crash report.
- If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, jonco.
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, technical data.
- Is the data collection request for default-on or default-off?
Default-on.
- Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No.
- Is the data collection covered by the existing Firefox privacy notice?
Yes.
- Does there need to be a check-in in the future to determine whether to renew the data?
No.
- Does the data collection use a third-party collection tool?
No.
Comment 8•5 years ago
|
||
Shall [@ js::ReportBadValueTypeAndCrash(JS::Value const&)] be the crash signature or should frame 0 get ignored for it? See this example.
| Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #8)
We should ignore the first frame (although it's also interesting to look at stats for these crashes all together).
Description
•