Closed Bug 1595804 Opened 3 months ago Closed 1 month ago

Crash in [@ java.lang.IllegalArgumentException: at androidx.core.content.FileProvider.getUriForFile(FileProvider.java)]

Categories

(GeckoView :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox70 unaffected, firefox71 unaffected, firefox72 fixed)

RESOLVED MOVED
Tracking Status
firefox70 --- unaffected
firefox71 --- unaffected
firefox72 --- fixed

People

(Reporter: marcia, Unassigned)

References

Details

(Keywords: crash, regression)

Crash Data

This bug is for crash report bp-967b39e2-0fae-47a7-ba5a-94e010191112.

This is showing up as the #2 overall crash in Fenix nightly and doesn't have a bug: https://bit.ly/34RlGUX. 102 crashes/44 installs so far. Almost 75% of the crashes happened in under one minute.

Java stack trace:

java.lang.IllegalArgumentException
	at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:15)
	at mozilla.components.feature.prompts.file.MimeType$Image$1.invoke(MimeType.kt:2)
	at mozilla.components.feature.prompts.file.MimeType$Image.buildIntent(MimeType.kt:5)
	at mozilla.components.feature.prompts.file.FilePicker.handleFileRequest(FilePicker.kt:19)
	at mozilla.components.feature.prompts.PromptFeature.onPromptRequested$feature_prompts_release(PromptFeature.kt:4)
	at mozilla.components.feature.prompts.PromptFeature$start$1$invokeSuspend$$inlined$collect$1.emit(Collect.kt:7)
	at mozilla.components.support.ktx.kotlinx.coroutines.flow.FlowKt$ifAnyChanged$$inlined$filter$1$2.emit(Collect.kt:15)
	at mozilla.components.feature.prompts.PromptFeature$start$1$invokeSuspend$$inlined$map$1$2.emit(Collect.kt:5)
	at io.reactivex.plugins.RxJavaPlugins.emitAll(RxJavaPlugins.java:15)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAll$1.invokeSuspend(Unknown Source:10)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:2)
	at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:15)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:280)
	at android.app.ActivityThread.main(ActivityThread.java:6706)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

This must be https://github.com/mozilla-mobile/fenix/issues/6439

Latest there is "This may be fixed in the newest version of AC, but we haven't gotten new snapshot for Fenix, so maybe it's just because we haven't gotten a new snapshot." (from 3 hours ago)

Nice to be getting these crashes in Socorro!

Setting this bug's priority to P2 because this is not a GV bug, but leaving open until the Fenix/A-C issue is fixed.

Priority: -- → P2
Rank: 1
Rank: 1
Priority: P2 → P3

The fenix bug looks like it was closed?

Flags: needinfo?(cpeterson)

(In reply to Julien Cristau [:jcristau] from comment #3)

The fenix bug looks like it was closed?

Thanks. Fixed by mozilla-mobile/fenix#6699. Looks like this was a Fenix or A-C bug, not a GV bug.

Status: NEW → RESOLVED
Closed: 1 month ago
Flags: needinfo?(cpeterson)
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.