Hi,
i got a lot of error/leaks reported when i run the jetson_multimedia_api 02_video_dec_cuda sample with valgrind.
This is what i did:
sudo apt install nvidia-l4t-jetson-multimedia-api #nvidia-l4t-jetson-multimedia-api (32.5.1-20210219084708)
sudo chmod -R o+rwX /usr/src/jetson_multimedia_api
cd /usr/src/jetson_multimedia_api/samples/02_video_dec_cuda/
make
valgrind \
--keep-debuginfo=yes \
--leak-check=full \
--track-origins=yes \
--show-leak-kinds=all \
--log-file=valgrind-out.txt \
./video_dec_cuda /usr/src/jetson_multimedia_api/data/Video/sample_outdoor_car_1080p_10fps.h264 H264 --disable-rendering
Valgrind Output:
valgrind-out.txt (320.8 KB)
LEAK SUMMARY:
==19390== definitely lost: 10,816 bytes in 184 blocks
==19390== indirectly lost: 2,008 bytes in 23 blocks
==19390== possibly lost: 3,664 bytes in 35 blocks
==19390== still reachable: 242,779 bytes in 385 blocks
==19390== of which reachable via heuristic:
==19390== newarray : 1,536 bytes in 16 blocks
==19390== suppressed: 0 bytes in 0 blocks
==19390==
==19390== For lists of detected and suppressed errors, rerun with: -s
==19390== ERROR SUMMARY: 212 errors from 209 contexts (suppressed: 0 from 0)
Version used:
cat /etc/nv_tegra_release
# R32 (release), REVISION: 5.1, GCID: 26202423, BOARD: t186ref, EABI: aarch64, DATE: Fri Feb 19 16:50:29 UTC 2021
nvidia-l4t-jetson-multimedia-api: 32.5.1-20210219084708
nvidia-l4t-multimedia: 32.5.1-20210219084708
valgrind: 3.16.1
g++: 7.5.0
do i need to worry about these errors/leaks or is this an valgrind issue?