Closed Bug 1460282 Opened 6 years ago Closed 6 years ago

Crash in InvalidArrayIndex_CRASH | nsTArray_Impl<T>::ElementAt | mozilla::EventStateManager::IsEventOutsideDragThreshold

Categories

(Core :: DOM: Events, defect, P2)

60 Branch
Unspecified
Android
defect

Tracking

()

VERIFIED FIXED
mozilla62
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox60 --- unaffected
firefox61 --- unaffected
firefox62 + verified

People

(Reporter: marcia, Assigned: cpearce)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is
report bp-2938d174-ead0-438a-8efb-07b7e0180509.
=============================================================

Seen while looking at nightly mobile crashes - crashes started using 20180508231749: https://bit.ly/2wpQ1xn. 31 crashes/25 installs so far.

Possible regression range based on build ID: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fb435df9797a471419670fe2d053432556959a9d&tochange=0cd106a2eb78aa04fd481785257e6f4f9b94707b

Bug 1456322 is in the range. ni on :cpearce

Top 10 frames of crashing thread:

0 libmozglue.so MOZ_CrashPrintf mfbt/Assertions.cpp:63
1 libxul.so InvalidArrayIndex_CRASH xpcom/ds/nsTArray.cpp:26
2 libxul.so nsTArray_Impl<BloatEntry*, nsTArrayInfallibleAllocator>::ElementAt 
3 libxul.so mozilla::EventStateManager::IsEventOutsideDragThreshold xpcom/ds/nsTArray.h:1067
4 libxul.so mozilla::EventStateManager::NotifyTargetUserActivation dom/events/EventStateManager.cpp:969
5 libxul.so mozilla::EventStateManager::PreHandleEvent dom/events/EventStateManager.cpp
6 libxul.so mozilla::PresShell::HandleEventInternal layout/base/PresShell.cpp:7642
7 libxul.so mozilla::PresShell::HandleEvent layout/base/PresShell.cpp:7287
8 libxul.so mozilla::PresShell::HandleEvent layout/base/PresShell.cpp:6903
9 libxul.so nsViewManager::DispatchEvent view/nsViewManager.cpp:812

=============================================================
Flags: needinfo?(cpearce)
Assignee: nobody → cpearce
Flags: needinfo?(cpearce)
Comment on attachment 8974575 [details]
Bug 1460282 - Handle touch events with no touches in ESM::IsEventOutsideDragThreshold().

https://reviewboard.mozilla.org/r/242916/#review248816
Attachment #8974575 - Flags: review?(masayuki) → review+
Priority: -- → P2
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4a5d5e1d4240
Handle touch events with no touches in ESM::IsEventOutsideDragThreshold(). r=masayuki
https://hg.mozilla.org/mozilla-central/rev/4a5d5e1d4240
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
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: