Closed Bug 1646246 Opened 5 years ago Closed 3 years ago

Crash in [@ java.lang.IllegalArgumentException: at android.app.DownloadManager.addCompletedDownload(DownloadManager.java)]

Categories

(Firefox for Android :: General, defect, P3)

Unspecified
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox95 --- affected
firefox96 --- ?
firefox97 --- ?

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: crash)

Crash Data

This bug is for crash report bp-349ff670-fa5d-4fff-b629-87a940200617.

Looks like the crashes started with the 20200603092905 Nightly build.

Java stack trace:

java.lang.IllegalArgumentException
	at android.app.DownloadManager.addCompletedDownload(DownloadManager.java:2013)
	at android.app.DownloadManager.addCompletedDownload(DownloadManager.java:1991)
	at mozilla.components.feature.downloads.AbstractFetchDownloadService.addToDownloadSystemDatabaseCompat$feature_downloads_release(AbstractFetchDownloadService.kt:17)
	at mozilla.components.feature.downloads.AbstractFetchDownloadService.updateDownloadNotification$feature_downloads_release(AbstractFetchDownloadService.kt:5)
	at mozilla.components.feature.downloads.AbstractFetchDownloadService.access$updateDownloadNotification(AbstractFetchDownloadService.kt:5)
	at mozilla.components.feature.downloads.AbstractFetchDownloadService$onStartCommand$2.invokeSuspend(AbstractFetchDownloadService.kt:7)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
	at kotlinx.coroutines.AwaitKt.resume(Await.kt:11)
	at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:18)
	at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:5)
	at kotlinx.coroutines.CancellableContinuationImpl.resumeUndispatched(CancellableContinuationImpl.kt:2)
	at kotlinx.coroutines.android.HandlerContext$scheduleResumeAfterDelay$$inlined$Runnable$1.run(Runnable.kt:1)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7124)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)

This is currently the #5 overall Fenix Nightly topcrash.

See Also: → 1632594

We put a patch on 45.0.20200616130058 It should be already fixed on nightly, if you see new occurrences please let me know.

I was able to reproduce this crash on Nightly 6/18 with Xiaomi Redmi Note 8T (Android 9)
STR:

  1. Open https://drive.google.com/file/d/1FNmuJkUivTWbihkjepp6zEwKtE6JGfjU/view in normal browsing.
  2. Download the file.

Note: download failed in private browsing, not crash displayed.

(In reply to Sorina Florean [:sflorean] from comment #3)

I was able to reproduce this crash on Nightly 6/18 with Xiaomi Redmi Note 8T (Android 9)
STR:

  1. Open https://drive.google.com/file/d/1FNmuJkUivTWbihkjepp6zEwKtE6JGfjU/view in normal browsing.
  2. Download the file.

Note: download failed in private browsing, not crash displayed.

Thanks for the info Sorina, the issue is only reproducible on Xiaomi Redmi Note 8T (Android 9)?

Flags: needinfo?(sorina.florean)

(In reply to Arturo Mejia from comment #4)

(In reply to Sorina Florean [:sflorean] from comment #3)

I was able to reproduce this crash on Nightly 6/18 with Xiaomi Redmi Note 8T (Android 9)
STR:

  1. Open https://drive.google.com/file/d/1FNmuJkUivTWbihkjepp6zEwKtE6JGfjU/view in normal browsing.
  2. Download the file.

Note: download failed in private browsing, not crash displayed.

Thanks for the info Sorina, the issue is only reproducible on Xiaomi Redmi Note 8T (Android 9)?

I was able to reproduce also with LG G7 FIT (Android 8).
And not reproducible with Nokia 6 (A 7.1.1), Samsung Note 10 (Android 10), Google Pixel 3 (Android 11), Huawei MediaPad M2(Android 5.1.1), Pixel 3 XL (Android 9), Samsung Galaxy S9 (Android 8) si Sony Xperia Z5 (Android 7).

Flags: needinfo?(sorina.florean)

Crash volume is extremely low, but not fixed. We've received 12 crash reports from Fenix 94.1.* and 1 from Fenix 95.*.

Severity: -- → S3
Priority: -- → P3

No crash reports since Fenix 97.1.0.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Component: Stability → General
You need to log in before you can comment on or make changes to this bug.