Closed Bug 1387608 Opened 9 years ago Closed 8 years ago

crash at mozilla::a11y::Accessible::HasGenericType (nsAccessiblePivot caller)

Categories

(Core :: Disability Access APIs, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: surkov, Assigned: eeejay)

Details

Attachments

(1 file)

here's a stack https://crash-stats.mozilla.com/report/index/a0119458-76b8-438d-8bc4-e9fd80170729 It seems nsAccessiblePivot::MovePreviousByText makes some incorrect assumptions about 'tempPosition' variable. Not super high volume, but there's a number of them on 54/55 [1]. Taking into account the user amount of accessFu is not high either, then it may be more visible problem than we may think looking at numbers. Cc'ing Eitan and Yura. [1] https://crash-stats.mozilla.com/signature/?signature=mozilla%3A%3Aa11y%3A%3AAccessible%3A%3AHasGenericType&date=%3E%3D2017-07-26T14%3A39%3A00.000Z&date=%3C2017-08-02T14%3A39%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_sort=-version&_sort=-date&page=1
This is a P1 bug without an assignee. P1 are bugs which are being worked on for the current release cycle/iteration/sprint. If the bug is not assigned by Monday, 28 August, the bug's priority will be reset to '--'.
Keywords: stale-bug
Priority: P1 → P2
Eitan, since you are looking at accessFu stuff anyways, then would you mind to check this one out too?
Flags: needinfo?(eitan)
Comment on attachment 8961567 [details] [diff] [review] Check if tempPosition is null in pivot move by text. r?surkov Review of attachment 8961567 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/base/nsAccessiblePivot.cpp @@ +316,5 @@ > int32_t tempStart = mStartOffset, tempEnd = mEndOffset; > Accessible* tempPosition = mPosition; > Accessible* root = GetActiveRoot(); > while (true) { > + NS_ENSURE_TRUE(tempPosition, NS_ERROR_UNEXPECTED); right, I forgot we are in XPCOM world :) havnt' see those foe a while
Attachment #8961567 - Flags: review?(surkov.alexander) → review+
Assignee: nobody → eitan
Flags: needinfo?(eitan)
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6c26d163c132 Check if tempPosition is null in pivot move by text. r=surkov
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: