Fenix crashes when tapping on Security Connection icon from toolbar
Categories
(Firefox for Android :: General, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox123 | --- | unaffected |
| firefox124 | --- | unaffected |
| firefox125 | + | verified |
People
(Reporter: vtamas, Assigned: mcarare)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(2 files)
Steps to reproduce
- Install Fenix and navigate to a page.
- Tap on the "lock" icon from the navigation bar.
Expected behavior
The info panel is successfully displayed.
Actual behavior
Fenix crashes.
Device information
- Firefox version: Nightly 125.0a1 (2024-03-08)
- Android device: Huawei P40 Lite (Android 10)
Any additional information?
- Please see the crash log attached.
- This crash reproduces constantly.
- It is a regression. Last Good build [2024-03-06] - First Bad build [2024-03-07]
| Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
We're seeing these crashes in the startup-test-fenix-arm-nightly-robo-opt jobs in CI too.
https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.80a1a071cfb2770e/matrices/7582776837098590910
Comment 5•2 years ago
|
||
Thanks to the excellent debugging work done over in bug 1884285, we've reverted the AGP 8.3.0 update ahead of the Nightly builds starting in a few minutes. We'll see if that resolves these crashes.
https://github.com/mozilla-mobile/firefox-android/commit/6e68351872d08075272be21f3aa397a5b12b989b
| Assignee | ||
Comment 6•2 years ago
|
||
AGP being the cause of the crash is the most reasonable conclusion because debug builds do not crash, and those builds do not have optimization enabled.
Comment 7•2 years ago
|
||
Comment 8•2 years ago
|
||
Reference from AGP 8.3 changelog
https://developer.android.com/build/releases/gradle-plugin#resource-shrinking
Precise resource shrinking on by default
Precise resource shrinking, which removes unused entries from the resources.arsc file and eliminates unused resource files, is on by default. When this shrinking is enabled, your resource table is reduced and only referenced res folder entries are included in the APK.
To turn off precise resource shrinking, setandroid.enableNewResourceShrinker.preciseShrinkingto false in your project's gradle.properties file.
Comment 9•2 years ago
|
||
The failing jobs in CI went green with this backout and Mihai was able to confirm locally that the new Nightly build isn't crashing. Builds will go out to users as soon as they get through Play Store review.
Comment 10•2 years ago
|
||
Confirmed that the latest Nightly build from Google Play no longer crashes.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•1 year ago
|
Description
•