Closed Bug 291022 Opened 19 years ago Closed 19 years ago

Crash with generated iframe inside br and display:none - Trunk [@ nsView::GetDimensions]

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla1.9alpha1

People

(Reporter: martijn.martijn, Assigned: bzbarsky)

References

()

Details

(4 keywords)

Crash Data

Attachments

(3 files)

The testcase which I'll attach, crashes current trunk build of Mozilla for me.
It doesn't crash with 2004-08-09 build, it crashes with 2004-08-10 build, so
this could very well be a regression from bug 230170.
Attached file Testcase
The crash doesn't always happen the first time. 
Then do a refresh and click again on the button in the testcase.
Normally the crash should happen within 5 times trying.
Attached file Backtrace
Backtrace from my recent debug build.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050419
Firefox/1.0+
TB5208517H from the attached testcase, if it helps.
FWIW I couldn't get the testcase to crash no matter how much I mashed the 'click
me' - but I crashed when I closed the tab.
The similar seems to happen when using the <select> element instead of
<iframe>.
Just to be sure it is understood, I'm repeating it: when it is not crashing
directly, you have to reload and then push the button.
Adding topcrash+ keyword since a couple of users have been able to succesfully
reproduce this and we have an idea of what the regression window is.   It's been
around for a while, so hopefully we can get some traction on this and get it fixed.
Keywords: testcasetopcrash+
Summary: Crash with generated iframe inside br and display:none → Crash with generated iframe inside br and display:none - Trunk [@ nsView::GetDimensions]
Keywords: testcase
I can't get my debug build to crash here (though my optimized build does crash).

In any case, I rather doubt there's a simple fix, but I bet that fixing bug
265367 will help.

Jay, if this is a real topcrash I can try to cobble something together for 1.8,
but only if it's a real topcrash.
Depends on: 265367
Flags: blocking1.8b3?
Flags: blocking-aviary1.1?
Flags: blocking1.8b3? → blocking1.8b4?
Flags: blocking-aviary1.1?
Flags: blocking1.8b4? → blocking1.8b4-
Fixed by checkin for bug 265367.
Assignee: nobody → bzbarsky
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Verified FIXED using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1)
Gecko/20050818 Mozilla/1.0

testcases:

https://bugzilla.mozilla.org/attachment.cgi?id=181206 and
https://bugzilla.mozilla.org/attachment.cgi?id=181189

Reloaded both numerous times as well as clicking on each button multiple times.
 Not crashing any longer.
Status: RESOLVED → VERIFIED
Crash Signature: [@ nsView::GetDimensions]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: