Android crashed when set the playbin 'download' property
jackie
668hkjz at 163.com
Tue Sep 2 04:44:20 PDT 2014
Sebastian Dröge-3 wrote
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> signature.asc (968 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4668506/0/signature.asc>
Thank you for reply, the whole crash log is :
09-02 19:37:21.953: I/DEBUG(8927): *** *** *** *** *** *** *** *** *** ***
*** *** *** *** *** ***
09-02 19:37:21.953: I/DEBUG(8927): Build fingerprint:
'samsung/SCH-i889/SCH-i889:4.0.4/IMM76D/FI04:user/release-keys'
09-02 19:37:21.953: I/DEBUG(8927): pid: 16418, tid: 16418 >>>
com.study.player <<<
09-02 19:37:21.953: I/DEBUG(8927): signal 8 (SIGFPE), code 0 (?), fault addr
00004022
09-02 19:37:21.953: I/DEBUG(8927): r0 00000000 r1 00000008 r2 00000000
r3 00000000
09-02 19:37:21.953: I/DEBUG(8927): r4 00000008 r5 596eb311 r6 00000001
r7 00000025
09-02 19:37:21.953: I/DEBUG(8927): r8 befa0668 r9 56da6dcc 10 00000000
fp befa067c
09-02 19:37:21.953: I/DEBUG(8927): ip 596ecfe8 sp befa05e8 lr 400fd7a3
pc 400f17e0 cpsr 20000010
09-02 19:37:21.953: I/DEBUG(8927): d0 7373615074654720 d1
79616c5072656461
09-02 19:37:21.953: I/DEBUG(8927): d2 000000000000006e d3
000000003f000064
09-02 19:37:21.953: I/DEBUG(8927): d4 3f8000003f800000 d5
0000000044480000
09-02 19:37:21.953: I/DEBUG(8927): d6 411a224000000000 d7
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d8 3f8000003f800000 d9
43e2800041f00000
09-02 19:37:21.953: I/DEBUG(8927): d10 0000000000000000 d11
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d12 0000000000000000 d13
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d14 0000000000000000 d15
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d16 5b6bd090419468f8 d17
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d18 0000000000000000 d19
3ff0000000000000
09-02 19:37:21.953: I/DEBUG(8927): d20 405c800000000000 d21
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d22 3ff0000000000000 d23
0000000000000000
09-02 19:37:21.953: I/DEBUG(8927): d24 0000000000000000 d25
3ff0000000000000
09-02 19:37:21.953: I/DEBUG(8927): d26 0000000000000000 d27
3ff0000000000000
09-02 19:37:21.953: I/DEBUG(8927): d28 0000002d0000002c d29
0000002e0000002d
09-02 19:37:21.953: I/DEBUG(8927): d30 0001000000010000 d31
0001000000010000
09-02 19:37:21.953: I/DEBUG(8927): scr 20000011
09-02 19:37:22.118: I/DEBUG(8927): #00 pc 0000d7e0
/system/lib/libc.so (kill)
09-02 19:37:22.118: I/DEBUG(8927): #01 pc 000197a0
/system/lib/libc.so (raise)
09-02 19:37:22.118: I/DEBUG(8927): code around pc:
09-02 19:37:22.118: I/DEBUG(8927): 400f17c0 e2601000 e0100001 116f0f10
12600020 ..`.......o. .`.
09-02 19:37:22.118: I/DEBUG(8927): 400f17d0 e12fff1e e92d50f0 e3a07025
ef000000 ../..P-.%p......
09-02 19:37:22.118: I/DEBUG(8927): 400f17e0 e8bd50f0 e1b00000 512fff1e
ea00b296 .P......../Q....
09-02 19:37:22.118: I/DEBUG(8927): 400f17f0 e92d50f0 e3a070ee ef000000
e8bd50f0 .P-..p.......P..
09-02 19:37:22.118: I/DEBUG(8927): 400f1800 e1b00000 512fff1e ea00b28f
f5d0f000 ....../Q........
09-02 19:37:22.118: I/DEBUG(8927): code around lr:
09-02 19:37:22.118: I/DEBUG(8927): 400fd780 0002ad52 461cb537 e9cd17dd
f7f24500 R...7..F.....E..
09-02 19:37:22.118: I/DEBUG(8927): 400fd790 bd3eef24 4604b510 ed80f7f2
f7f44621 $.>....F....!F..
09-02 19:37:22.118: I/DEBUG(8927): 400fd7a0 bd10e81a 49034602 2300b510
f7f34802 .....F.I...#.H..
09-02 19:37:22.118: I/DEBUG(8927): 400fd7b0 bd10ee18 28121969 fee1dead
2400b513 ....i..(.......$
09-02 19:37:22.118: I/DEBUG(8927): 400fd7c0 94019400 ecbef7f3 bf00bd1c
4c11b570 ............p..L
09-02 19:37:22.118: I/DEBUG(8927): memory map around addr 00004022:
09-02 19:37:22.123: I/DEBUG(8927): (no map below)
09-02 19:37:22.123: I/DEBUG(8927): (no map for address)
09-02 19:37:22.123: I/DEBUG(8927): 00008000-0000a000 /system/bin/app_process
09-02 19:37:22.123: I/DEBUG(8927): stack:
09-02 19:37:22.123: I/DEBUG(8927): befa05a8 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa05ac 5ca2824d
/data/data/com.wonder.player/lib/libglib-wraps.so
09-02 19:37:22.123: I/DEBUG(8927): befa05b0 0000000a
09-02 19:37:22.123: I/DEBUG(8927): befa05b4 5ccd4a74
/data/data/com.wonder.player/lib/libglib-wraps.so
09-02 19:37:22.123: I/DEBUG(8927): befa05b8 005a6938 [heap]
09-02 19:37:22.123: I/DEBUG(8927): befa05bc 5ca080eb
/data/data/com.wonder.player/lib/libglib-wraps.so
09-02 19:37:22.123: I/DEBUG(8927): befa05c0 0000000a
09-02 19:37:22.123: I/DEBUG(8927): befa05c4 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa05c8 00002710
09-02 19:37:22.123: I/DEBUG(8927): befa05cc 2fb774a7
09-02 19:37:22.123: I/DEBUG(8927): befa05d0 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa05d4 002f0e90 [heap]
09-02 19:37:22.123: I/DEBUG(8927): befa05d8 596eb311
/data/data/com.wonder.player/lib/libplayback.so
09-02 19:37:22.123: I/DEBUG(8927): befa05dc 5ccd4a74
/data/data/com.wonder.player/lib/libglib-wraps.so
09-02 19:37:22.123: I/DEBUG(8927): befa05e0 befa0640 [stack]
09-02 19:37:22.123: I/DEBUG(8927): befa05e4 befa0638 [stack]
09-02 19:37:22.123: I/DEBUG(8927): #01 befa05e8 00000008
09-02 19:37:22.123: I/DEBUG(8927): befa05ec 596eb311
/data/data/com.wonder.player/lib/libplayback.so
09-02 19:37:22.123: I/DEBUG(8927): befa05f0 00000001
09-02 19:37:22.123: I/DEBUG(8927): befa05f4 00304920 [heap]
09-02 19:37:22.123: I/DEBUG(8927): befa05f8 596ecfe8
/data/data/com.wonder.player/lib/libplayback.so
09-02 19:37:22.123: I/DEBUG(8927): befa05fc 400fd7a3
/system/lib/libc.so
09-02 19:37:22.123: I/DEBUG(8927): befa0600 002f0e90 [heap]
09-02 19:37:22.123: I/DEBUG(8927): befa0604 596e8eac
/data/data/com.wonder.player/lib/libplayback.so
09-02 19:37:22.123: I/DEBUG(8927): befa0608 ffffffff
09-02 19:37:22.123: I/DEBUG(8927): befa060c 596e8ba3
/data/data/com.wonder.player/lib/libplayback.so
09-02 19:37:22.123: I/DEBUG(8927): befa0610 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa0614 ffffffff
09-02 19:37:22.123: I/DEBUG(8927): befa0618 0000001c
09-02 19:37:22.123: I/DEBUG(8927): befa061c 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa0620 00000000
09-02 19:37:22.123: I/DEBUG(8927): befa0624 4012d514
09-02 19:37:22.123: I/DEBUG(8927): befa0628 00351400 [heap]
09-02 19:37:22.123: I/DEBUG(8927): befa062c 00000002
09-02 19:37:27.578: I/DEBUG(8927): !@dumpstate -k -t -n -z -d -o
/data/log/dumpstate_app_native -m 16418
I use 'ndk-stack -sym obj/local/armeabi -dump' get these message:
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)
when the playbin's download property is not set, the Android APP could not
crash.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Android-crashed-when-set-the-playbin-download-property-tp4668505p4668510.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list