Closed Bug 88695 Opened 23 years ago Closed 23 years ago

[xlib] crash on cnn page nsFontXlibNormal::GetWidth(const PRUnichar* aString, PRUint32 aLength)

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: tomi.leppikangas, Assigned: timecop)

References

()

Details

(Keywords: crash)

Xlib port crashes on cnn page, maybe something to do with unicode fonts?

Crash line in nsFontXlibNormal::GetWidth is:
ENCODER_BUFFER_ALLOC_IF_NEEDED(p, mCharSetInfo->mConverter,
    aString, aLength, buf, sizeof(buf), bufLen);

print *mCharSetInfo;
*mCharSetInfo = {
   nsFontCharSetXlibInfo::mCharSet = (nil)  
   nsFontCharSetXlibInfo::Convert = 0xfd2f3ed8 =

&`libgfx_xlib.so`nsFontMetricsXlib.cpp`ISO10646Convert(nsFontCharSetXlibInfo*,XFontStruct*,const
 unsigned short*,int,char*,int) 
   nsFontCharSetXlibInfo::mSpecialUnderline = '\001' 
   nsFontCharSetXlibInfo::mMap = (nil)  
   nsFontCharSetXlibInfo::mConverter = (nil)  
   nsFontCharSetXlibInfo::mLangGroup = (nil) 
}

mConverter shoudn't be null?
Severity: normal → critical
Keywords: crash
Yeah, I've noticed this too, at Yahoo! Mail.
Depends on: 88486
tomi: looks like GTK people are having the same issue in 88486 and when that
gets checked in, this will be automaticaly fixed here, too :)
Status: NEW → ASSIGNED
The fix for bug 88486 is in. 

Kindly see if that fixes this bug as will.
cnn page works for me, marking as fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
It works for me on Yahoo! Mail now, too.  Marking verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.