Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 118822
Summary: | mozilla crashes in font code | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
Component: | mozilla | Assignee: | Christopher Blizzard <blizzard> |
Status: | CLOSED DUPLICATE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | mharris, otaylor, rvokal, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 19:02:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 114961 |
Description
Bill Nottingham
2004-03-21 04:44:51 UTC
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -150093696 (LWP 27814)] 0x01083ce7 in TextStyle (this=0xfef1a8b0, aPresContext=0x99825a0, aRenderingContext=@0x98a5700, sc=0x9d66254) at nsTextFrame.cpp:548 548 mNormalFont->GetSpaceWidth(mSpaceWidth); (gdb) bt #0 0x01083ce7 in TextStyle (this=0xfef1a8b0, aPresContext=0x99825a0, aRenderingContext=@0x98a5700, sc=0x9d66254) at nsTextFrame.cpp:548 #1 0x0107b0dc in nsTextFrame::Paint(nsIPresContext*, nsIRenderingContext&, nsRect const&, nsFramePaintLayer, unsigned) (this=0x9d22a20, aPresContext=0x99825a0, aRenderingContext=@0x98a5700, aDirtyRect=@0xfef1a960, aWhichLayer=eFramePaintLayer_Overlay, aFlags=0) at nsTextFrame.cpp:1432 #2 0x010378ab in nsContainerFrame::PaintChild(nsIPresContext*, nsIRenderingContext&, nsRect const&, nsIFrame*, nsFramePaintLayer, unsigned) (this=0x9d66204, aPresContext=0x99825a0, aRenderingContext=@0x98a5700, aDirtyRect=@0x424c0001, aFrame=0x9d22a20, aWhichLayer=eFramePaintLayer_Overlay, aFlags=0) at nsContainerFrame.cpp:285 Warren has a full crash at http://togami.com/~warren/temp/MOZILLACRASH http://togami.com/~warren/archive/2004/MOZILLACRASH Moved the mozilla and epiphany backtraces here. Three methods to reproduce: 1) http://www.mrpalm.com/mobilephone_zone/connect.php3 2) http://www.amazon.com/gp/sign-in.html/ Attempt to type anything in the web form 3) http://www.vmware.com/vmwarestore/newstore/download_login.jsp Login using your VMWare name & password. On the next page do ANYTHING and it crashes. Note that this happened with both mozilla-1.6 and firefox-0.8 binaries that worked fine a few days ago. Upgrading something underneith it introduced this crash. Right before the crash, my debug build spews: ###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file /usr/local/src/mozilla/trunk/mozilla/gfx/src/nsDeviceContext.cpp, line 668 Break: at file /usr/local/src/mozilla/trunk/mozilla/gfx/src/nsDeviceContext.cpp, line 668 ###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file /usr/local/src/mozilla/trunk/mozilla/layout/html/base/src/nsHTMLReflowState.cpp, line 2100 Break: at file /usr/local/src/mozilla/trunk/mozilla/layout/html/base/src/nsHTMLReflowState.cpp, line 2100 Program received signal SIGSEGV, Segmentation fault. David Baron suggested that this may be caused by having non-existant fonts still referenced in a fonts.cache-1 file. That's a known crasher on the Mozilla trunk... Nope, it happens with 1.4.2 too. As best as I can tell, this is actually a manifestation of bug 118587. Where it crases for me is, for example, when it starts to display text (or a cursor) in a textbox. The font I have selected for a textbox is LucidaSansTypewriter-10. If I change it to (for example) Vera Sans, it no longer crashes. It appears to be getting invalid metrics back from Xft for the bitmap font, judging from the mozilla debug errors. While gnome-terminal (pango?) ignores the font and substitutes something else, mozilla just blows up. Confirmed, fix for 118587 fixes this. *** This bug has been marked as a duplicate of 118587 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |