Closed Bug 758304 Opened 12 years ago Closed 12 years ago

[Mac] crash in nsAccUtils::IsTextInterfaceSupportCorrect()

Categories

(Core :: Disability Access APIs, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: hub, Assigned: hub)

References

Details

(Keywords: crash)

Attachments

(1 file)

This crash occur since changeset 9b7bea577a43 for bug 750191. It is caused by the use of a deleted nsAccessible*, and only occur in DEBUG. Patch coming.
Attachment #626895 - Flags: review?(trev.saunders)
setting block as it is triggered by testing bug 750612
Blocks: 750612
Comment on attachment 626895 [details] [diff] [review] Check for expired. Make sure expire do the right thing. r= > #ifdef DEBUG > NS_ASSERTION(nsAccUtils::IsTextInterfaceSupportCorrect(mGeckoAccessible), > "Does not support nsIAccessibleText when it should"); > #endif btw you could remove the ifdef since sserts are a nop in opt builds
Attachment #626895 - Flags: review?(trev.saunders) → review+
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla15
Comment on attachment 626895 [details] [diff] [review] Check for expired. Make sure expire do the right thing. r= Review of attachment 626895 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/src/mac/mozAccessible.mm @@ +632,2 @@ > mIsExpired = YES; > + mGeckoAccessible = nsnull; since you null out mGeckoAccessible then you don't need mIsExpired member. Please file follow up bug on this.
Assignee: nobody → hub
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
> since you null out mGeckoAccessible then you don't need mIsExpired member. > Please file follow up bug on this. Filed as bug 758799
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Severity: normal → critical
Keywords: crash
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: