a libffi segment fault
lucky chou
luckychsj at gmail.com
Wed Jun 7 11:54:40 UTC 2017
Use gst-player(gsteramer release 1.12.0,start app instantaneous crash
occcasionally ,
encounter the following segment fault:
------------------
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3d5
Stack frame #00 pc 014860ec /system/lib/libgstreamer_android.so: Routine
magazine_chain_pop_head at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gslice.c:539
Stack frame #01 pc 01486b11 /system/lib/libgstreamer_android.so
(g_slice_alloc+104): Routine thread_memory_magazine1_alloc at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gslice.c:842
Stack frame #02 pc 01488e89 /system/lib/libgstreamer_android.so
(g_string_sized_new+8): Routine g_string_sized_new at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gstring.c:121
Stack frame #03 pc 014891bd /system/lib/libgstreamer_android.so
(g_string_new+28): Routine g_string_new at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gstring.c:154
Stack frame #04 pc 0147b9cd /system/lib/libgstreamer_android.so
(g_log_writer_format_fields+292): Routine g_log_writer_format_fields at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:2078
Stack frame #05 pc 0147bf73 /system/lib/libgstreamer_android.so
(g_log_writer_standard_streams+86): Routine g_log_writer_standard_streams at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:2337
(discriminator 1)
Stack frame #06 pc 0147c08b /system/lib/libgstreamer_android.so
(g_log_writer_default+214): Routine g_log_writer_default at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:2440
Stack frame #07 pc 0147b3b5 /system/lib/libgstreamer_android.so
(g_log_structured_array+112): Routine g_log_structured_array at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:1792
Stack frame #08 pc 0147b5ff /system/lib/libgstreamer_android.so
(g_log_default_handler+158): Routine g_log_default_handler at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:2896
Stack frame #09 pc 0147b7ed /system/lib/libgstreamer_android.so
(g_logv+456): Routine g_logv at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:1297
Stack frame #10 pc 0147b895 /system/lib/libgstreamer_android.so (g_log+12):
Routine g_log at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:1359
Stack frame #11 pc 0147bb25 /system/lib/libgstreamer_android.so
(g_return_if_fail_warning+12): Routine g_return_if_fail_warning at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/glib/gmessages.c:2536
Stack frame #12 pc 0144694d /system/lib/libgstreamer_android.so
(g_object_ref+48): Routine g_object_ref at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gobject.c:3052
(discriminator 6)
Stack frame #13 pc 013cc32b /system/lib/libgstreamer_android.so
(gst_object_ref+162): Routine gst_object_ref at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstobject.c:239
Stack frame #14 pc 0109dbf9 /system/lib/libgstreamer_android.so: Routine
avelements_create at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gst-plugins-base-1.0-static-1.12.0/gst/playback/gstplaybin2.c:4022
Stack frame #15 pc 0109dd3b /system/lib/libgstreamer_android.so: Routine
gst_play_bin_update_elements_list at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gst-plugins-base-1.0-static-1.12.0/gst/playback/gstplaybin2.c:1512
Stack frame #16 pc 01459b28 /system/lib/libgstreamer_android.so: Routine
ffi_call_SYSV at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/sysv.S:157
Stack frame #17 pc 014596ad /system/lib/libgstreamer_android.so: Routine
ffi_call_int at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:390
Stack frame #18 pc 0145985d /system/lib/libgstreamer_android.so
(ffi_call+6): Routine ffi_call at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:400
Stack frame #19 pc 0144408f /system/lib/libgstreamer_android.so
(g_cclosure_marshal_generic+354): Routine g_cclosure_marshal_generic at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:1490
(discriminator 4)
Stack frame #20 pc 01443a8b /system/lib/libgstreamer_android.so
(g_closure_invoke+158): Routine g_closure_invoke at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:804
Stack frame #21 pc 0144d941 /system/lib/libgstreamer_android.so: Routine
signal_emit_unlocked_R at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3635
Stack frame #22 pc 01450f8f /system/lib/libgstreamer_android.so
(g_signal_emit_valist+1530): Routine g_signal_emit_valist at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3401
Stack frame #23 pc 01451155 /system/lib/libgstreamer_android.so
(g_signal_emit+12): Routine g_signal_emit at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3447
Stack frame #24 pc 010cb757 /system/lib/libgstreamer_android.so: Routine
proxy_autoplug_factories_signal at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gst-plugins-base-1.0-static-1.12.0/gst/playback/gsturidecodebin.c:1711
Stack frame #25 pc 01459b28 /system/lib/libgstreamer_android.so: Routine
ffi_call_SYSV at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/sysv.S:157
Stack frame #26 pc 014596ad /system/lib/libgstreamer_android.so: Routine
ffi_call_int at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:390
Stack frame #27 pc 0145985d /system/lib/libgstreamer_android.so
(ffi_call+6): Routine ffi_call at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:400
Stack frame #28 pc 0144408f /system/lib/libgstreamer_android.so
(g_cclosure_marshal_generic+354): Routine g_cclosure_marshal_generic at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:1490
(discriminator 4)
Stack frame #29 pc 01443a8b /system/lib/libgstreamer_android.so
(g_closure_invoke+158): Routine g_closure_invoke at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:804
Stack frame #30 pc 0144d941 /system/lib/libgstreamer_android.so: Routine
signal_emit_unlocked_R at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3635
Stack frame #31 pc 01450f8f /system/lib/libgstreamer_android.so
(g_signal_emit_valist+1530): Routine g_signal_emit_valist at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3401
Stack frame #32 pc 01451155 /system/lib/libgstreamer_android.so
(g_signal_emit+12): Routine g_signal_emit at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3447
Stack frame #33 pc 010c399f /system/lib/libgstreamer_android.so: Routine
analyze_new_pad at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gst-plugins-base-1.0-static-1.12.0/gst/playback/gstdecodebin2.c:1612
Stack frame #34 pc 010c48d1 /system/lib/libgstreamer_android.so: Routine
type_found at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gst-plugins-base-1.0-static-1.12.0/gst/playback/gstdecodebin2.c:2862
Stack frame #35 pc 01459b28 /system/lib/libgstreamer_android.so: Routine
ffi_call_SYSV at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/sysv.S:157
Stack frame #36 pc 014596ad /system/lib/libgstreamer_android.so: Routine
ffi_call_int at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:390
Stack frame #37 pc 0145985d /system/lib/libgstreamer_android.so
(ffi_call+6): Routine ffi_call at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:400
Stack frame #38 pc 0144408f /system/lib/libgstreamer_android.so
(g_cclosure_marshal_generic+354): Routine g_cclosure_marshal_generic at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:1490
(discriminator 4)
Stack frame #39 pc 01443a8b /system/lib/libgstreamer_android.so
(g_closure_invoke+158): Routine g_closure_invoke at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gclosure.c:804
Stack frame #40 pc 0144d941 /system/lib/libgstreamer_android.so: Routine
signal_emit_unlocked_R at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3635
Stack frame #41 pc 01450f65 /system/lib/libgstreamer_android.so
(g_signal_emit_valist+1488): Routine g_signal_emit_valist at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3391
Stack frame #42 pc 01451155 /system/lib/libgstreamer_android.so
(g_signal_emit+12): Routine g_signal_emit at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/glib-2.50.3/gobject/gsignal.c:3447
Stack frame #43 pc 012e893b /system/lib/libgstreamer_android.so: Routine
gst_type_find_element_emit_have_type at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-static-1.12.0/plugins/elements/gsttypefindelement.c:238
Stack frame #44 pc 012e91dd /system/lib/libgstreamer_android.so: Routine
gst_type_find_element_setcaps at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-static-1.12.0/plugins/elements/gsttypefindelement.c:790
Stack frame #45 pc 013fd0f1 /system/lib/libgstreamer_android.so: Routine
gst_pad_send_event_unchecked at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5608
Stack frame #46 pc 013fd42d /system/lib/libgstreamer_android.so: Routine
gst_pad_push_event_unchecked at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5264
Stack frame #47 pc 013fd919 /system/lib/libgstreamer_android.so: Routine
push_sticky at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:3807
(discriminator 1)
Stack frame #48 pc 013fb915 /system/lib/libgstreamer_android.so: Routine
events_foreach at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:604
Stack frame #49 pc 013fd81b /system/lib/libgstreamer_android.so: Routine
check_sticky at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:3864
Stack frame #50 pc 01403a0b /system/lib/libgstreamer_android.so
(gst_pad_push_event+334): Routine gst_pad_push_event at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5395
Stack frame #51 pc 01403ce5 /system/lib/libgstreamer_android.so: Routine
event_forward_func at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:2992
(discriminator 1)
Stack frame #52 pc 01401129 /system/lib/libgstreamer_android.so
(gst_pad_forward+204): Routine gst_pad_forward at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:2946
Stack frame #53 pc 0140123f /system/lib/libgstreamer_android.so
(gst_pad_event_default+110): Routine gst_pad_event_default at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:3043
Stack frame #54 pc 013fd0f1 /system/lib/libgstreamer_android.so: Routine
gst_pad_send_event_unchecked at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5608
Stack frame #55 pc 013fd42d /system/lib/libgstreamer_android.so: Routine
gst_pad_push_event_unchecked at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5264
Stack frame #56 pc 013fd919 /system/lib/libgstreamer_android.so: Routine
push_sticky at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:3807
(discriminator 1)
Stack frame #57 pc 013fb915 /system/lib/libgstreamer_android.so: Routine
events_foreach at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:604
Stack frame #58 pc 013fd81b /system/lib/libgstreamer_android.so: Routine
check_sticky at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:3864
Stack frame #59 pc 01403a0b /system/lib/libgstreamer_android.so
(gst_pad_push_event+334): Routine gst_pad_push_event at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-1.12.0/gst/gstpad.c:5395
Stack frame #60 pc 012e9b83 /system/lib/libgstreamer_android.so: Routine
gst_type_find_element_have_type at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/gstreamer-1.0-static-1.12.0/plugins/elements/gsttypefindelement.c:211
Stack frame #61 pc 01459b28 /system/lib/libgstreamer_android.so: Routine
ffi_call_SYSV at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/sysv.S:157
Stack frame #62 pc 014596ad /system/lib/libgstreamer_android.so: Routine
ffi_call_int at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:390
Stack frame #63 pc 0145985d /system/lib/libgstreamer_android.so
(ffi_call+6): Routine ffi_call at
/home/shakin/work/src/ssc/gstreamer/cerbero/build/sources/android_armv7/libffi-3.99999/arm-unknown-linux-androideabi/../src/arm/ffi.c:400
It seems to involve libffi,how to fix it ?
Best regards,
luckychou
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/a-libffi-segment-fault-tp4683226.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list