Closed Bug 1425914 Opened 8 years ago Closed 5 years ago

Crash in Offscreen::getCG (Skia related?)

Categories

(Core :: Graphics, defect, P3)

Unspecified
macOS
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox57 --- affected
firefox59 --- affected

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 =============================================================
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)
Summary: Crash in Offscreen::getCG → Crash in Offscreen::getCG (Skia related?)
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.
(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)
Assignee: nobody → milan
Let's check if Skia update changes the crash frequency
Assignee: milan → lsalzman
(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)
The Skia update occurred in bug 1444506.
Flags: needinfo?(lsalzman)
Depends on: 1453453
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.
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.
Keywords: stalled
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.

Last crash was in 20190514153425. Should we just resolve this as WFM?

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Since the bug is closed, the stalled keyword is now meaningless.
For more information, please visit auto_nag documentation.

Keywords: stalled
Group: gfx-core-security
You need to log in before you can comment on or make changes to this bug.