Closed Bug 1883544 Opened 1 year ago Closed 1 year ago

Crash in [@ java.lang.IllegalStateException: at android.view.View.startDragAndDrop(View.java)]

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect

Tracking

(firefox123 unaffected, firefox124 wontfix, firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox123 --- unaffected
firefox124 --- wontfix
firefox125 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

It seems to depend on drop image. I guess that drop image is 0px.

Crash report: https://crash-stats.mozilla.org/report/index/fe4f42a5-9083-4bb6-94d8-6f2610240305

Java stack trace:

java.lang.IllegalStateException
	at android.view.View.startDragAndDrop(View.java:24023)
	at org.mozilla.gecko.GeckoDragAndDrop$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:4)
	at org.mozilla.geckoview.GeckoSession.startDragAndDrop(GeckoSession.java:29)
	at org.mozilla.geckoview.GeckoSession$Compositor.startDragAndDrop(GeckoSession.java:3)
	at org.mozilla.gecko.GeckoThread.runUiThreadCallback(Native Method)
	at org.mozilla.gecko.GeckoThread$1.run(GeckoThread.java:4)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6669)
	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)

I don't know how to reproduce this.

But according to the reason of IllegalStateException, the drop shadow seems
to be negative or 0.

So I would like to add a check whether the image is valid.

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/840e1a0d6c22 Check whether drag image is valid. r=geckoview-reviewers,amejiamarmol
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

The patch landed in nightly and beta is affected.
:m_kato, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox124 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(m_kato)
Flags: needinfo?(m_kato)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: