Android crashed when set the playbin 'download' property
Sebastian Dröge
sebastian at centricular.com
Tue Sep 2 03:17:36 PDT 2014
On Di, 2014-09-02 at 02:51 -0700, jackie wrote:
> 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!
Can you paste more parts of the debug output, actually including the
interesting parts of the stacktrace?
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140902/8b84c59f/attachment.sig>
More information about the gstreamer-devel
mailing list