[Bug 774048] New: androidmedia: Android application crashes for build 1.9.90

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 7 10:13:54 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774048

            Bug ID: 774048
           Summary: androidmedia: Android application crashes for build
                    1.9.90
    Classification: Platform
           Product: GStreamer
           Version: 1.9.90
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: cerbero
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: urchikkamath at yahoo.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 339234
  --> https://bugzilla.gnome.org/attachment.cgi?id=339234&action=edit
androidmedia(gst_android_hardware_sensor_init)

Hello,
Our Android application running without any issues with previous build 1.4.5
and it has been tested for QA cycle including accessing hardware codecs for
Video encoding and decoding. However we've updated cerbero build and NDK to
support latest version of android i.e 6.0/7.0. I've successfully build the
cerbero for version 1.9.90 and updated NDK for android-ndk-r12b. With these
latest changes our Android application crashes while launching app. Debug logs
points to androidmedia(gst_android_hardware_sensor_init) plugin is culprit. 

W/GStreamer+amc(14205): 0:00:01.284946250 0x78f74a20
gstamc.c:3531:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/ac3'
E/GStreamer+ahs(14205): 0:00:01.295211375 0x78f74a20
gst-android-hardware-sensor.c:598:_init_classes Failed to initialize Android
classes: Failed to get static field ID TYPE_HEART_RATE (I):
java.lang.NoSuchFieldError: no static field with name='TYPE_HEART_RATE'
signature='I' in class Landroid/hardware/Sensor;
E/GStreamer+ahs(14205): java.lang.NoSuchFieldError: no static field with
name='TYPE_HEART_RATE' signature='I' in class Landroid/hardware/Sensor;
E/GStreamer+ahs(14205):     at
org.freedesktop.gstreamer.GStreamer.nativeInit(Native Method)
E/GStreamer+ahs(14205):     at
org.freedesktop.gstreamer.GStreamer.init(GStreamer.java:16)
E/GStreamer+ahs(14205):     at
com.iVideo.videotrans.Video.init(iVideoTrans.java:135)
E/GStreamer+ahs(14205):     at
com.iVideo.GstVideoApp.iDemoApp.onCreate(iDemoApp.java:56)
E/GStreamer+ahs(14205):     at
android.app.Activity.performCreate(Activity.java:5426)
E/GStreamer+ahs(14205):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/GStreamer+ahs(14205):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
E/GStreamer+ahs(14205):     at
android.app.ActivityThread.handleLaunchActivity(A
E/GLib+stderr(14205): **
E/GLib+stderr(14205):
ERROR:gst-android-hardware-sensor.c:157:gst_ah_sensor_sensor_sizes_deinit:
'sensor_sizes' should not be NULL
(attached detail log)

Please note instead of hardware codecs if we use software based codecs i.e x264
and avdec_h264 Applications works perfectly fine.This issue has been observed
on Qualcomm and Exynos based chipsets  
It would be great if we get help/suggestions or pointers to resolve this issue
at earliest.
Thanks in advance.
-Umashankar

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list