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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,685 Views
shivakumar
Contributor II

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"

Labels (4)
0 Kudos
Reply
6 Replies

1,997 Views
Yuri
NXP Employee
NXP Employee

  I tried to play Moments_of_Everyday_Life.mp4 using gst-launch-1.0

under the recent BSP (3.14.28) – there is no the problem.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,997 Views
shivakumar
Contributor II

Thank you for the replay. Can you please tell me how you tried to play that file. Can you please post the pipeline you used to play it. And one more thing is I am trying it on 3.10.53-1.1.0 release. Crash happens once the pipeline closes after the EOF or if you close the pipeline.

0 Kudos
Reply

1,997 Views
Yuri
NXP Employee
NXP Employee

The log (play twice) :

root@imx6qdlsolo:~#

root@imx6qdlsolo:~# uname -a

Linux imx6qdlsolo 3.14.28-1.0.0_ga+g91cf351 #1 SMP PREEMPT Fri Mar 20 21:49:03 CST 2015 armv7l GNU/Linux

root@imx6qdlsolo:~# gst-launch-1.0  playbin uri=file:///Moments_of_Everyday_Life.mp4

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

====== AIUR: 4.0.3 build on Mar 20 2015 23:19:49. ======

  Core: MPEG4PARSER_06.09.10  build on Jan  8 2015 07:06:50

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

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

    Track 00 [video_0] Enabled

  Duration: 0:01:07.900000000

  Language: und

    Mime:

  video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, codec_data=(buffer)0164001fffe100176764001facb402802dd808800001f480005dc0078c195001000468ee3cb0

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

display(/dev/fb0) resolution is (1024x768).

set color key:00010203

====== OVERLAYSINK: 4.0.3 build on Mar 20 2015 23:20:21. ======

display(/dev/fb0) resolution is (1024x768).

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

====== VPUDEC: 4.0.3 build on Mar 20 2015 23:20:39. ======

  wrapper: 1.0.58 (VPUWRAPPER_ARM_LINUX Build on Mar 20 2015 22:25:11)

  vpulib: 5.4.28

  firmware: 3.1.1.46063

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

    Track 01 [audio_0] Enabled

  Duration: 0:01:07.918336000

  Language: eng

    Mime:

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

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

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

====== BEEP: 4.0.3 build on Mar 20 2015 23:20:03. ======

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

file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACmxc_v4l2_output v4l2_out.32: Bypass IC.

D_ARM_03.09.00_CORTEX-A8  build omxc_v4l2_output v4l2_out.32: Bypass IC.

n Jun 19 2014 18:30:32.

display(/dev/fb0) resolution is (1024x768).

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstPulseSinkClock

Got EOS from element "playbin0".

Execution ended after 0:01:07.891155341

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Total showed frames (1628), display master blited (1628), playing for (0:01:07.903021000), fps (23.975).

Setting pipeline to NULL ...

Freeing pipeline ...

root@imx6qdlsolo:~#

root@imx6qdlsolo:~#

root@imx6qdlsolo:~# gst-launch-1.0  playbin uri=file:///Moments_of_Everyday_Life.mp4

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

====== AIUR: 4.0.3 build on Mar 20 2015 23:19:49. ======

  Core: MPEG4PARSER_06.09.10  build on Jan  8 2015 07:06:50

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

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

    Track 00 [video_0] Enabled

  Duration: 0:01:07.900000000

  Language: und

    Mime:

  video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, codec_data=(buffer)0164001fffe100176764001facb402802dd808800001f480005dc0078c195001000468ee3cb0

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

display(/dev/fb0) resolution is (1024x768).

set color key:00010203

====== OVERLAYSINK: 4.0.3 build on Mar 20 2015 23:20:21. ======

display(/dev/fb0) resolution is (1024x768).

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

====== VPUDEC: 4.0.3 build on Mar 20 2015 23:20:39. ======

  wrapper: 1.0.58 (VPUWRAPPER_ARM_LINUX Build on Mar 20 2015 22:25:11)

  vpulib: 5.4.28

  firmware: 3.1.1.46063

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

    Track 01 [audio_0] Enabled

  Duration: 0:01:07.918336000

  Language: eng

    Mime:

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

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

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

====== BEEP: 4.0.3 build on Mar 20 2015 23:20:03. ======

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

file: /usr/lib/imx-mm/audio-codec/wrap/lib_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.

dimxc_v4l2_output v4l2_out.32: Bypass IC.

splay(/dev/fb0) resolution is (10mxc_v4l2_output v4l2_out.32: Bypass IC.

24x768).

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstPulseSinkClock

Got EOS from element "playbin0".

Execution ended after 0:01:07.893418675

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Total showed frames (1628), display master blited (1628), playing for (0:01:07.903010000), fps (23.975).

Setting pipeline to NULL ...

Freeing pipeline ...

root@imx6qdlsolo:~#

0 Kudos
Reply

1,997 Views
shivakumar
Contributor II

As I can see from the log you are trying it on "imx6qdlsolo" board. But my issue is on the "imx6qsabreauto" and the build is "fsl-image-qt5" (3.14.28-1.0.0 release). What is the target image you are trying on?

0 Kudos
Reply

1,997 Views
shivakumar
Contributor II

I see the same issue in 3.14.28-1.0.0. I am trying with the "fsl-image-qt5". You are trying on the same build???

0 Kudos
Reply

1,999 Views
shivakumar
Contributor II

Anyone ???? Any help ???

0 Kudos
Reply