Closed Bug 1786862 Opened 2 years ago Closed 2 years ago

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

Categories

(GeckoView :: Core, defect, P2)

Unspecified
Android

Tracking

(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox104 wontfix, firefox105 wontfix, firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox104 --- wontfix
firefox105 --- wontfix
firefox106 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

(Regression)

Details

(Keywords: crash, regression, Whiteboard: [geckoview:2022h2] [geckoview:m106])

Crash Data

Attachments

(1 file)

Bug 1701283 is back again.

Crash report: https://crash-stats.mozilla.org/report/index/682404a1-4322-47ba-bcf7-149000220824

Java stack trace:

java.lang.SecurityException
	at android.os.Parcel.createException(Parcel.java:1953)
	at android.os.Parcel.readException(Parcel.java:1921)
	at android.os.Parcel.readException(Parcel.java:1871)
	at android.view.autofill.IAutoFillManager$Stub$Proxy.finishSession(IAutoFillManager.java:689)
	at android.view.autofill.AutofillManager.finishSessionLocked(AutofillManager.java:1549)
	at android.view.autofill.AutofillManager.commitLocked(AutofillManager.java:1193)
	at android.view.autofill.AutofillManager.commit(AutofillManager.java:1184)
	at org.mozilla.geckoview.GeckoView$AndroidAutofillDelegate.onSessionCommit(GeckoView.java:3)
	at org.mozilla.geckoview.Autofill$Support.commit(Autofill.java:6)
	at org.mozilla.geckoview.Autofill$Support.handleMessage(Autofill.java:20)
	at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:2)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:207)
	at android.app.ActivityThread.main(ActivityThread.java:6878)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)
See Also: 16949831701283

I guess that this is regression by bug 1755094 since this re-writes autofill.

Regressed by: 1755094
Priority: -- → P2
Whiteboard: [geckoview:2022h2] [geckoview:m107?]

Set release status flags based on info from the regressing bug 1755094

Original issue was bug 1701283, but that fix was removed by bug 1755094
unfortunately.

Some devices (autofill service?) seem to throw a SecurityException when
calling autofill manager. So we need try-catch block for it.

Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/f1761651abdf
Add try-catch block for SecurityException by autofill manager. r=geckoview-reviewers,calu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Whiteboard: [geckoview:2022h2] [geckoview:m107?] → [geckoview:2022h2] [geckoview:m106]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: