Nvsipl_camera sample app memory leak

Please provide the following info:
Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
[*] NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version

Target Operating System
[*] Linux

Hardware Platform
[*] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)

SDK Manager Version

Host Machine Version
[*] native Ubuntu 18.04

Hi all,

I executed a Valgrind memcheck analysis to the nvsipl_camera NVIDIA´s sample application provided by default with the Drive OS. The Valgrind reports a memory leak of 630 bytes definitely lost and a lot of complaints about “Conditional jump or move depends on uninitialized value(s)”. I tried to track the memory issues but as I don´t have the SIPL related libraries with debug symbols is very difficult to track down the root of the problems.

Is it possible to obtain the SIPL related libraries with debug symbols? or can you help me debugging these problems? Any help will be appreciated.

My test case is just with camera 0 at port A, with RAW output enabled. The Valgrind recipe and execution command is as follows:

G_SLICE=always-malloc G_DEBUG=gc-friendly /usr/local/bin/valgrind --leak-check=full --show-leak-kinds=all --leak-resolution=high --num-callers=20 --trace-children=yes --suppressions=/usr/share/glib-2.0/valgrind/glib.supp ./nvsipl_camera -c IMX390_CPHY_x2 --showfps --enableRawOutput --runfor 10 --link-enable-masks "0x0001 0x0000 0x0000 0x0000"

You will find attached my Valgrind test and its report:
1x-cam-nvsipl_camera-sample-valgrind.log (118.3 KB)

Thanks in advance for any help.

Best regards,

Dear @dgarba
This is known issue in DRIVE SW 10.0 and got fixed in later release. Could you please check with latest DRIVE release

Hi @SivaRamaKrishnaNV

Thanks for the quick reply. It seems that DRIVE SW 10.0 is the latest release available to developers on the download page: https://developer.nvidia.com/drive/downloads

Where can I access to latest DRIVE release?


Dear @dgarba ,
Could you please upgrade to our latest release DRIVE OS 5.2. + DW 3.5 using sdkmanager. Please check NVIDIA DRIVE Downloads | NVIDIA Developer

Hi @SivaRamaKrishnaNV,

I will do that. Thank you!