Permafailing macOS "Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/gfx/thebes/gfxFontEntry.cpp:131" when shared font list is disabled
Categories
(Core :: Graphics: Text, defect)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: jfkthame)
Details
(Keywords: assertion, intermittent-failure, Whiteboard: [stockwell needswork:owner])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
Filed by: rvandermeulen [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=354663574&repo=mozilla-esr91
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/I7TYPMwyTJ6mbGuXNiRcyg/runs/0/artifacts/public/logs/live_backing.log
Seen after preffing off shared font list on ESR91.
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
The InitFontList thread is only safe when the shared font list is enabled; the legacy font objects are main-thread-only, so when the shared list is preffed off we should not attempt to move the initialization off to another thread.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
uplift |
Landed a patch on ESR91 to make gfx.font-list-omt.enabled unconditionally false there to fix the failures. Jonathan's going to write a more generic patch for this too which can land on all trees.
https://hg.mozilla.org/releases/mozilla-esr91/rev/c6f05ffc58100f4b85a11d340a3f23ba5e35dce8
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa35ddf21ee6 Only allow the OMT InitFontList thread to be used if the shared font list is enabled. r=lsalzman
Comment 8•3 years ago
|
||
bugherder |
Comment 9•3 years ago
|
||
Did you want to uplift this to ESR91 for completeness' sake?
Assignee | ||
Comment 10•3 years ago
|
||
I guess it'd make sense. With the default prefs we're shipping, it's harmless/irrelevant, but it potentially makes things more robust for people who try tweaking their prefs. And as patches go, it's about as safe as they come. :)
Assignee | ||
Comment 11•3 years ago
|
||
Comment on attachment 9245753 [details]
Bug 1735588 - Only allow the OMT InitFontList thread to be used if the shared font list is enabled. r=lsalzman
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is irrelevant for users with the defaults we ship, but makes things more robust for anyone who starts tweaking their font-list prefs.
- User impact if declined: Possible thread-safety issues if users adjust prefs.
- Fix Landed on Version: 95
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just adds a simple pref-check to avoid using an unsupported mix of features.
- String or UUID changes made by this patch:
Comment 12•3 years ago
|
||
Comment on attachment 9245753 [details]
Bug 1735588 - Only allow the OMT InitFontList thread to be used if the shared font list is enabled. r=lsalzman
Approved for 91.4esr.
Comment 13•3 years ago
|
||
bugherder uplift |
Description
•