Closed Bug 628700 Opened 13 years ago Closed 8 years ago

Crash Report [@ cairo_dwrite_font_face_create_for_dwrite_fontface ] Search Mozilla Support for Help

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

Windows 7 only crash so far - http://crash-stats.mozilla.com/report/list?signature=cairo_dwrite_font_face_create_for_dwrite_fontface - [@ cairo_dwrite_font_face_create_for_dwrite_fontface ] - so far no comments for this crash


Crashing Thread
Frame 	Module 	Signature [Expand] 	Source
0 	xul.dll 	cairo_dwrite_font_face_create_for_dwrite_fontface 	gfx/cairo/cairo/src/cairo-dwrite-font.cpp:1052
1 	xul.dll 	gfxDWriteFont::CairoFontFace 	gfx/thebes/gfxDWriteFonts.cpp:575
2 	xul.dll 	gfxDWriteFont::CairoScaledFont 	gfx/thebes/gfxDWriteFonts.cpp:615
3 	xul.dll 	gfxDWriteFont::SetupCairoFont 	gfx/thebes/gfxDWriteFonts.cpp:540
4 	xul.dll 	gfxHarfBuzzShaper::InitTextRun 	gfx/thebes/gfxHarfBuzzShaper.cpp:709
5 	xul.dll 	gfxFont::InitTextRun 	gfx/thebes/gfxFont.cpp:1544
6 	xul.dll 	gfxFont::SplitAndInitTextRun 	gfx/thebes/gfxFont.cpp:1518
7 	xul.dll 	gfxFontGroup::InitScriptRun 	gfx/thebes/gfxFont.cpp:2477
8 	xul.dll 	gfxFontGroup::InitTextRun 	gfx/thebes/gfxFont.cpp:2442
9 	xul.dll 	gfxFontGroup::MakeTextRun 	gfx/thebes/gfxFont.cpp:2376
10 	xul.dll 	TextRunWordCache::MakeTextRun 	gfx/thebes/gfxTextRunWordCache.cpp:858
Component: GFX: Color Management → Graphics
QA Contact: color-management → thebes
Assignee: nobody → jdaggett
I got this crash on failblog.org when I clicked on a pic under "You May Like"

http://crash-stats.mozilla.com/report/index/bp-98a4139d-23b0-4811-b816-bc6952110125
(In reply to comment #2)
> I got this crash on failblog.org when I clicked on a pic under "You May Like"
> 
> http://crash-stats.mozilla.com/report/index/bp-98a4139d-23b0-4811-b816-bc6952110125

Scott, could you run a quick test for me?  Here are the steps:

1. Download a testcase attached to bug 561304 (this uses priv calls so it needs to be run locally):

https://bugzilla.mozilla.org/attachment.cgi?id=448444

2. Open the file you just downloaded

Result: small waterfall renders for all fonts on your system

I'm wondering whether this causes a crash or not.
Depends on: 628152
(In reply to comment #3)
> (In reply to comment #2)
> > I got this crash on failblog.org when I clicked on a pic under "You May Like"
> > 
> > http://crash-stats.mozilla.com/report/index/bp-98a4139d-23b0-4811-b816-bc6952110125
> 
> Scott, could you run a quick test for me?  Here are the steps:
> 
> 1. Download a testcase attached to bug 561304 (this uses priv calls so it needs
> to be run locally):
> 
> https://bugzilla.mozilla.org/attachment.cgi?id=448444
> 
> 2. Open the file you just downloaded
> 
> Result: small waterfall renders for all fonts on your system
> 
> I'm wondering whether this causes a crash or not.

No, saved the file and ran it locally, tried many reloads and shift-reloads and did not crash, even opened it in 6 tabs and hit reload all tabs a bunch of times.

My original crash with this signature only happened once and I was unable to reproduce it. This is with the same b10 build.
This bug is probably fixed by the fix for bug 628152 but I'm going to leave this open for now until I can confirm that.
Still seeing a bunch of crashes in _cairo_dwrite_font_face_scaled_font_create.  But these have a really strange stack:

_cairo_dwrite_font_face_scaled_font_create 	gfx/cairo/cairo/src/cairo-dwrite-font.cpp:443
_moz_cairo_scaled_font_create 	gfx/cairo/cairo/src/cairo-scaled-font.c:1035
_cairo_gstate_ensure_scaled_font 	gfx/cairo/cairo/src/cairo-gstate.c:1699
_cairo_gstate_get_scaled_font 	gfx/cairo/cairo/src/cairo-gstate.c:1573
_moz_cairo_get_scaled_font 	gfx/cairo/cairo/src/cairo.c:3139
GetRoundOffsetsToPixels 	gfx/thebes/gfxHarfBuzzShaper.cpp:917
gfxHarfBuzzShaper::SetGlyphsFromRun 	gfx/thebes/gfxHarfBuzzShaper.cpp:1000
gfxHarfBuzzShaper::InitTextRun 	gfx/thebes/gfxHarfBuzzShaper.cpp:882
gfxGDIFont::InitTextRun 	gfx/thebes/gfxGDIFont.cpp:163
gfxFont::SplitAndInitTextRun 	gfx/thebes/gfxFont.cpp:1518

Note the progression: gfxGDIFont ==> harfbuzz shaper ==> cairo dwrite code

That should *never* happen or am I missing something?
Crash Signature: [@ cairo_dwrite_font_face_create_for_dwrite_fontface ]
Assignee: jd.bugzilla → nobody
Mass resolving WFM: signature(s) hasn't(/haven't) reported in past 28 days.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.