Gstreamer crash on running pipeline

Oyku TEKIN otekin at
Thu May 27 08:50:31 UTC 2021


We have struggled with a problem. We will be glad for your help.

We will briefly pass development environment.

-          Our yocto Project is dunfell branch,

-          gstreamer version is 1.16.3,

-          the cpu is imx6q

-          gcc version is 9.3

We are using two pipelines running simultaneously for /dev/video0 and /dev/video1 and the following pipeline is for /dev/video0 :

v4l2src device=/dev/video1 ! queue ! imxvpuenc_h264 name=imxvpuenc_4 bitrate=6000 ! queue ! h264parse name=h264parse_4 !  queue ! splitmuxsink name=splitmuxsink_4  max-size-time=30000000000 async-handling=true mux-overhead=0.05 message-forward=true async-finalize=true muxer-factory=avimux location=/tmp/ssd/split_video%d.avi alsasrc do-timestamp=true provide-clock=false ! audio/x-raw,rate=8000,channels=2,format=S16LE,layout=interleaved ! queue ! audiomixer latency=200000000 name=mix ! queue ! mulawenc ! splitmuxsink_4.audio_0 audiotestsrc name=tonegen_4 freq=1000 volume=0 is-live=true ! audio/x-raw,rate=8000,channels=2,format=S16LE,layout=interleaved ! queue ! mix.

We have encountered some crash undeterministicly. Sometimes works correctly at least one day sometimes 10 minutes.

We got signals like SIGBUS,SIGHUP,SIGILL,SIGSEGV. That is also tested with gst-launch.
Core dump usually  shows crash on audio elements and queues after audio elements (after alsa src, audiomixer and audiotestsrc). It is also rarely on queue after v4l2src.

gdb shows corrupted stack prevents further investigation for us.
valgrind pipelines could not work properly because of processing power.

According to all test that we have done so far, there is no problem without audio.

Have you ever encountered such things ? Do you have suggestion ?
Thanks in advanced.

Software Engineer<>
[Description: Description: galyum logo]

Bu e-posta ve i?eri?i ki?iye ?zel ve gizli bilgiler i?erebilir. E?er mesaj?n muhatab? veya muhataba iletmekle y?k?ml? yetkili temsilcisi siz de?ilseniz, bu mesaj? ?o?altmak, da??tmak, a??klamak dahil olmak ?zere herhangi bir suretle kullanmaman?z gerekti?ini, aksine davran???n?z?n hukuka ayk?r?l?k te?kil edebilece?ini bildiririz. E?er bu mesaj? yanl??l?kla ald?ysan?z, l?tfen g?ndericiye e-posta ile bildirerek siliniz. Bu mesajda belirtilen ?ahsi g?r??ler g?ndericiye aittir ve SDT A.?.'nin resmi g?r???n? temsil etmeyebilir.

This email and its contents may contain information that is privileged and confidential. If you are not an intended recipient,or the agent responsible for delivering this email to the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited and may be unlawful. If you received this email in error, please notify the sender by replying to this email and delete the email sent in error. Personel opinions presented in this e-mail message are solely those of the author and do not necessarily represent SDT A.S.`s formal and authorized views.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3698 bytes
Desc: image001.jpg
URL: <>

More information about the gstreamer-devel mailing list