Closed
Bug 1425914
Opened 8 years ago
Closed 5 years ago
Crash in Offscreen::getCG (Skia related?)
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: marcia, Assigned: lsalzman)
References
Details
(Keywords: crash, csectype-uaf, sec-high)
Crash Data
This bug was filed from the Socorro interface and is
report bp-ca09ec29-5474-43ab-921a-9e66c0171217.
=============================================================
Only a few crashes, but 2 of the signatures appear to be UAF: http://bit.ly/2kfDm7S
Top 10 frames of crashing thread:
0 @0x7fff773cfd6f
1 @0x7fff4efd21cd
2 @0x7fff4ef7a8d0
3 @0x7fff50e389bc
4 @0x7fff50e3892c
5 @0x7fff50e72b83
6 @0x7fff50e7289f
7 @0x7fff50f0ed6b
8 @0x7fff50f0e9aa
9 @0x7fff50f0dbfa
=============================================================
Comment 1•8 years ago
|
||
Once you get past the unsymbolized frames, the stack looks like this:
Offscreen::getCG(SkScalerContext_Mac const&, SkGlyph const&, unsigned short, unsigned long*, bool)
SkScalerContext_Mac::generateImage(SkGlyph const&)
SkScalerContext::getImage(SkGlyph const&)
SkGlyphCache::findImage(SkGlyph const&)
DrawOneGlyph::operator()(SkGlyph const&, SkPoint, SkPoint)
Updated•8 years ago
|
Keywords: csectype-uaf,
sec-high
Summary: Crash in Offscreen::getCG → Crash in Offscreen::getCG (Skia related?)
Comment 2•8 years ago
|
||
Hi Milan, do you have anyone in your team which could take a look at this bug to figure out what's going on?
Flags: needinfo?(milan)
Timothy, does this look related to the problem you're currently looking at?
Flags: needinfo?(milan) → needinfo?(tnikkel)
Also, this does seem to be very rare, but hard to tell with the crash reports gone.
Comment 5•8 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #3)
> Timothy, does this look related to the problem you're currently looking at?
No, it doesn't seem to be related to bug 1414825 as far as I can tell.
Flags: needinfo?(tnikkel)
Updated•8 years ago
|
Assignee: nobody → milan
Comment 6•8 years ago
|
||
>Also, this does seem to be very rare, but hard to tell with the crash reports gone.
They are trickling in now:
https://crash-stats.mozilla.com/signature/?signature=Offscreen%3A%3AgetCG&date=%3E%3D2018-01-31T16%3A09%3A53.000Z&date=%3C2018-02-07T16%3A09%3A53.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_sort=-date&page=1#reports
Updated•8 years ago
|
Priority: -- → P3
Let's check if Skia update changes the crash frequency
Assignee: milan → lsalzman
Comment 8•8 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #7)
> Let's check if Skia update changes the crash frequency
Is there another Skia update pending or did it happen within the last month?
Flags: needinfo?(lsalzman)
| Assignee | ||
Comment 10•8 years ago
|
||
I've eyeballed the Skia code as much as I can, and there is nothing overtly wrong that should result in this crash from there. The worst that I could see is maybe an OOM causing a null pointer access/assertion or something of that sort, but none of the crash reports indicate that. So if there is some bad juju going on, it doesn't look like we're necessarily causing it on our end.
Comment 11•8 years ago
|
||
The address where we're crashing should be system libraries, but they don't match any of the loaded modules. So it's a big of mystery what code is currently executing in these crashes.
Comment 12•7 years ago
|
||
Did a bit of investigation into this for fun:
- My understanding is that dyld_shared_cache is mapped into all processes on startup. This contains the code for a bunch of system libraries.
- We seem to be executing code out of that area for without associating an image for some reason.
| Reporter | ||
Comment 13•7 years ago
|
||
Last crash was in 20190514153425. Should we just resolve this as WFM?
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Comment 14•5 years ago
|
||
Since the bug is closed, the stalled keyword is now meaningless.
For more information, please visit auto_nag documentation.
Keywords: stalled
Updated•3 years ago
|
Group: gfx-core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•