Warnings of potential deadlock in Android font backend
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
As noted in bug 1827756 comment 1, we see a number of warnings of a potential deadlock issue in the Android font code:
04-12 21:59:49.331 11661 11676 I Gecko : [Child 11661, Main Thread] WARNING: Potential deadlock detected:
04-12 21:59:49.331 11661 11676 I Gecko : Cyclical dependency starts at
04-12 21:59:49.331 11661 11676 I Gecko : Mutex : gfxFontEntry lock
04-12 21:59:49.331 11661 11676 I Gecko : Next dependency:
04-12 21:59:49.331 11661 11676 I Gecko : Mutex : SharedFTFace::mLock (currently acquired)
04-12 21:59:49.331 11661 11676 I Gecko : Cycle completed at
04-12 21:59:49.331 11661 11676 I Gecko : Mutex : gfxFontEntry lock
04-12 21:59:49.331 11661 11676 I Gecko : Deadlock may happen for some other execution
I don't believe our tests are in fact deadlocking there at present -- the timeouts in bug 1827756 must have some other cause -- but the warning is indicating a potential issue that we should fix anyway.
Assignee | ||
Comment 1•2 years ago
|
||
Checking logcat from test runs at
https://treeherder.mozilla.org/jobs?repo=try&revision=fc75475d3cd5dcacbbc74b0c9a58a89ae6c97119
we can see that the "potential deadlock" warning no longer appears.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1763414
Comment 4•2 years ago
|
||
bugherder |
Comment 5•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jfkthame, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox114
towontfix
.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
I don't think this needs uplift -- afaict, we were not in fact encountering a deadlock, as noted in comment 0, just logging a warning.
Description
•