Sangyool Lee(deleted)
|
How to use QNX valgrind to check for qt sample app memory leaks?
|
Sangyool Lee(deleted)
06/28/2018 4:32 AM
post118907
|
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
|
|
|