Crash in [@ selectors::parser::{{impl}}::to_shmem<T>]
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
People
(Reporter: bgrins, Assigned: heycam)
References
Details
Crash Data
Attachments
(3 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
729 bytes,
text/plain
|
chutten
:
data-review+
|
Details |
2.04 KB,
text/plain
|
chutten
:
data-review+
|
Details |
I'm spinning this out of Bug 1607716 so we can track this better, because of https://bugzilla.mozilla.org/show_bug.cgi?id=1607716#c52:
I think this bug has been tagged up with crashes that have a different root cause from the "outdated libxul and minimal-xul.css" problem we worked around here (as we are still seeing reports on 73/74 where the mozCollapsed atom was re-added).
For instance:
https://crash-stats.mozilla.org/report/index/243592b9-ddd5-467f-a8eb-919a60200311 -
ToShmem failed for Atom: must be a static atom: reSet
https://crash-stats.mozilla.org/report/index/40908cd8-1931-4292-9a5f-ad8640200201 -ToShmem failed for Atom: must be a static atom: bmrder
.What are
bmrder
andreSet
? These must be coming from users somehow, which is unexpected as per https://bugzilla.mozilla.org/show_bug.cgi?id=1607716#c16. Cam or Emilio, do you have any ideas what is going on from those crashes?
Emilio mentions in https://bugzilla.mozilla.org/show_bug.cgi?id=1607716#c53 that it's possible we are hitting a corrupted file on disk and we could fallback more gracefully in release builds.
Reporter | ||
Comment 1•5 years ago
|
||
Moving the needinfo from https://bugzilla.mozilla.org/show_bug.cgi?id=1607716#c52 over here
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Here's another "off by one character" crash: https://crash-stats.mozilla.org/report/index/9320d196-dd24-407c-b465-2ab4f0200309 ToShmem failed for Atom: must be a static atom: morResizingInfo
Though this one is different: https://crash-stats.mozilla.org/report/index/ee41de6f-9b72-4842-a6ee-a66820200308 EXCEPTION_ACCESS_VIOLATION_EXEC
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Observation: around a third of the last week's crashes seem to be reported for nonexistent ESR versions.
FACT: the current Firefox ESR release is Firefox 68.6.0esr, and based on https://wiki.mozilla.org/Release_Management/ESR_Landing_Process , I think the next ESR will be 78. And yet, a bunch of these crashes are reported with other bogus intermediate ESR versions. Some examples:
- 74.0esr : bp-8f44399e-3db5-4829-bdba-821df0200313
- 73.0esr bp-5f96b22a-4076-4fab-9ccb-011c10200319
(both of those^ under thestyle::gecko_string_cache::{{impl}}::to_shmem
signature, linked here - 72.0.1esr: bp-e6d89686-5ee5-47f0-bc9a-03ff60200319
(this one^ under theselectors::parser::{{impl}}::to_shmem<T>
signature, linked here
Comment 4•5 years ago
|
||
(and this version-number-weirdness probably adds credence to the theory that there's some sort of local file corruption/manipulation/customization that's gone on here)
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
OK, we can fall back more gracefully here by just not doing the shared memory style sheet thing when we detect we don't have the right static atoms available. And maybe we should add some telemetry to record how often it happens. But the single bit differences sounds like the kind of crash reports we get with single bit differences, and so might just point to bad RAM / disk.
Comment 6•5 years ago
|
||
A few other interesting MOZ_CRASH reason field values:
https://crash-stats.mozilla.org/report/index/b3c5e785-cded-44f5-a07b-591860200429
ToShmem failed for Atom: must be a static atom: ٠
This looks pretty bogus. ٠
doesn't seem like something that we'd have in a static atom...
https://crash-stats.mozilla.org/report/index/6300a87c-639a-418e-b192-f58f00200429
https://crash-stats.mozilla.org/report/index/3da23a97-7ea8-443e-a76d-8c6d30200429
ToShmem failed for Atom: must be a static atom: anonymous-div
https://crash-stats.mozilla.org/report/index/b3c5e785-cded-44f5-a07b-591860200429
https://crash-stats.mozilla.org/report/index/9aff04dc-8aec-44b2-81c0-a06460200429
https://crash-stats.mozilla.org/report/index/1ff218c6-413c-4088-a5dc-165e40200429
ToShmem failed for Atom: must be a static atom: moz-collapsed
These ones look like real strings (there's no weird character mismatching as there seems to be with e.g. bmder
in comment 0). But having said that, searchfox doesn't turn up any usages of these strings in-tree, so I'm not sure where they'd come from...
Assignee | ||
Comment 7•5 years ago
|
||
FWIW the reason I made this a panic initially was so that developers would realize when they needed to add new static atoms after editing UA style sheets. But we could make it panic only in debug builds or something.
(In reply to Daniel Holbert [:dholbert] from comment #6)
https://crash-stats.mozilla.org/report/index/6300a87c-639a-418e-b192-f58f00200429
https://crash-stats.mozilla.org/report/index/3da23a97-7ea8-443e-a76d-8c6d30200429
ToShmem failed for Atom: must be a static atom: anonymous-div
That's an atom that was removed in bug 1618260 last month, so feels like the same potential updater / corruption related issue as bug 1607716.
https://crash-stats.mozilla.org/report/index/b3c5e785-cded-44f5-a07b-591860200429
https://crash-stats.mozilla.org/report/index/9aff04dc-8aec-44b2-81c0-a06460200429
https://crash-stats.mozilla.org/report/index/1ff218c6-413c-4088-a5dc-165e40200429
ToShmem failed for Atom: must be a static atom: moz-collapsed
That was the specific one that prompted bug 1607716 and which we added back briefly.
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
We still panic in a debug build, so that developers can notice when they
need to add a new static atom after modifying UA sheets.
We also add telemetry to note when this happens, add an app note to a
crash report, in case any crash later on occurs, and re-up the existing,
expired shared memory sheet telemetry probes so we can look at them
again.
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
bugherder |
Comment 17•5 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 18•5 years ago
|
||
The patch landed in nightly and beta is affected.
:heycam, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 19•5 years ago
|
||
I don't think I would bother uplifting this.
Assignee | ||
Updated•5 years ago
|
Description
•