Crash in [@ java.lang.IllegalArgumentException: at androidx.compose.ui.text.internal.InlineClassHelperKt.throwIllegalArgumentException(InlineClassHelper.kt:3)]
Categories
(Firefox for Android :: General, defect)
Tracking
()
People
(Reporter: aryx, Assigned: towhite)
References
Details
(Keywords: crash, Whiteboard: [fxdroid][group3])
Crash Data
Attachments
(4 files, 3 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
|
2.54 MB,
video/mp4
|
Details |
These crash reports started mid-December and are focused on Firefox for Android 146.0.1 and 148.0a1.
Crash report: https://crash-stats.mozilla.org/report/index/1172d4e4-0c6d-49ec-82f0-ac96a0260108
Top 10 frames:
0 androidx.compose.ui.text.internal.InlineClassHelperKt throwIllegalArgumentException InlineClassHelper.kt:3
1 androidx.compose.ui.text.MultiParagraph requireLineIndexInRange MultiParagraph.kt:38
2 androidx.compose.ui.text.TextLayoutResult getLineLeft TextLayoutResult.kt:3
3 androidx.compose.foundation.text.input.internal.CursorAnchorInfoApi34Helper addVisibleLineBounds LegacyCursorAnchorInfoBuilder.android.kt:23
4 androidx.compose.foundation.text.input.internal.CursorAnchorInfoController calculateCursorAnchorInfo CursorAnchorInfoController.android.kt:430
5 androidx.compose.foundation.text.input.internal.CursorAnchorInfoController$st... invoke R8$$SyntheticClass:3
6 androidx.compose.runtime.SnapshotStateKt__SnapshotFlowKt$snapshotFlow$1 invokeSuspend SnapshotFlow.kt:147
7 androidx.compose.runtime.SnapshotStateKt__SnapshotFlowKt$snapshotFlow$1 invoke SnapshotFlow.kt:13
8 kotlinx.coroutines.flow.AbstractFlow collect Flow.kt:73
9 kotlinx.coroutines.flow.FlowKt__LimitKt$drop$$inlined$unsafeFlow$1 collect SafeCollector.common.kt:15
Comment 1•7 months ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 10 AArch64 and ARM crashes on nightly
For more information, please visit BugBot documentation.
Comment 2•7 months ago
|
||
crash report in nightly suggests it is a user-perceived foreground crash
looks like a google issue that is currently in progress
Updated•7 months ago
|
Comment 3•6 months ago
|
||
Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.
For more information, please visit BugBot documentation.
Comment 4•6 months ago
|
||
The crash volume in release is trending upward. This is currently the top crash in Fenix.
Polly, I see in comment 2 you linked to a google issue, but it's not very active.
Is there anything that can be done in the meantime to workaround it?
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 5•5 months ago
|
||
Updated•5 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 6•5 months ago
|
||
Comment 7•5 months ago
|
||
The bug is marked as tracked for firefox148 (release), tracked for firefox149 (beta) and tracked for firefox150 (nightly). However, the bug still has low severity.
:towhite, could you please increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 8•5 months ago
|
||
Updated•5 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 9•5 months ago
|
||
Comment 10•5 months ago
|
||
Comment on attachment 9549821 [details]
Bug 2009191 - Log crash info in LinkText when link text is not found.
Revision D285979 was moved to bug 2020978. Setting attachment 9549821 [details] to obsolete.
Comment 11•5 months ago
|
||
Comment 12•5 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Potential fix for the crash seen in onboarding
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Pre-requisite: Marketing attribution url required to enable the Marketing card.
Use the https://experimenter.services.mozilla.com/nimbus/android-brand-refresh-onboarding-with-updated-copy/summary/ to enroll in the 'control' branch and ensure that when the marketing card is displayed the app does not crash, and the links, user controls work as expected.
Please also smoke test the 'treatment-a' branch.
- Risk associated with taking this patch: low
- Explanation of risk level: Implementation already exists in the onboarding redesign 'treatment-a' branch
- String changes made/needed: -
- Is Android affected?: yes
| Assignee | ||
Comment 13•5 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285905
Comment 14•5 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined: Potential fix for the crash seen in onboarding
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Pre-requisite: Marketing attribution url required to enable the Marketing card.
Use the https://experimenter.services.mozilla.com/nimbus/android-brand-refresh-onboarding-with-updated-copy/summary/ to enroll in the 'control' branch and ensure that when the marketing card is displayed the app does not crash, and the links, user controls work as expected.
Please also smoke test the 'treatment-a' branch.
- Risk associated with taking this patch: low
- Explanation of risk level: Implementation already exists in the onboarding redesign 'treatment-a' branch
- String changes made/needed: -
- Is Android affected?: yes
| Assignee | ||
Comment 15•5 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285905
Comment 17•5 months ago
|
||
| bugherder | ||
Updated•5 months ago
|
Updated•5 months ago
|
Comment 18•5 months ago
|
||
| uplift | ||
Updated•5 months ago
|
Updated•5 months ago
|
Comment 19•5 months ago
|
||
| uplift | ||
Comment 20•5 months ago
•
|
||
.
Comment 21•5 months ago
•
|
||
Verified on the latest Nightly 150.0a1 from 03/05 using Google Pixel 10 (Android 16) and Samsung Galaxy S23 Ultra (Android 14).
On treatment A, everything appears correct, but on the control the strings are incorrect.
@towhite Could you please confirm if this behavior is expected?
Comment 22•5 months ago
|
||
Tested on Samsung S23 Ultra (Android 15) using the latest Nightly 150.0a1 (Build #2016147639), and I can confirm that Firefox did not crash after enrolling in the control branch of the experiment. Also, the Marketing card is shown as expected.
Additionally, I can confirm that the navigation bar performs searches as expected and navigates to websites on both normal and private sessions from control and treatment-a branches of the experiment. Also, the toggle choices are honored and displayed accordingly in the Data Collection section of the Settings after completing the Onboarding.
- The only issue I observed was the one mentioned in the previous comment, where the strings are incorrect, and some of the images are specific to the Onboarding Refresh instead of the old one (Widget, Sync, and Notifications screens). This issue is similar to the Beta issue we previously encountered, where string resources were not being resolved and instead used the string resource literal; this behavior led to Bug 2015799.
@towhite, please let us know if you need a separate report for this behavior.
Comment 23•5 months ago
|
||
Verified on the Fenix 149.0b5 using Google Pixel 10 (Android 16) and Samsung Galaxy S23 Ultra (Android 14).
On treatment A, everything appears correct, but on the control the strings are incorrect.
No crash encountered.
| Assignee | ||
Comment 24•5 months ago
|
||
Thanks, Carmen. The treatment-a content should be the default configuration in Nightly, Beta and Release. Please can you confirm whether the string literals are still being shown during onboarding - no need to enrol in any experiments.
Updated•5 months ago
|
Comment 25•5 months ago
|
||
(In reply to twhite from comment #24)
Thanks, Carmen. The treatment-a content should be the default configuration in Nightly, Beta and Release. Please can you confirm whether the string literals are still being shown during onboarding - no need to enrol in any experiments.
String literals are not displayed in the default configuration; they appear only when using the control branch.
Updated•5 months ago
|
Comment 26•5 months ago
•
|
||
Verified as fixed on RC Fenix 148.0.2 using Google Pixel 10 (Android 16), Samsung Galaxy S25 Ultra (Android 16), Samsung Galaxy Note 10 (Android 12), Lenovo Tab P11 Pro (Android 14).
Description
•