AnsweredAssumed Answered

gstreamer pipeline crashed when getting freed up after eof or when stopped

Question asked by shiva kumar on Jul 24, 2015
Latest reply on Aug 5, 2015 by shiva kumar

I tried playing some MPEG4 h264 video files through playbin in the freescale's yocto release (fsl-yocto-3.10.53-1.1.0). Once the playback is completed the pipeline crashed when its getting freed up.

 

gst-launch-1.0  playbin uri=file:///home/root/Moments_of_Everyday_Life.mp4

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

 

 

====== AIUR: 4.0.2 build on Jul 17 2015 01:23:45. ======

        Core: MPEG4PARSER_06.09.08  build on Nov 25 2014 11:46:12

file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm11_elinux.so.3.2

------------------------

    Track 00 [video_0] Enabled

        Duration: 0:01:07.901224000

        Language: eng

    Mime:

        video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1280, height=(int)720, framerate=(fract

ion)2997/125, codec_data=(buffer)01640020ffe1003467640020ac2ca4014016ec054808080a000007d200017701c9400044aa0000e4e1fe31c64a000225500007270ff18e

1da162d12001000568eb735250

------------------------

set color key:00010203

====== OVERLAYSINK: 4.0.2 build on Jul 17 2015 01:24:01. ======

[INFO]  Product Info: i.MX6Q/D/S

====== VPUDEC: 4.0.2 build on Jul 17 2015 01:24:11. ======

        wrapper: 1.0.57 (VPUWRAPPER_ARM_LINUX Build on Jul 16 2015 23:07:03)

        vpulib: 5.4.27

        firmware: 3.1.1.46061

------------------------

    Track 01 [audio_0] Enabled

        Duration: 0:01:07.941568000

        Language: eng

    Mime:

        audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)189588, stream-format=(string)raw, codec_data=(buffer)12

10

------------------------

[INFO]  bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0

 

 

====== BEEP: 4.0.2 build on Jul 17 2015 01:23:54. ======

        Core: AAC decoder Wrapper  build on Apr 22 2014 09:43:50

file: /usrmxc_v4l2_output v4l2_out.41: Bypass IC.

/lib/imx-mm/audio-codec/wrap/lib_mxc_v4l2_output v4l2_out.41: Bypass IC.

aacd_wrap_arm12_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_CORTEX-A8  build on Jun 19 2014 18:30:32.

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstAudioSinkClock

^Chandling interrupt.

Interrupt: Stopping pipeline ...

Execution ended after 0:00:00.352461333

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Total showed frames (10), display master blited (10), playing for (0:00:00.600000000), fps (16.667).

Setting pipeline to NULL ...

Freeing pipeline ...

Caught SIGSEGV

#0  0x76cd9380 in waitpid () from /lib/libpthread.so.0

#1  0x76d03ca8 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0

#2  0x0000b4a4 in ?? ()

#3  0x0000b4a4 in ?? ()

Spinning.  Please run 'gdb gst-launch-1.0 2693' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

 

Note:

1) If I play the same file through gplay-1.0, player exits properly. But as I have understood, gplay-1.0 uses playbin internally. What is the reason for this?? Any help???

2) This happens with all video files.

3) Am machine is "imx6qsabreauto"

Outcomes