Fenix debug build crashing at launch on specific devices
Categories
(Firefox for Android :: Crash Reporting, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | affected |
People
(Reporter: raj.azharuddin, Unassigned, Mentored)
References
Details
(Whiteboard: [qa-triaged])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0
Steps to reproduce:
I tried using fenix debug build from below link but it is crashing.
Device: poco f4
Android 13
Actual results:
java.lang.RuntimeException: StrictMode ThreadPolicy violation
at org.mozilla.fenix.perf.ThreadPenaltyDeathWithIgnoresListener.penaltyDeath(ThreadPenaltyDeathWithIgnoresListener.kt:46)
at org.mozilla.fenix.perf.ThreadPenaltyDeathWithIgnoresListener.onThreadViolation(ThreadPenaltyDeathWithIgnoresListener.kt:40)
at android.os.StrictMode$AndroidBlockGuardPolicy.lambda$onThreadPolicyViolation$1(StrictMode.java:1889)
at android.os.StrictMode$AndroidBlockGuardPolicy$$ExternalSyntheticLambda0.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.strictmode.DiskReadViolation
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1658)
at libcore.io.BlockGuardOs.access(BlockGuardOs.java:74)
at libcore.io.ForwardingOs.access(ForwardingOs.java:128)
at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:7992)
at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:281)
at java.io.File.exists(File.java:813)
at android.os.TurboSchedMonitorImpl.isFileAvaliable(TurboSchedMonitorImpl.java:236)
at android.os.TurboSchedMonitorImpl.checkBoostPermission(TurboSchedMonitorImpl.java:179)
at android.os.TurboSchedMonitorImpl.getAppToken(TurboSchedMonitorImpl.java:122)
at android.view.Choreographer.doFrame(Choreographer.java:933)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1370)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8116)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Expected results:
Should not crash..I understand debug build are not for end users but I am curious why crashing and want you to fix it please
Comment 1•2 years ago
|
||
Hello, we were able to reproduce this issue on several devices using both the latest Debug build available and older Debug build versions as well.
Reproduced with:
- Xiaomi 12 Pro (Android 13)
- LG G7 fit (Android 8.1.0)
- OPPO A15s (Android 10)
- Oppo Find X5 (Android 13)
- Oppo Find X3 Lite (Android 11)
- Poco M4 Pro (Android 12)
Not reproducible with:
- Samsung Galaxy A53 5G (Android 13)
- Motorola Moto G30 (Android 12)
- Samsung Galaxy Note10 (Android 12)
- Lenovo Yoga Tab 11 (Android 12)
- Huawei MediaPad M2 (Android 5.1.1)
- Google Pixel devices
The crash is not reproducible in latest Nightly, Beta or Release channels.
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
(In reply to Delia Pop from comment #1)
[...]
- OPPO A15s (Android 10)
- Oppo Find X5 (Android 13)
- Oppo Find X3 Lite (Android 11)
In Bug 1851974, Oppo devices have been excluded from the strict mode so they should be working now. Delia, could you please check? Thanks!
Comment 3•2 years ago
•
|
||
Hi, I can confirm that OPPO A15s (Android 10) and Oppo Find X5 (Android 13) no longer crash at launch. We used the latest debug build from https://firefox-ci-tc.services.mozilla.com/tasks/index/mobile.v3.firefox-android.apks.fenix-debug.2023.09.20.latest/arm64-v8a .
We'll get back tomorrow with an update regarding Oppo Find X3 Lite (Android 11).
LE: Oppo Find X3 Lite (Android 11) no longer crashes either.
| Reporter | ||
Comment 5•2 years ago
|
||
What about Xiaomi device? Still facing issue
Comment 6•2 years ago
|
||
what is the solution to this problem?
i am still facing it while usb debugging the app.
| Reporter | ||
Comment 7•2 years ago
|
||
Any update?
The bug was created by me for Xiaomi devices, you guys fixed for oppo and then no update 😐
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
Description
•