Closed Bug 1189129 Opened 5 years ago Closed 5 years ago
add crashstack annotations when aborting in gfx
Font Group::Get Default Font
There are currently a whole slew of crasher bugs related to aborts within gfxFontGroup::GetDefaultFont. This happens when, for some reason, we can't find *any* font on the system to use. http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxTextRun.cpp#1899 Before we do this we should add more annotations to the crash report via gfxCriticalError. For example, how many fonts in the fontlist, whether errors occurred during global fontlist enumeration, whether the initialization routine was ever called, etc.
When no default font is found, note in the crashreport the number of calls to InitFontList, the number of fonts in the system fontlist, and the state of the fontloader thread.
Attachment #8642879 - Flags: review?(bas)
Attachment #8642879 - Flags: review?(bas) → review+
To view the crashstack annotations added here: 1. Open the crashstack report Ex: https://crash-stats.mozilla.com/report/index/35dd3094-92b7-442e-b78a-876662150807 2. Click on the 'Metadata' tab 3. Look for 'GraphicsCriticalError' in the list Ex: |[GFX1]: no fonts - init: 1 fonts: 0 loader: 1 This indicates initialization occurred, no fonts are in the fontlist and the font loader thread is in the "waiting to fire" state, stateTimerOnDelay.
You need to log in before you can comment on or make changes to this bug.