Closed Bug 1582497 Opened 6 years ago Closed 5 years ago

EXC_BREAKPOINT crashes in dlopen in CTFontCreateWithFontDescriptor on macOS 10.14 on startup

Categories

(Core :: Graphics: Text, defect, P3)

Unspecified
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: smichaud, Unassigned)

Details

(Whiteboard: qa-not-actionable)

Crash Data

These crashes' frequency seems to have increased recently, but they aren't new:

https://crash-stats.mozilla.com/signature/?platform=Mac%20OS%20X&startup_crash=__true__&reason=EXC_BREAKPOINT&signature=dlopen&date=%3E%3D2019-03-19T15%3A38%3A00.000Z&date=%3C2019-09-19T15%3A38%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_columns=startup_crash&_sort=-date&page=1#reports

Note that not all these crashes are this bug. But most of them are.

Here's a typical crash stack (up to CTFontCreateWithFontDescriptor):

    6  libdyld.dylib  dlopen
    7  libFontParser.dylib TConcreteFontScaler::LoadDylib(char const*)
    8  libFontParser.dylib TTrueTypeScaler::CreateTrueTypeScaler()
    9  libsystem_pthread.dylib  __pthread_once_handler
    10  libsystem_platform.dylib _os_once_callout
    11  libsystem_pthread.dylib pthread_once
    12  libFontParser.dylib TTrueTypeScaler::GetTrueTypeScaler()
    13  libFontParser.dylib TFontScaler::CreateFontScaler(TScalerStrike&&)
    14  libFontParser.dylib TFPFont::GetEmSpaceScaler() const
    15  libFontParser.dylib FPFontGetVariationValues
    16  CoreText TFont::InitVariationValues()
    17  CoreText TFont::FinishConstruction(CGFont*)
    18  CoreText CTFontCreateWithFontDescriptor

This bug might benefit from an analysis using a HookCase hook library (https://github.com/steven-michaud/HookCase).

Severity: normal → critical
Crash Signature: [@ dlopen]

Lee, are you best to look at font issues on mac, or someone else?

Priority: -- → P3
Component: Graphics → Graphics: Text

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --
Priority: -- → P3
Whiteboard: qa-not-actionable

These crashes have disappeared -- I don't see any over the last six months. There are still a few with the [@ dlopen ] signature, but none of their proto signatures contain CTFontCreateWithFontDescriptor.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.