Libnvosd (96):(ERROR) : Cache sync failed

When I try to send the data after tracking to kafka in the osd_sink_pad_buffer_probe function, I get this error:

NvMapMemCacheMaint Bad parameter
nvbusurface: NvBufSurfaceSyncForCpu: Error(4) in sync
libnvosd (96):(ERROR) : Cache sync failed
ERROR from element nv-onscreendisplay: Unable to draw text
Error details: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvdsosd/gstnvdsosd.c(519): gst_nvds_osd_transform_ip (): /GstPipeline:retinanet-pipeline/GstNvDsOsd:nv-onscreendisplay
libnvosd (219):(ERROR) : Error in nvll_osd_put_textReturned, stopping playback

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Hey, 1st, please share your setup with us.
2nd, what’s your pipeline and why you need to send the data via probe since it’s a block function.