Android crashed when set the playbin 'download' property

jackie 668hkjz at 163.com
Tue Sep 2 02:51:59 PDT 2014


Hi
   I build a Android APP with GstreamerSDK1.2.3, I set playbin as the
pipeline to play a http url , 
and set the playbin's download property, the code is like this:

  play_bin = gst_parse_launch("playbin", &error);
  if (error) {
	gchar *message = g_strdup_printf("Unable to build pipeline: %s",
error->message);
	g_clear_error (&error);
	LOGE("%s", message);
	g_free (message);
	return ;
  }

  g_object_get (play_bin, "flags", &flags, NULL);
  flags |= GST_PLAY_FLAG_DOWNLOAD;
  g_object_set (play_bin, "flags", flags, NULL);

when I playback the http files , the eclipse show log:
09-02 17:30:07.418: I/DEBUG(5990): timed out waiting for pid=6069 tid=6069
uid=10109 to die
09-02 17:30:07.418: I/DEBUG(5990): debuggerd committing suicide to free the
zombie!

the APP did not crash, however when playback second time the APP crashed,
and the android log is :
pid: 16624, tid: 16624  >>> com.study.player <<<
signal 8 (SIGFPE), code 0 (?), fault addr 000040f0
Stack frame #00  pc 0000d7e0  /system/lib/libc.so (kill)
Stack frame #01  pc 000197a0  /system/lib/libc.so (raise)

Anybody help me? Thank you very much!






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Android-crashed-when-set-the-playbin-download-property-tp4668505.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list