Closed
Bug 125480
Opened 23 years ago
Closed 23 years ago
Stylesystem handing out bogus font structs.
Categories
(Core :: CSS Parsing and Computation, defect, P1)
Tracking
()
VERIFIED
DUPLICATE
of bug 105619
mozilla1.0
People
(Reporter: pathos, Assigned: dbaron)
References
()
Details
(Keywords: crash)
http://webfx.eae.net/dhtml/xtree/demo.html
Reproducable:
- click toggle()
- click expand()
- click collapse()
- click expandAll() (notice color change)
- click collapseAll()
- click expandAll() again....mozilla crashes
Reporter | ||
Comment 1•23 years ago
|
||
Build ID 2002021108
Comment 2•23 years ago
|
||
I've duplicated this bug on a Win2000 system using Mozilla Build #2002021203.
Also, I've filed a Talkback incident report (ID:TB2908825Z)
Comment 3•23 years ago
|
||
confirming crash. Setting the priority to P3
Keywords: crash
Priority: -- → P3
Comment 4•23 years ago
|
||
Confirming, and reassigning to Style System. We crash due to the style system
giving us a bogus nsStyleFont struct in nsTextFrame::TextStyle::TextStyle().
nsAString::IsEmpty() line 140 + 15 bytes
nsAString::do_AssignFromReadable(const nsAString & {...}) line 288 + 8 bytes
nsAString::AssignFromReadable(const nsAString & {...}) line 239
nsAString::Assign(const nsAString & {...}) line 263 + 19 bytes
nsString::operator=(const nsString & {...}) line 281 + 19 bytes
nsFont::operator=(const nsFont & {...}) line 104
nsFontMetricsWin::Init(nsFontMetricsWin * const 0x03ee2590, const nsFont &
{...}, nsIAtom * 0x029d2200, nsIDeviceContext * 0x03509740) line 469
nsFontCache::GetMetricsFor(nsFontCache * const 0x037631c0, const nsFont & {...},
nsIAtom * 0x029d2200, nsIFontMetrics * & 0x00000000) line 670 + 27 bytes
DeviceContextImpl::GetMetricsFor(DeviceContextImpl * const 0x03509740, const
nsFont & {...}, nsIAtom * 0x029d2200, nsIFontMetrics * & 0x00000000) line 303
nsTextFrame::TextStyle::TextStyle(nsIPresContext * 0x03b0ed90,
nsIRenderingContext & {...}, nsIStyleContext * 0x02f83694) line 553
Assignee: jst → dbaron
Status: UNCONFIRMED → NEW
Component: DOM HTML → Style System
Ever confirmed: true
QA Contact: stummala → ian
Summary: Crashing on expandAll → Stylesystem handing out bogus font structs.
Assignee | ||
Comment 5•23 years ago
|
||
Same as bug 105619? Might this be easier to debug...?
Assignee | ||
Comment 6•23 years ago
|
||
I'm not seeing crashes but I'm seeing a good bit of incorrect display.
Assignee | ||
Comment 7•23 years ago
|
||
OK, I got it to crash this time.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 8•23 years ago
|
||
This is fixed by the patch on bug 105619.
*** This bug has been marked as a duplicate of 105619 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•