Often a pipeline like this crash: appsrc name=snap_app_src format=4 ! ffmpegcolorspace ! capsfilter ! textoverlay valignment=2 halignment=0 line-alignment=0 xpad=5 ypad=5 font-desc=\"sans bold 11\" shadow=false shaded-background=true wait-text=true name=txtoverlay ! textoverlay valignment=2 halignment=2 line-alignment=0 xpad=5 ypad=5 font-desc=\"sans bold 11\" shadow=false shaded-background=true wait-text=true name=txtoverlay1 ! jpegenc name=encoder ! filesink the problem seems orc related, in particular in video_blend: D/CrashAnrDetector( 506): pid: 17130, tid: 17236, name: snap_app_src:sr >>> com.sintelitalia.scoutapp <<< D/CrashAnrDetector( 506): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000008 D/CrashAnrDetector( 506): r0 639ef6ec r1 00000000 r2 000020aa r3 5b0e1b31 D/CrashAnrDetector( 506): r4 5fcc0369 r5 00000008 r6 00000025 r7 00000024 D/CrashAnrDetector( 506): r8 5f405ea5 r9 00100000 sl 628d1e60 fp 00000000 D/CrashAnrDetector( 506): ip 00000003 sp 639ef6c0 lr 5f2b3889 pc 5b0e1cf8 cpsr 20000010 D/CrashAnrDetector( 506): d0 6530663065306630 d1 0a36303730363030 D/CrashAnrDetector( 506): d2 f2bc3e00e3fba965 d3 f2bc3e00e3fba930 D/CrashAnrDetector( 506): d4 0000000000000000 d5 0000000000000000 D/CrashAnrDetector( 506): d6 0000000000000000 d7 8ececf269d88e200 D/CrashAnrDetector( 506): d8 3f8000003f800000 d9 0000000000000000 D/CrashAnrDetector( 506): d10 0000000000000000 d11 0000000000000000 D/CrashAnrDetector( 506): d12 0000000000000000 d13 0000000000000000 D/CrashAnrDetector( 506): d14 0000000000000000 d15 0000000000000000 D/CrashAnrDetector( 506): d16 0000000000001555 d17 0000000000000000 D/CrashAnrDetector( 506): d18 0000000000000000 d19 0000000000000000 D/CrashAnrDetector( 506): d20 0000000000000000 d21 0000000000000000 D/CrashAnrDetector( 506): d22 112c02204bec0000 d23 073635ea9c0f25da D/CrashAnrDetector( 506): d24 00e200fa00a80080 d25 0d43c1ff1c04567f D/CrashAnrDetector( 506): d26 00e200fa00a80080 d27 00f100bb003e0000 D/CrashAnrDetector( 506): d28 f5a9a9a980808095 d29 f4e3e3e3fdfbfbfb D/CrashAnrDetector( 506): d30 db3e3e3e26000000 d31 f9f2f2f2f2bcbcbc D/CrashAnrDetector( 506): scr 20000013 D/CrashAnrDetector( 506): D/CrashAnrDetector( 506): backtrace: D/CrashAnrDetector( 506): #00 pc 00003cf8 /data/data/com.sintelitalia.scoutapp/cache/orcexec.f17130 (deleted) D/CrashAnrDetector( 506): #01 pc 009fa887 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (video_cogorc_putline_I420+390) D/CrashAnrDetector( 506): #02 pc 009f8227 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #03 pc 009f83ef /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (video_blend+378) D/CrashAnrDetector( 506): #04 pc 009f8b87 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (gst_video_overlay_composition_blend+186) D/CrashAnrDetector( 506): #05 pc 007813fb /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #06 pc 007830e5 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #07 pc 00a5ec81 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #08 pc 00a5ef59 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #09 pc 00a60045 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (gst_pad_push+92) D/CrashAnrDetector( 506): #10 pc 00a3d785 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #11 pc 00a5ec81 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #12 pc 00a5ef59 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #13 pc 00a60045 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (gst_pad_push+92) D/CrashAnrDetector( 506): #14 pc 00a3d785 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #15 pc 00a5ec81 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #16 pc 00a5ef59 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #17 pc 00a60045 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (gst_pad_push+92) D/CrashAnrDetector( 506): #18 pc 008691a9 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #19 pc 00869483 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #20 pc 00a5ec81 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #21 pc 00a5ef59 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so D/CrashAnrDetector( 506): #22 pc 00a60045 /data/app-lib/com.sintelitalia.scoutapp-1/libgstreamer_android.so (gst_pad_push+92)
the crash can be reproduced with this simple pipeline too: videotestsrc num-buffers=1 ! textoverlay text=test ! fakesink please note that does not happen any time and some device/firmware seems more affected than other (I can reproduce often with a samsung galaxy tab after updating to 4.2.2), please ask additional info if you cannot reproduce
trying to build gst-plugins-base without orc fails with these errors: CCLD libgstvideo-0.10.la video-blend.c:1145: error: undefined reference to 'video_cogorc_putline_ABGR' video-blend.c:1138: error: undefined reference to 'video_cogorc_getline_ABGR' video-blend.c:1131: error: undefined reference to 'video_cogorc_putline_BGRA' video-blend.c:1124: error: undefined reference to 'video_cogorc_getline_BGRA' video-blend.c:985: error: undefined reference to 'video_cogorc_putline_RGBA' video-blend.c:978: error: undefined reference to 'video_cogorc_getline_RGBA' video-blend.c:768: error: undefined reference to 'video_cogorc_getline_YUV9' video-blend.c:531: error: undefined reference to 'video_cogorc_getline_YUV9' video-blend.c:757: error: undefined reference to 'video_cogorc_putline_A420' video-blend.c:746: error: undefined reference to 'video_cogorc_getline_A420' video-blend.c:679: error: undefined reference to 'video_cogorc_putline_NV21' video-blend.c:670: error: undefined reference to 'video_cogorc_getline_NV21' video-blend.c:662: error: undefined reference to 'video_cogorc_putline_NV12' video-blend.c:653: error: undefined reference to 'video_cogorc_getline_NV12' video-blend.c:646: error: undefined reference to 'video_cogorc_putline_Y16' video-blend.c:639: error: undefined reference to 'video_cogorc_getline_Y16' video-blend.c:632: error: undefined reference to 'video_cogorc_putline_Y800' video-blend.c:625: error: undefined reference to 'video_cogorc_getline_Y800' video-blend.c:616: error: undefined reference to 'video_cogorc_putline_Y444' video-blend.c:607: error: undefined reference to 'video_cogorc_getline_Y444' video-blend.c:597: error: undefined reference to 'video_cogorc_putline_Y42B' video-blend.c:587: error: undefined reference to 'video_cogorc_getline_Y42B' video-blend.c:356: error: undefined reference to 'video_cogorc_putline_UYVY' video-blend.c:349: error: undefined reference to 'video_cogorc_getline_UYVY' video-blend.c:326: error: undefined reference to 'video_cogorc_putline_YUY2' video-blend.c:318: error: undefined reference to 'video_cogorc_getline_YUY2' video-blend.c:308: error: undefined reference to 'video_cogorc_putline_I420' video-blend.c:297: error: undefined reference to 'video_cogorc_getline_I420' video-blend.c:1297: error: undefined reference to 'video_orc_resample_bilinear_u32' video-blend.c:1307: error: undefined reference to 'video_orc_resample_bilinear_u32' video-blend.c:1312: error: undefined reference to 'video_orc_resample_bilinear_u32' video-blend.c:1316: error: undefined reference to 'video_orc_merge_linear_u8'
as workaround I removed the textoverlay elements and I used android canvas api to get the same behaviour, slower but no segfaults anymore
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.