Reputation: 73
I've just ran into a drmemory error with my application with the following output:
Error #1: INVALID HEAP ARGUMENT to free
# 0 replace_operator_delete [d:\drmemory_package\common\alloc_replace.c:2496]
# 1 std::vector<>::~vector() [C:/Qt/Tools/mingw482_32/i686-w64-mingw32/include/c++/ext/new_allocator.h:110]
# 2 msvcrt.dll!exit
# 3 _fu0___set_invalid_parameter_handler [C:/Qt/Tools/mingw482_32/i686-w64-mingw32/include/c++/bits/stl_tree.h:1809]
# 4 KERNEL32.dll!BaseThreadInitThunk +0x11 (0x7651338a <KERNEL32.dll+0x1338a>)
I've absolutely no idea where to start looking for my bug. Does anybody have some idea? (The application I've run is quite complex, so I can't post thousands of lines here.)
Upvotes: 1
Views: 1032