Crash in [@ java.lang.IndexOutOfBoundsException: at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java)] from org.mozilla.fenix.onboarding.view.OnboardingScreenKt$OnboardingScreen
Categories
(Firefox for Android :: Onboarding, defect)
Tracking
()
People
(Reporter: cpeterson, Assigned: harrisono)
References
Details
(Keywords: crash, regression, regressionwindow-wanted, Whiteboard: [fxdroid])
Crash Data
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
Crash report: https://crash-stats.mozilla.org/report/index/471d2715-d122-4c30-b157-2cb530240416
This is not a new crash signature, but it looks like there might have been a regression in Fx 123 (2024-02-20) that increased the crash volume. Looks like all the crashes are from Android versions >= 12 (API 31).
Exception: java.lang.IndexOutOfBoundsException
Message: Index 1 out of bounds for length 1
Top 10 frames:
0 jdk.internal.util.Preconditions outOfBounds Preconditions.java:64
1 jdk.internal.util.Preconditions outOfBoundsCheckIndex Preconditions.java:70
2 jdk.internal.util.Preconditions checkIndex Preconditions.java:266
3 java.util.Objects checkIndex Objects.java:359
4 java.util.ArrayList get ArrayList.java:434
5 org.mozilla.fenix.onboarding.view.OnboardingScreenKt$OnboardingScreen$3$2 emit OnboardingScreen.kt:9
6 kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1 invoke SafeCollector.kt:5
7 kotlinx.coroutines.flow.internal.SafeCollector emit SafeCollector.kt:17
8 kotlinx.coroutines.flow.internal.SafeCollector emit SafeCollector.kt:1
9 androidx.compose.runtime.SnapshotStateKt__SnapshotFlowKt$snapshotFlow$1 invokeSuspend SnapshotFlow.kt:184
| Reporter | ||
Comment 1•1 year ago
|
||
Roger, could your fix for "Hide default browser onboarding card" bug 1874768 have caused this crash? Bug 1874768 is the only bug in the Fenix::Onboarding component that shipped in Fx 123. These crash reports for IndexOutOfBoundsExceptions from org.mozilla.fenix.onboarding.view.OnboardingScreenKt$OnboardingScreen are not new, but we saw an increase starting in Fx 123.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Landing prospective fix to Nightly to soak for the weekend before we uplift to Beta to see if it brings down this crash rate.
Comment 5•1 year ago
|
||
| bugherder | ||
Comment 6•1 year ago
|
||
:harrisono adding a reminder about Comment 4 when you get a moment.
We are in the final week of beta for Fx126 and will only have 2 beta builds left.
| Assignee | ||
Comment 7•1 year ago
|
||
I think this is safe to uplift to beta. I'll make a beta uplift request now.
| Assignee | ||
Comment 8•1 year ago
|
||
Comment on attachment 9398449 [details]
Bug 1891867 - Fix index call in scrollToNextPageOrDismiss in OnboardingScreen
Beta/Release Uplift Approval Request
- User impact if declined: Potential fix for onboarding card crash will wait for another beta cycle before being released to users.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Not risky, has not created crashes in Nightly and is a small logic change to prevent out of index errors.
- String changes made/needed:
- Is Android affected?: No
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Comment on attachment 9398449 [details]
Bug 1891867 - Fix index call in scrollToNextPageOrDismiss in OnboardingScreen
Approved for 126.0b8
Comment 10•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
| Assignee | ||
Comment 11•1 year ago
•
|
||
might be too early to celebrate but I am not seeing any crash signatures matching this crash in Beta 126.0b8 or later.
Description
•