Closed Bug 329379 Opened 15 years ago Closed 15 years ago

CRASH reloading/closing range page

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: smaug)

References

Details

(4 keywords)

Attachments

(2 files)

If I have a simple range in a xform and reload the page a couple of times or even just switch to another page or close the browser, the browser may crash.  Crashes during the process of releasing the range object.
Attached file testcase
load the testcase then keep reloading it.  By the 3rd or 4th reload, the browser will crash.  I can't recreate on 0.4, but happens all the time on debug trunk after some assertions.
Keywords: crash, testcase
Attached patch proposed patchSplinter Review
The first change is just a clean up, the fix is the
re-ordering of inherited classes.
Assignee: aaronr → smaug
Status: NEW → ASSIGNED
Attachment #215696 - Flags: review?(aaronr)
Attachment #215696 - Flags: review?(allan)
Comment on attachment 215696 [details] [diff] [review]
proposed patch

Great job figuring this one out!  It was a hard one to debug.
Attachment #215696 - Flags: review?(aaronr) → review+
Comment on attachment 215696 [details] [diff] [review]
proposed patch

r*=me
Attachment #215696 - Flags: review?(allan) → review+
Checked in on trunk
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Blocks: 332853
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.