[Bug 773281] New: On Android 4.4.4 (api 19) gstreamer crashes when loaded.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 20 15:30:26 UTC 2016


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

            Bug ID: 773281
           Summary: On Android 4.4.4 (api 19) gstreamer crashes when
                    loaded.
    Classification: Platform
           Product: GStreamer
           Version: 1.8.3
                OS: Windows
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: eduard at reporty.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hi All,

We get a crash on android emulator x86 Running API 9 (4.4.4):
10-20 11:15:00.804 1130-1130/? I/DEBUG: signal 8 (SIGFPE), code -6 (SI_TKILL),
fault addr 000040fd

>From inspection of the stack trace:

10-20 11:15:00.984 1130-1130/? I/DEBUG:     eax 07bdb59d  ebx b7784fe4  ecx
0000005f  edx 00000000
10-20 11:15:00.984 1130-1130/? I/DEBUG:     esi 00000000  edi b7761004
10-20 11:15:00.984 1130-1130/? I/DEBUG:     xcs 00000073  xds 0000007b  xes
0000007b  xfs 00000000  xss 0000007b
10-20 11:15:00.984 1130-1130/? I/DEBUG:     eip b776bac8  ebp b6488d54  esp
bf990240  flags 00010246
10-20 11:15:00.984 1130-1130/? I/DEBUG: backtrace:
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #00  pc 00006ac8 
/system/bin/linker (__dl__Z19dlsym_linear_lookupPKcPP6soinfoS2_+216)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #01  pc 00001265 
/system/bin/linker (__dl_dlsym+325)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #02  pc 005ad4b2 
/data/app-lib/com.reporty.reporty-2/libgstreamer_android.so
(g_module_symbol+149)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #03  pc 000a32ea 
/data/app-lib/com.reporty.reporty-2/libgstreamer_android.so (JNI_OnLoad+330)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #04  pc 0008baff 
/system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+1295)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #05  pc 000ce63b 
/system/lib/libdvm.so (Dalvik_java_lang_Runtime_nativeLoad(unsigned int const*,
JValue*)+139)
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #06  pc 00176a78 
/system/lib/libdvm.so
10-20 11:15:00.984 1130-1130/? I/DEBUG:     #07  pc 00005bdf  <unknown>

The problem is in file:
gstreamer-android\1-8-3\gstreamer-1.0-android-x86\share\gst-android\ndk-build\gstreamer_android-1.0.c.in

In function jint JNI_OnLoad (JavaVM * vm, void * reserved)

Disabling the line:     if (g_module_symbol (module, "gst_amc_jni_set_java_vm", 

Solves the problem, this is a workaround. Is there some better solution?

-- 
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