BaseScalarInfo& in KeyedScalar could move, causing Problems
Categories
(Toolkit :: Telemetry, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox67 | --- | wontfix |
firefox68 | + | fixed |
firefox69 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
In bug 1451813 we started storing a reference to a BaseScalarInfo
inside KeyedScalar
. This was a mistake as, though compile-time "static" Scalars are immovable, runtime Dynamic Scalars can move their ScalarInfo
s whenever they'd like within gDynamicScalarInfo
.
We should fix that and uplift as we can.
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
References to ScalarInfo objects are stable for all scalars registered
at compile-time, but not for those registered at runtime.
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D33274
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4c9890a1f35 Use a scalar name copy instead of a &BaseScalarInfo r=Dexter https://hg.mozilla.org/integration/autoland/rev/551589932a0a Test that registering and recording dynamic events and scalars together does not crash. r=Dexter
Updated•5 years ago
|
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4c9890a1f35
https://hg.mozilla.org/mozilla-central/rev/551589932a0a
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9068963 [details]
Bug 1555798 - Test that registering and recording dynamic events and scalars together does not crash. r?Dexter
Beta/Release Uplift Approval Request
- User impact if declined: Infrequent crash (bug 1555734) that impacts our confidence recording data in studies, experiments, privileged addons.
- 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: Low
- Why is the change risky/not risky? (and alternatives if risky): It looks good in Nightly and has a good test.
- String changes made/needed:
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Comment on attachment 9068962 [details]
Bug 1555798 - Use a scalar name copy instead of a &BaseScalarInfo r?Dexter
fix possible crash in telemetry code, approved for 68.0b7
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder uplift |
Updated•2 years ago
|
Updated•2 years ago
|
Description
•