SIGSEGV when playing video.

Luis Linietsky llinietsky at dlatv.net
Tue Jan 15 13:27:39 PST 2013


Hi,
I am trying to modify Tutorial5 from gstreamer documentation to work with the following video url: http://gl.dlatv.net/oregan/TestSIN-AES/playlist.m3u8
I build gstreamer with following plugins:

include /home/luigi/test/badbad/gst-plugins-bad/Android.mk
GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS) ffmpeg fragmented mpegtsdemux faad videoparsersbad

The thing is that the first image from the movie is shown, but then it freezes showing the following error on android's debug console:

D/libEGL  (32131): loaded /system/lib/egl/libEGL_mali.so
D/libEGL  (32131): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL  (32131): loaded /system/lib/egl/libGLESv2_mali.so
D/        (32131): Device driver API match
D/        (32131): Device driver API version: 10
D/        (32131): User space API version: 10
D/        (32131): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Fri May  4 10:32:42 KST 2012
E/libEGL  (32131): call to OpenGL ES API with no current context (logged once per thread)
W/libOpenSLES(32131): Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
W/libOpenSLES(32131): Leaving OutputMix::GetDestinationOutputDeviceIDs (SL_RESULT_BUFFER_INSUFFICIENT)
I/GStreamer(32131): Media size changed to 853x480
I/GStreamer(32131): onMeasure called with 853x480
D/GStreamer(32131): Surface changed to format 4 width 480 height 270
F/libc    (32131): @@@ ABORTING: INVALID HEAP ADDRESS IN dlfree
F/libc    (32131): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG   ( 1815): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1815): Build fingerprint: 'samsung/GT-I9100/GT-I9100:4.0.4/IMM76D/UHLQ2:user/release-keys'
I/DEBUG   ( 1815): pid: 32131, tid: 32187  >>> com.gst_sdk_tutorials.tutorial_5 <<<
I/DEBUG   ( 1815): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   ( 1815):  r0 deadbaad  r1 00000001  r2 40000000  r3 00000000
I/DEBUG   ( 1815):  r4 00000000  r5 00000027  r6 4005c4e8  r7 4006b514
I/DEBUG   ( 1815):  r8 0087ecb8  r9 007da800  10 00100000  fp 00000001
I/DEBUG   ( 1815):  ip ffffffff  sp 52b769a0  lr 4003d5a9  pc 40039938  cpsr 60000030
I/DEBUG   ( 1815):  d0  a1a8f075abaaee12  d1  235a6009d0f5f562
I/DEBUG   ( 1815):  d2  274fc008f8abd356  d3  e111891697ebeee9
I/DEBUG   ( 1815):  d4  34c87c77ef133607  d5  bc51fd081e424a11
I/DEBUG   ( 1815):  d6  7855d516f4ffd5c1  d7  9db814db45397eec
I/DEBUG   ( 1815):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 1815):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 1815):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 1815):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 1815):  d16 4024000000000000  d17 4024000000000000
I/DEBUG   ( 1815):  d18 0000000000000000  d19 0000000000000000
I/DEBUG   ( 1815):  d20 0000000000000000  d21 0000000000000000
I/DEBUG   ( 1815):  d22 0000000000000000  d23 ffffffffffffffff
I/DEBUG   ( 1815):  d24 ffffffffffffffff  d25 ffffffffffffffff
I/DEBUG   ( 1815):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   ( 1815):  d28 ffffffffffffffff  d29 ffffffffffffffff
I/DEBUG   ( 1815):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   ( 1815):  scr 80000012
I/DEBUG   ( 1815):
I/DEBUG   ( 1815):          #00  pc 00017938  /system/lib/libc.so
I/DEBUG   ( 1815):          #01  pc 000137c2  /system/lib/libc.so
I/DEBUG   ( 1815):          #02  pc 00015b00  /system/lib/libc.so (dlfree)
I/DEBUG   ( 1815):          #03  pc 00016178  /system/lib/libc.so (free)
I/DEBUG   ( 1815):          #04  pc 007905a0  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #05  pc 0079067c  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so (g_free)
I/DEBUG   ( 1815):          #06  pc 006a43be  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #07  pc 006b4362  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so (gst_mini_object_unref)
I/DEBUG   ( 1815):          #08  pc 00645d7a  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #09  pc 0064681c  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #10  pc 006b8160  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so (gst_pad_push)
I/DEBUG   ( 1815):          #11  pc 001e906c  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #12  pc 001e9fde  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #13  pc 001e4a60  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #14  pc 006b6dee  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #15  pc 006b70aa  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #16  pc 006b80d8  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so (gst_pad_push)
I/DEBUG   ( 1815):          #17  pc 00646b54  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #18  pc 006ca0ae  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #19  pc 006ca830  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #20  pc 007a1a8a  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #21  pc 007a1544  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):          #22  pc 00012ebc  /system/lib/libc.so (__thread_entry)
I/DEBUG   ( 1815):          #23  pc 00012a10  /system/lib/libc.so (pthread_create)
I/DEBUG   ( 1815):
I/DEBUG   ( 1815): code around pc:
I/DEBUG   ( 1815): 40039918 4623b15c 2c006824 e026d1fb b12368db  \.#F$h.,..&..h#.
I/DEBUG   ( 1815): 40039928 21014a17 6011447a 48124798 24002527  .J.!zD.`.G.H'%.$
I/DEBUG   ( 1815): 40039938 f7f47005 2106eeac ef48f7f5 460aa901  .p.....!..H....F
I/DEBUG   ( 1815): 40039948 f04f2006 94015380 94029303 eb04f7f5  . O..S..........
I/DEBUG   ( 1815): 40039958 4622a905 f7f52002 f7f4eb0e 2106ee98  .."F. .........!
I/DEBUG   ( 1815):
I/DEBUG   ( 1815): code around lr:
I/DEBUG   ( 1815): 4003d588 41f0e92d 46804c0c 447c2600 68a56824  -..A.L.F.&|D$h.h
I/DEBUG   ( 1815): 4003d598 e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G
I/DEBUG   ( 1815): 4003d5a8 35544306 37fff117 6824d5f4 d1ee2c00  .CT5...7..$h.,..
I/DEBUG   ( 1815): 4003d5b8 e8bd4630 bf0081f0 00028f96 41f0e92d  0F..........-..A
I/DEBUG   ( 1815): 4003d5c8 fb01b086 9004f602 461f4815 4615460c  .........H.F.F.F
I/DEBUG   ( 1815):
I/DEBUG   ( 1815): memory map around addr deadbaad:
I/DEBUG   ( 1815): be84a000-be86b000 [stack]
I/DEBUG   ( 1815): (no map for address)
I/DEBUG   ( 1815): ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1815):
I/DEBUG   ( 1815): stack:
I/DEBUG   ( 1815):     52b76960  00000001
I/DEBUG   ( 1815):     52b76964  52b769a0
I/DEBUG   ( 1815):     52b76968  40066820  /system/lib/libc.so
I/DEBUG   ( 1815):     52b7696c  0000000c
I/DEBUG   ( 1815):     52b76970  400667b4  /system/lib/libc.so
I/DEBUG   ( 1815):     52b76974  4006b8a8
I/DEBUG   ( 1815):     52b76978  00000000
I/DEBUG   ( 1815):     52b7697c  4003d5a9  /system/lib/libc.so
I/DEBUG   ( 1815):     52b76980  00000000
I/DEBUG   ( 1815):     52b76984  52b769b4
I/DEBUG   ( 1815):     52b76988  4005c4e8  /system/lib/libc.so
I/DEBUG   ( 1815):     52b7698c  4006b514
I/DEBUG   ( 1815):     52b76990  0087ecb8  [heap]
I/DEBUG   ( 1815):     52b76994  4003c715  /system/lib/libc.so
I/DEBUG   ( 1815):     52b76998  df0027ad
I/DEBUG   ( 1815):     52b7699c  00000000
I/DEBUG   ( 1815): #00 52b769a0  52b7699c
I/DEBUG   ( 1815):     52b769a4  00000001
I/DEBUG   ( 1815):     52b769a8  4005c4cc  /system/lib/libc.so
I/DEBUG   ( 1815):     52b769ac  00000005
I/DEBUG   ( 1815):     52b769b0  52b769cc
I/DEBUG   ( 1815):     52b769b4  fffffbdf
I/DEBUG   ( 1815):     52b769b8  52b769cc
I/DEBUG   ( 1815):     52b769bc  52b769cc
I/DEBUG   ( 1815):     52b769c0  4005fa68  /system/lib/libc.so
I/DEBUG   ( 1815):     52b769c4  400357c7  /system/lib/libc.so
I/DEBUG   ( 1815): #01 52b769c8  00000000
I/DEBUG   ( 1815):     52b769cc  20404040
I/DEBUG   ( 1815):     52b769d0  524f4241
I/DEBUG   ( 1815):     52b769d4  474e4954  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1815):     52b769d8  4e49203a  /system/usr/icu/icudt46l.dat
I/DEBUG   ( 1815):     52b769dc  494c4156  /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG   ( 1815):     52b769e0  45482044  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1815):     52b769e4  41205041  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1815):     52b769e8  45524444  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1815):     52b769ec  49205353  /system/framework/filterfw.odex
I/DEBUG   ( 1815):     52b769f0  6c64204e
I/DEBUG   ( 1815):     52b769f4  65657266
I/DEBUG   ( 1815):     52b769f8  00791600  [heap]
I/DEBUG   ( 1815):     52b769fc  00000000
I/DEBUG   ( 1815):     52b76a00  00000000
I/DEBUG   ( 1815):     52b76a04  00000000
I/DEBUG   ( 1815):     52b76a08  007894b8  [heap]
I/DEBUG   ( 1815):     52b76a0c  00000000
I/DEBUG   ( 1815):     52b76a10  007e6180  [heap]
I/DEBUG   ( 1815):     52b76a14  0018c020  [heap]
I/DEBUG   ( 1815):     52b76a18  514feb51  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a1c  514fdfa3  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a20  5151c50d  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a24  00000000
I/DEBUG   ( 1815):     52b76a28  51a5c056  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a2c  00000000
I/DEBUG   ( 1815):     52b76a30  007e6180  [heap]
I/DEBUG   ( 1815):     52b76a34  0018c020  [heap]
I/DEBUG   ( 1815):     52b76a38  5208233c
I/DEBUG   ( 1815):     52b76a3c  0018c020  [heap]
I/DEBUG   ( 1815):     52b76a40  514feb51  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a44  514fdfa3  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a48  0018c020  [heap]
I/DEBUG   ( 1815):     52b76a4c  00000000
I/DEBUG   ( 1815):     52b76a50  00000000
I/DEBUG   ( 1815):     52b76a54  51516a5d  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a58  00000000
I/DEBUG   ( 1815):     52b76a5c  52082124
I/DEBUG   ( 1815):     52b76a60  0076fc04  [heap]
I/DEBUG   ( 1815):     52b76a64  00000001
I/DEBUG   ( 1815):     52b76a68  00000001
I/DEBUG   ( 1815):     52b76a6c  00b1b940  [heap]
I/DEBUG   ( 1815):     52b76a70  00aa4610  [heap]
I/DEBUG   ( 1815):     52b76a74  00aa87a0  [heap]
I/DEBUG   ( 1815):     52b76a78  00000008
I/DEBUG   ( 1815):     52b76a7c  00000001
I/DEBUG   ( 1815):     52b76a80  00000000
I/DEBUG   ( 1815):     52b76a84  51a44954  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a88  5143d421  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76a8c  00000001
I/DEBUG   ( 1815):     52b76a90  00000000
I/DEBUG   ( 1815):     52b76a94  00000000
I/DEBUG   ( 1815):     52b76a98  00000000
I/DEBUG   ( 1815):     52b76a9c  00000000
I/DEBUG   ( 1815):     52b76aa0  00000000
I/DEBUG   ( 1815):     52b76aa4  00000000
I/DEBUG   ( 1815):     52b76aa8  007ef930  [heap]
I/DEBUG   ( 1815):     52b76aac  007eb600  [heap]
E/DataRouter( 1817): usb connection is true
E/DataRouter( 1817): DSR is ON. Don't send DTR ON.
I/DEBUG   ( 1815):     52b76ab0  00000000
I/DEBUG   ( 1815):     52b76ab4  51516a5d  /data/data/com.gst_sdk_tutorials.tutorial_5/lib/libgstreamer_android.so
I/DEBUG   ( 1815):     52b76ab8  007eb600  [heap]
I/DEBUG   ( 1815):     52b76abc  007ebf98  [heap]
I/DEBUG   ( 1815):     52b76ac0  00bc3b60  [heap]
I/DEBUG   ( 1815):     52b76ac4  00bc3b64  [heap]
I/DEBUG   ( 1815):     52b76ac8  007ed600  [heap]
I/DEBUG   ( 1815):     52b76acc  43b871c8  /dev/ashmem/dalvik-heap (deleted)
I/DEBUG   ( 1815):     52b76ad0  0087ecb0  [heap]
I/DEBUG   ( 1815):     52b76ad4  00bc3b64  [heap]
I/DEBUG   ( 1815):     52b76ad8  007ed600  [heap]
I/DEBUG   ( 1815):     52b76adc  40037b05  /system/lib/libc.so


This email and its contents (including any attachments) are being sent to you on condition of confidentiality and may be protected by legal privilege.  Disclosure to anyone other than intended recipients is unauthorized. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, print, retain, use, copy, distribute or disclose to anyone the email or its contents (including any attachments). If you have received the message in error, please advise the sender by reply e-mail, and destroy all copies of the email (including any attachments).  Any business terms incorporated in the email or its contents (including any attachments) are meant solely for purposes of discussion and are non-binding on DLA, Inc. and its affiliated companies. Further, no representation is made with respect to any content contained in this email (including any attachments). Any opinions contained in this e-mail are those of the author of the message and do not necessarily reflect those of DLA, Inc. or any of its affiliated companies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20130115/eedde63e/attachment-0001.html>


More information about the gstreamer-android mailing list