Source of Debug Error of Heap block modified
Unsolved
General and Desktop
-
wrote on 31 Mar 2016, 07:17 last edited by
Hi,
when I debugging I get an errorHEAP: Free Heap block 008C3608 modified at 008C368C after it was freed
in Aplication Output window.
How to find source of this?
it actually shows me a disassemble window, but it does not tell me anything. And I really do not get where in app I use memory after deletion.
*this message does not appear when app works in Release. -
Try running Valgrind analysis in Qt Creator - I have found it often produces better output than standard debugger, showing exactly where and issue occurs
-
Try running Valgrind analysis in Qt Creator - I have found it often produces better output than standard debugger, showing exactly where and issue occurs
-
Yes, deleteLater() is a good thing to use, especially in networking code.
1/4