Closed
Bug 552284
Opened 15 years ago
Closed 15 years ago
Crash [@ gfxDWriteFont::ComputeMetrics] with font-family: DejaVu Sans Mono;font-style: oblique;
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: bas.schouten)
References
(Blocks 1 open bug)
Details
(Keywords: crash, testcase)
Crash Data
Attachments
(2 files)
104 bytes,
text/html
|
Details | |
763 bytes,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
See testcase, which crashes current trunk build. http://crash-stats.mozilla.com/report/index/0b94bfe0-93e4-4b65-ad54-66e882100313 0 xul.dll gfxDWriteFont::ComputeMetrics gfx/thebes/src/gfxDWriteFonts.cpp:110 1 xul.dll gfxDWriteFont::gfxDWriteFont gfx/thebes/src/gfxDWriteFonts.cpp:77 2 xul.dll gfxDWriteFontEntry::CreateFontInstance gfx/thebes/src/gfxDWriteFontList.cpp:306 3 xul.dll gfxFontEntry::FindOrMakeFont gfx/thebes/src/gfxFont.cpp:121 4 xul.dll gfxFontGroup::FindPlatformFont gfx/thebes/src/gfxFont.cpp:1500 5 xul.dll gfxFontGroup::FontResolverProc gfx/thebes/src/gfxFont.cpp:1729 6 xul.dll gfxWindowsPlatform::ResolveFontName gfx/thebes/src/gfxWindowsPlatform.cpp:298 7 xul.dll gfxFontGroup::ForEachFontInternal gfx/thebes/src/gfxFont.cpp:1695
Assignee | ||
Comment 1•15 years ago
|
||
This is a regression from http://hg.mozilla.org/mozilla-central/rev/78b8c71b83d9. We should only compute our metrics if we're valid. Otherwise we'll dereference a NULL mFontFace.
Comment 2•15 years ago
|
||
Comment on attachment 432551 [details] [diff] [review] Do not attempt to compute metrics if invalid Yes, we definitely need to check that result before proceeding!
Attachment #432551 -
Flags: review?(jfkthame) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/ebea05ad4f5b.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•15 years ago
|
||
Verified fixed, using: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100419 Minefield/3.7a5pre
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Crash Signature: [@ gfxDWriteFont::ComputeMetrics]
You need to log in
before you can comment on or make changes to this bug.
Description
•