Open Bug 1823094 Opened 2 years ago Updated 1 year ago

Crash in [@ java.lang.ClassCastException: at android.media.MediaFormat.getInteger(MediaFormat.java)]

Categories

(GeckoView :: Media, defect, P5)

Unspecified
Android
defect

Tracking

(firefox111 wontfix, firefox112 wontfix, firefox113 wontfix, firefox115 affected)

Tracking Status
firefox111 --- wontfix
firefox112 --- wontfix
firefox113 --- wontfix
firefox115 --- affected

People

(Reporter: cpeterson, Unassigned)

Details

(Keywords: crash)

Crash Data

Skimming the code, I don't see how the MediaFormat bundle could contain a Float. 100% of these crash reports are from Android 10 (API 29), so perhaps this is an Android bug that been fixed in more recent versions?

Crash report: https://crash-stats.mozilla.org/report/index/dd233e7c-01ae-4b45-b9d9-2e6c00230316

Java stack trace:

java.lang.ClassCastException
	at android.media.MediaFormat.getInteger(MediaFormat.java:1182)
	at org.mozilla.gecko.media.FormatParam.writeToParcel(FormatParam.java:197)
	at org.mozilla.gecko.media.ICodecCallbacks$Stub$Proxy.onOutputFormatChanged(ICodecCallbacks.java:17)
	at org.mozilla.gecko.media.Codec$Callbacks.onOutputFormatChanged(Codec.java:21)
	at org.mozilla.gecko.media.LollipopAsyncCodec$CodecCallback$Forwarder.handleMessage(LollipopAsyncCodec.java:57)
	at org.mozilla.gecko.media.LollipopAsyncCodec$CodecCallback$Forwarder.notify(LollipopAsyncCodec.java:11)
	at org.mozilla.gecko.media.LollipopAsyncCodec$CodecCallback.onOutputFormatChanged(LollipopAsyncCodec.java:10)
	at android.media.MediaCodec$EventHandler.handleCallback(MediaCodec.java:1762)
	at android.media.MediaCodec$EventHandler.handleMessage(MediaCodec.java:1696)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loop(Looper.java:219)
	at android.app.ActivityThread.main(ActivityThread.java:8676)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
You need to log in before you can comment on or make changes to this bug.