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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 28 13:08:35 UTC 2016


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

--- Comment #5 from EduardS <eduard at reporty.com> ---
Hi Sebastian,

I have made a demo (helloJNI) project without using glib.
Basically I took those Gstreamer lines:

 module = g_module_open (NULL, G_MODULE_BIND_LOCAL);
  if (module) {
    /*void (*set_java_vm) (JavaVM *) = NULL;

    if (g_module_symbol (module, "gst_amc_jni_set_java_vm",
          (gpointer *) & set_java_vm) && set_java_vm) {
      set_java_vm (vm);


and converted it to android native code:

 void *handle = dlopen(NULL, 2);
 void *sym = dlsym(handle, "gst_amc_jni_set_java_vm");


Unfortunately there is no crash in this simple project. 
Is there something else which can influence the dlsym? 

Regards, 
   Eduard

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