Closed Bug 1743354 Opened 2 years ago Closed 2 years ago

Crash in [@ java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java)]

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect

Tracking

(firefox94 wontfix, firefox95 wontfix, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/7fda858e-3da2-4aca-ae7c-cfd4c0211129

Java stack trace:

java.lang.SecurityException
	at android.os.Parcel.readException(Parcel.java:1693)
	at android.os.Parcel.readException(Parcel.java:1646)
	at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:4878)
	at android.app.ActivityThread.acquireProvider(ActivityThread.java:5949)
	at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2453)
	at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1521)
	at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1135)
	at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1095)
	at android.content.ClipData$Item.coerceToText(ClipData.java:332)
	at org.mozilla.gecko.Clipboard.getData(Clipboard.java:10)
	at org.mozilla.gecko.Clipboard.hasData(Clipboard.java:2)
	at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:151)

android.content.ClipData$Item.coerceToText throws SecurityException, so we should catch this exception.

ClipData.Item.coerceToText seems to be possible to throws SecurityException,
so we have to consider this situation.

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/ede12bbdc553
Considering SecurityException by calling coerceToText(). r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: