Closed Bug 260624 Opened 21 years ago Closed 21 years ago

Crash when scrolling overflow:auto div to bottom and then reloading page [@ nsGfxScrollFrameInner::GetScrollableView]

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: martijn.martijn, Assigned: roc)

References

Details

(Keywords: crash, topcrash)

Crash Data

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040919 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040919 Firefox/0.9.1+ See the testcase. Scroll the overflow:auto div to the bottom. After that, reload the page. Result -> the browser crashes. It doesn't happen in: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040911 Firefox/0.9.1+ 8:44 AM It happens in: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040913 Firefox/0.9.1+ 9:46 AM A talkback ID: TB903246X The talkback server is busy right now. It can take a few days before that data comes in. I haven't been able to get a backtrace with a debug build. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached file Testcase
(I wasn't able to find a (usable) Mozilla/Firefox build of 2004-09-12 in case anyone wonders)
Ok, I've build a debug build of 2004-9-11, verified that it did not crash with the testcase. After that I've applied the patch from bug 257916 (via CVS, the patch in that bug would not apply cleanly), and rebuild. After that my debug build consistently crashes on the testcase. So I guess somehow, the fix for bug 257916 is the cause of this bug.
Backing out the nsPresShell.cpp or nsScrollBoxFrame changes doesn't make the crash disappear, so probably it has got something to do with the nsGfxScrollFrame changes? (I couldn't back that part out, somehow it would not compile)
Attached patch fixSplinter Review
This fixes it.
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #159596 - Flags: superreview?(dbaron)
Attachment #159596 - Flags: review?(dbaron)
Attachment #159596 - Flags: superreview?(dbaron)
Attachment #159596 - Flags: superreview+
Attachment #159596 - Flags: review?(dbaron)
Attachment #159596 - Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Blocks: 260407
Keywords: crash
Marking verified per Talkback data.
Status: RESOLVED → VERIFIED
Keywords: topcrash
Summary: Crash when scrolling overflow:auto div to bottom and then reloading page → Crash when scrolling overflow:auto div to bottom and then reloading page [@ nsGfxScrollFrameInner::GetScrollableView]
Crash Signature: [@ nsGfxScrollFrameInner::GetScrollableView]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: