drmemory icon indicating copy to clipboard operation
drmemory copied to clipboard

First programm with Dr. Memory [Windows 11]

Open TryUnder opened this issue 3 years ago • 0 comments

When I compiler a simple "Hello World" program by the use of gcc and then trying to debug that programm using dr. memory I am getting that kind of result message in notepad which containts leaks. As we all suppose to think, they shouldn't be there.

Dr. Memory version 2.5.0 build 0 built on Oct 18 2021 03:10:43 Windows version: WinVer=105;Rel=2009;Build=22000;Edition=Core Dr. Memory results for pid 26080: "z10.exe" Application cmdline: "z10.exe" Recorded 124 suppression(s) from default C:\Program Files (x86)\Dr. Memory\bin\suppress-default.txt

Error #1: LEAK 2 direct bytes 0x01860c98-0x01860c9a + 0 indirect bytes

0 replace_malloc [d:\a\drmemory\drmemory\common\alloc_replace.c:2580]

1 msvcrt.dll!_strdup

2 .text [../../../src/gcc-6.3.0/libgcc/config/i386/cygwin.S:184]

3 __mingw_glob [../../../src/gcc-6.3.0/libgcc/config/i386/cygwin.S:184]

4 _setargv

5 .text

6 mainCRTStartup

7 ntdll.dll!__RtlUserThreadStart

=========================================================================== FINAL SUMMARY:

DUPLICATE ERROR COUNTS:

SUPPRESSIONS USED:

ERRORS FOUND: 0 unique, 0 total unaddressable access(es) 0 unique, 0 total uninitialized access(es) 0 unique, 0 total invalid heap argument(s) 0 unique, 0 total GDI usage error(s) 0 unique, 0 total handle leak(s) 0 unique, 0 total warning(s) 1 unique, 1 total, 2 byte(s) of leak(s) 0 unique, 0 total, 0 byte(s) of possible leak(s) ERRORS IGNORED: 1 potential error(s) (suspected false positives) (details: C:\Users\Hubert\AppData\Roaming\Dr. Memory\DrMemory-z10.exe.26080.000\potential_errors.txt) 8 unique, 8 total, 408 byte(s) of still-reachable allocation(s) (re-run with "-show_reachable" for details) Details: C:\Users\Hubert\AppData\Roaming\Dr. Memory\DrMemory-z10.exe.26080.000\results.txt

TryUnder avatar Feb 19 '22 15:02 TryUnder