Erreur de segmentation avec g_object_set / strchr

Cette ligne me donne une faute de segmentation :

g_object_set(G_OBJECT(data.udpsrc), "port", 5000, "caps", caps, NULL); 

  • data.udpsrc = gst_element_factory_make("udpsrc", "source");
  • caps = gst_caps_new_empty_simple("application/x-rtp");

Voici la sortie avec gdb:

 Program received signal SIGSEGV, Segmentation fault. strchr () at ../ports/sysdeps/arm/armv6/strchr.S:28 28 ../ports/sysdeps/arm/armv6/strchr.S: No such file or directory. (gdb) bt #0 strchr () at ../ports/sysdeps/arm/armv6/strchr.S:28 #1 0x76e618d8 in g_param_spec_pool_lookup () from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 #2 0x76e5c6a4 in g_object_set_valist () from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 #3 0x76e5d00c in g_object_set () from /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 #4 0x00010dc4 in main () 

C’est le bogue 740191 . Vous devez mettre à jour Gstreamer vers la version 1.4.5 au minimum.