Closed Bug 754046 Opened 13 years ago Closed 13 years ago

"ASSERTION: mRequiredRadioCount about to wrap below 0!" with radio root

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: jruderman, Assigned: mounir)

Details

(Keywords: assertion, testcase)

Attachments

(3 files, 1 obsolete file)

Attached file testcase
1. Load the testcase. 2. Quit Firefox. Result: An assertion fails during cycle collection. ###!!! ASSERTION: mRequiredRadioCount about to wrap below 0!: 'radioGroup->mRequiredRadioCount != 0', file content/base/src/nsDocument.cpp, line 6617 This is a "regression" from bug 750370 (before which the assertion was a noop).
Attached file stack trace
OS: Mac OS X → All
Hardware: x86_64 → All
Attached patch Patch v1 (obsolete) — Splinter Review
I have no idea why |GetParent()| was checked before. Unfortunately, we need to trigger the GC to write a test and the only tests that would fail with asserts are reftests/crashtests which don't allow GC to be triggered AFAIK.
Assignee: nobody → mounir
Status: NEW → ASSIGNED
Attachment #623232 - Flags: review?(bzbarsky)
Comment on attachment 623232 [details] [diff] [review] Patch v1 This patch just rearranges the comments and moves the 'notify' init. Based on comment 2. shouldn't something happen here with GetParent() ?
Attachment #623232 - Flags: review?(bzbarsky) → review-
Attached patch PatchSplinter Review
Arg... I changed the patch to see what I could do to test it and I forgot to revert that change. This is the real patch I wanted to attach ;)
Attachment #623232 - Attachment is obsolete: true
Attachment #623434 - Flags: review?(bzbarsky)
Comment on attachment 623434 [details] [diff] [review] Patch That makes way more sense. r=me
Attachment #623434 - Flags: review?(bzbarsky) → review+
Target Milestone: --- → mozilla15
Attachment #623434 - Flags: checkin+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: