gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed

image: BeagleBoard.org Debian Bullseye Xfce Image 2023-01-02

debian@BeagleBone:/opt/edge_ai_apps/apps_python$ sudo ./app_edgeai.py
…/configs/rpiV2_cam_example.yaml

libtidl_onnxrt_EP loaded 0x1386b7a0
Final number of subgraphs created are : 1, - Offloaded Nodes - 517, Total Nodes - 517
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=4) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
   908.689793 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
   908.696546 s:  VX_ZONE_INIT:Enabled
   908.696587 s:  VX_ZONE_ERROR:Enabled
   908.696595 s:  VX_ZONE_WARNING:Enabled
   908.697604 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
   908.697755 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[GST SRC STR]
[FLOW 0]
v4l2src device=/dev/video2 ! queue leaky=2 ! video/x-bayer, width=1920, height=1080, format=rggb ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name=SENSOR_SONY_IMX219_RPI dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin format-msb=7 ! video/x-raw, format=NV12 !tiovxmultiscaler name=split_01
split_01. ! queue ! video/x-raw, width=512, height=512 ! tiovxdlpreproc data-type=3 target=0 channel-order=0 tensor-format=bgr out-pool-size=4 ! application/x-tensor-tiovx ! appsink name=pre_0 max-buffers=2 drop=true
split_01. ! queue ! video/x-raw, width=1280, height=720 ! tiovxdlcolorconvert target=1 out-pool-size=4 ! video/x-raw, format=RGB ! appsink name=sen_0 max-buffers=2 drop=true

[GST SINK STR]
appsrc format=GST_FORMAT_TIME is-live=true block=true do-timestamp=true name=post_0 ! tiovxdlcolorconvert ! video/x-raw,format=NV12, width=1280, height=720 ! queue ! mosaic_0.sink_0
tiovxmosaic name=mosaic_0 background=/tmp/background_0
sink_0::startx=320  sink_0::starty=180  sink_0::width=1280   sink_0::height=720
! video/x-raw,format=NV12, width=1920, height=1080 ! kmssink sync=false driver-name=tidss


(python3:1501): GStreamer-CRITICAL **: 01:14:17.376: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed

(python3:1501): GStreamer-CRITICAL **: 01:14:17.376: gst_structure_get_int: assertion 'structure != NULL' failed
   915.812178 s:  VX_ZONE_INIT:[tivxHostDeInitLocal:100] De-Initialization Done for HOST !!!
   915.816993 s:  VX_ZONE_INIT:[tivxDeInitLocal:193] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
MEM: Alloc's: 26 alloc's of 72831012 bytes
MEM: Free's : 26 free's  of 72831012 bytes
MEM: Open's : 0 allocs  of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!