Closed Bug 1493403 Opened 6 years ago Closed 6 years ago

Crash in mozilla::a11y::AccGroupInfo::TotalItemCount

Categories

(Core :: Disability Access APIs, defect)

64 Branch
Unspecified
Windows 10
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla64
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- unaffected
firefox63 --- unaffected
firefox64 blocking verified

People

(Reporter: calixte, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression, topcrash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is
report bp-01855509-ce12-4bea-9f80-322770180922.
=============================================================

Top 10 frames of crashing thread:

0 xul.dll mozilla::a11y::AccGroupInfo::TotalItemCount accessible/base/AccGroupInfo.cpp:236
1 xul.dll mozilla::a11y::Accessible::NativeAttributes accessible/generic/Accessible.cpp:1052
2 xul.dll mozilla::a11y::HyperTextAccessible::NativeAttributes accessible/generic/HyperTextAccessible.cpp:1095
3 xul.dll mozilla::a11y::Accessible::Attributes accessible/generic/Accessible.cpp:972
4 xul.dll mozilla::a11y::ia2Accessible::get_attributes accessible/windows/ia2/ia2Accessible.cpp:489
5 xul.dll void mozilla::a11y::HandlerProvider::BuildDynamicIA2Data accessible/ipc/win/HandlerProvider.cpp:315
6 xul.dll void mozilla::a11y::HandlerProvider::BuildInitialIA2Data accessible/ipc/win/HandlerProvider.cpp:389
7 xul.dll nsresult mozilla::detail::RunnableMethodImpl<mozilla::a11y::HandlerProvider*, void  xpcom/threads/nsThreadUtils.h:1229
8 xul.dll void `anonymous namespace'::SyncRunnable::APCRun ipc/mscom/MainThreadInvoker.cpp:64
9 xul.dll static void mozilla::mscom::MainThreadInvoker::MainThreadAPC ipc/mscom/MainThreadInvoker.cpp:187

=============================================================

There are 6 crashes (from 2 installations) in nightly 64 with buildid 20180922100157. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1489324.

[1] https://hg.mozilla.org/mozilla-central/rev?node=df90cba28373
Flags: needinfo?(eitan)
Keywords: topcrash
The code does check for the case where a container has no children.
However, before it does so, it tries to check whether it needs to skip a text leaf child.
This check previously assumed there was a child to check, which crashed for a container with no children.
Comment on attachment 9011327 [details]
Bug 1493403: AccGroupInfo::TotalItemCount: Don't assume a container has children.

Eitan Isaacson [:eeejay] has approved the revision.
Attachment #9011327 - Flags: review+
(In reply to James Teh [:Jamie] from comment #1)
> Created attachment 9011327 [details]
> Bug 1493403: AccGroupInfo::TotalItemCount: Don't assume a container has
> children.
> 
> The code does check for the case where a container has no children.
> However, before it does so, it tries to check whether it needs to skip a
> text leaf child.
> This check previously assumed there was a child to check, which crashed for
> a container with no children.

could you add a crash test pls? just to stay on a safe side
Flags: needinfo?(eitan)
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0648f196a589
AccGroupInfo::TotalItemCount: Don't assume a container has children. r=eeejay
Could you ask the sheriffs to expedite the merge to mozilla-central, or else cherrypick there? It would be good to get this fixed in Nightly as soon as possible, since Nightly is pretty unusable for me due to this at the moment. Thanks :-)
Assignee: nobody → jteh
https://hg.mozilla.org/mozilla-central/rev/0648f196a589
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
No more crashes since the patch landed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: