R35 dmabuf file descriptors leak in jpeg encoder

Device: AGX-Xavier
software env:

R35 (release), REVISION: 1.0, GCID: 31346300, BOARD: t186ref, EABI: aarch64, DATE: Thu Aug 25 18:41:45 UTC 2022

Steps to reproduce:

cd /usr/src/jetson_multimedia_api/samples/05_jpeg_encode
./jpeg_encode 3840.yuv 3840 2160 3840.jpg --encode-buffer -f 1 -s 10000

open other terminal

lsof -p `ps aux|grep ./jpeg_encode |grep -v grep | awk '{print $2}'` | grep dmabuf | wc -l

the result will increase

Thanks for reporting it. We will reproduce the issue and look into it.

We can observe it on Jetpack 5.0.2. Will debug further and shall fix it in next Jetpack 5.1.

When will the Jetpack 5.1 be released?

That should be release in Dec, please wait for our announcement.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.