armbian/linux-rockchip

crash on mpp_buffer_create

smzahraee opened this issue · 0 comments

on rk3566 with following gstreamer pipeline I faced with crash on kernel rk-6.1-rkr1
gst-launch-1.0 videotestsrc ! video/x-raw,width=1280,height=720,framerate=60/1 ! videoconvert ! mpph264enc ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=10.42.0.1 port=8554 sync=false

stack trace:

Thread 7 "mpp_h264e_373" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ff60941a0 (LWP 380)]
0x0000007ff7104064 in mpp_buffer_create () from /usr/lib/librockchip_mpp.so.1
(gdb) bt
#0  0x0000007ff7104064 in mpp_buffer_create () from /usr/lib/librockchip_mpp.so.1
#1  0x0000007ff7106cd0 in mpp_buffer_get_with_tag () from /usr/lib/librockchip_mpp.so.1
#2  0x0000007ff71da83c in hal_bufs_get_buf () from /usr/lib/librockchip_mpp.so.1
#3  0x0000007ff71a5588 in ?? () from /usr/lib/librockchip_mpp.so.1
#4  0x0000007ff70eb104 in mpp_enc_thread () from /usr/lib/librockchip_mpp.so.1
#5  0x0000007ff7b0ffcc in ?? () from /usr/lib/libc.so.6
#6  0x0000007ff7b719cc in ?? () from /usr/lib/libc.so.6

there is no problem on kernel 5.10