Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to use QNX valgrind to check for qt sample app memory leaks?: (1 Item)
   
How to use QNX valgrind to check for qt sample app memory leaks?  
I tried, but an error occurred.

# valgrind ./pcsi
==23269537== Memcheck, a memory error detector
==23269537== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==23269537== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==23269537== Command: ./pcsi
==23269537==
QML debugging is enabled. Only use this in a safe environment.
==23269537== Invalid read of size 8
==23269537==    at 0x3932C: ??? (in /lib64/libc.so.4)
==23269537==  Address 0x1965cd0 is 16 bytes before a block of size 40 alloc'd
==23269537==    at 0xC478C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-arm64-nto.so)
==23269537==
==23269537== Invalid read of size 8
==23269537==    at 0x36A60: ??? (in /lib64/libc.so.4)
==23269537==  Address 0x1965cd0 is 16 bytes before a block of size 40 alloc'd
==23269537==    at 0xC478C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-arm64-nto.so)
==23269537==
free malloc object that is not allocated:/builds/workspace/sdp700/build_aarch64/lib/c/alloc/dlist.c:1129
Killed