Open Bug 1747117 Opened 3 years ago Updated 4 months ago

Crash in [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip]

Categories

(Fenix :: General, defect, P5)

Unspecified
Android

Tracking

(firefox-esr91 unaffected, firefox95 wontfix, firefox96 wontfix, firefox97 wontfix, firefox104 wontfix, firefox105 wontfix, firefox106 wontfix, firefox107 wontfix, firefox108 wontfix, firefox110 affected, firefox111 affected, firefox112 affected)

Tracking Status
firefox-esr91 --- unaffected
firefox95 --- wontfix
firefox96 --- wontfix
firefox97 --- wontfix
firefox104 --- wontfix
firefox105 --- wontfix
firefox106 --- wontfix
firefox107 --- wontfix
firefox108 --- wontfix
firefox110 --- affected
firefox111 --- affected
firefox112 --- affected

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/f6131fef-4a13-44b8-8135-f3c450211221

Currently the #9 overall topcrash in Fenix 95.2.0, though the issue has been around a lot longer than that.

Java stack trace:

java.lang.RuntimeException
	at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java:136)
	at org.mozilla.fenix.utils.ClipboardHandler.getText(ClipboardHandler.kt:2)
	at org.mozilla.fenix.utils.ClipboardHandler.extractURL(ClipboardHandler.kt:1)
	at org.mozilla.fenix.search.SearchDialogFragment$observeClipboardState$1$invokeSuspend$$inlined$collect$1.emit(Collect.kt:25)
	at mozilla.components.support.ktx.kotlinx.coroutines.flow.FlowKt$ifChanged$$inlined$filter$1$2.emit(Collect.kt:9)
	at org.mozilla.fenix.search.SearchDialogFragment$observeClipboardState$1$invokeSuspend$$inlined$map$1$2.emit(Collect.kt:14)
	at mozilla.components.lib.state.ext.FragmentKt$consumeFlow$1$invokeSuspend$$inlined$filter$1$2.emit(Collect.kt:8)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:14)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(Channels.kt:1)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
	at android.os.Handler.handleCallback(Handler.java:836)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loop(Looper.java:232)
	at android.app.ActivityThread.main(ActivityThread.java:6806)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1103)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

We're still seeing some recent Nightly crashes, but AFAICT all the upstream dependencies were closed 1+ weeks ago. Any thoughts on the newer reports?

Flags: needinfo?(mcarare)

What versions of nightly?

Flags: needinfo?(mcarare)
Crash Signature: [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java)] → [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java)] [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java) ]
Priority: P1 → P2
Priority: P2 → P3
Component: Stability → General
Priority: P3 → P5
Crash Signature: [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java)] [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java) ] → [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip] [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java) ]
Summary: Crash in [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java)] → Crash in [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip]
Crash Signature: [@ java.lang.RuntimeException: at android.content.ClipboardManager.getPrimaryClip] [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java) ] → [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(ClipboardManager.java)] [@ android.os.DeadSystemException: at android.content.ClipboardManager.getPrimaryClip(Unknown Source:14)] [@ android.os.DeadSystemRuntimeExcept…

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 AArch64 and ARM crashes on beta

For more information, please visit BugBot documentation.

Keywords: topcrash

Based on the topcrash criteria, the crash signatures linked to this bug are not in the topcrash signatures anymore.

For more information, please visit BugBot documentation.

Keywords: topcrash
You need to log in before you can comment on or make changes to this bug.