Closed Bug 966344 Opened 6 years ago Closed 6 years ago

nsSurfaceTexture causes dalvik abort in updateTexImage() on ICS

Categories

(Firefox for Android Graveyard :: Plugins, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: snorp, Assigned: snorp)

Details

Attachments

(1 file)

While getting Flash tests going on panda, I've noticed that SurfaceTexture sometimes crashes in updateTexImage(). Some digging shows this in the logcat:

W/dalvikvm( 2370): JNI WARNING: expected return type 'L'
W/dalvikvm( 2370): calling Landroid/graphics/SurfaceTexture;.updateTexImage ()V
W/dalvikvm( 2370): in Ldalvik/system/NativeStart;.run:()V (CallObjectMethodV)

We're calling a void method with a JNI call that expects an object, which is naughty.
Attachment #8368660 - Flags: review?(nchen)
Attachment #8368660 - Flags: review?(nchen) → review+
https://hg.mozilla.org/mozilla-central/rev/5bb542c69d75
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.