ClassNotFoundException in Firefox, causing crash of critical com.android.phone process
Categories
(Firefox for Android :: Browser Engine, defect)
Tracking
()
People
(Reporter: mk-leoptun, Unassigned)
Details
Steps to reproduce
- Navigate to any site with images
- Long-press any image
- Select "Download" from menu
- Wait until "File downloaded" toast appears
Expected behavior
a. File is downloaded.
b. No application is crashed, not even anything critical in Android.
Actual behavior
File has been downloaded just as requested (which is fine). But at the very same moment, in all cases, another application, a pretty critical "com.android.phone", has crashed. According to my observations, there is 100% correlation between above-mentioned steps to reproduce, and the crash of "com.android.phone", causing Android to disconnect from GSM network altogether.
Workaround
For a couple of times, switching on and off the Aeroplane mode rescues the situation. After several crashes, only a full device restart seems to help.
Device information
- Firefox version: 117.0.1 from Google PlayStore
- Android device model: beyond0lte (Samsung SM-G970F)
- Android OS version: 10
Note: The behaviour have appeared roughly one week ago. Since then, one Firefox update arrived, but things have not changed.
Any additional information?
This ClassNotFoundException error message always appears in logcat when the above-mentioned crash occurs, blaming Firefox as culprit:
FATAL EXCEPTION: main
Process: com.android.phone, PID: 14059
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 (has extras) } in com.android.internal.telephony.CarrierKeyDownloadManager$1@43e208e
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1565)
at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
Caused by: java.lang.RuntimeException: Parcelable encountered ClassNotFoundException reading a Serializable object (name = mozilla.components.browser.state.state.content.DownloadState$Status)
at android.os.Parcel.readSerializable(Parcel.java:3140)
at android.os.Parcel.readValue(Parcel.java:2917)
at android.os.Parcel.readArrayMapInternal(Parcel.java:3244)
at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:292)
at android.os.BaseBundle.unparcel(BaseBundle.java:236)
at android.os.BaseBundle.getLong(BaseBundle.java:1069)
at android.content.Intent.getLongExtra(Intent.java:7855)
at com.android.internal.telephony.CarrierKeyDownloadManager$1.onReceive(CarrierKeyDownloadManager.java:154)
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1555)
... 8 more
Caused by: java.lang.ClassNotFoundException: mozilla.components.browser.state.state.content.DownloadState$Status
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at android.os.Parcel$2.resolveClass(Parcel.java:3126)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1703)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1594)
at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1824)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1409)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
at android.os.Parcel.readSerializable(Parcel.java:3134)
... 16 more
Caused by: java.lang.ClassNotFoundException: mozilla.components.browser.state.state.content.DownloadState$Status
... 25 more
Updated•2 years ago
|
Description
•