DynamoRIO / DynamoRIO/drmemory

cygwin test failures: strcat in patterns, memcpy in malloc

Open
#620 0 comments 0 reactions 0 assignees View on GitHub
Bug-FalsePositive Component-Tests Migrated OpSys-Cygwin Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on October 07, 2011 20:06:11_

failure to replace: issues w/ -libc_addrs?

drmemory-cyg-dbg-32: 21 tests passed, ***\* 3 tests failed: ****
malloc => stderr failed to match ~~Dr.M~~ 2 unique, 22 total unaddressable
access(es)?, found ~~Dr.M~~ 3 unique, 22 total unaddressable
access(es) instead
patterns => stderr failed to match ~~Dr.M~~ 0 unique, 0 total unaddressable
access(es)?, found ~~Dr.M~~ 1 unique, 1 total unaddressable
access(es) instead
nudge => failed to match Error `#1`: LEAK 160 direct bytes + 0 indirect bytes,
found Error `#2`: LEAK 160 direct bytes + 0 indirect bytes instead
drmemory-cyg-rel-32: build successful; no tests for this build

Error `#1`: UNADDRESSABLE ACCESS: reading 0x01189912-0x01189914 2 byte(s) within 0x01189910-0x01189914
#0 patterns.exe!strcat+0x93 (0x001b12b3 )
f:\dd\vctools\crt_bld\SELF_X86\crt\src\INTEL\strcat.asm:182+0x0
#1 patterns.exe!__tmainCRTStartup+0xfa (0x001b1886 )
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:266+0x11
#2 KERNEL32.dll!BaseThreadInitThunk+0xd (0x76bd339a )
??:0
#3 ntdll.dll!__RtlUserThreadStart+0x22 (0x77e09ed2 )
??:0
#4 ntdll.dll!_RtlUserThreadStart+0x1a (0x77e09ea5 )
??:0
Note: elapsed time = 0:00:03.348 in thread 7548
Note: next higher malloc: 0x01189940-0x0118a940
Note: refers to 1 byte(s) beyond last valid byte in prior malloc
Note: prev lower malloc: 0x01189910-0x01189912
Note: instruction: mov (%ecx) -> %eax

Error `#6`: UNADDRESSABLE ACCESS: reading 0x011a07d8-0x011a07dc 4 byte(s)
#0 malloc.exe!UnwindUpVec+0x48 (0x01021880 )
f:\dd\vctools\crt_bld\SELF_X86\crt\src\INTEL\memcpy.asm:318+0x0
#1 malloc.exe!main+0x331 (0x01021342 )
c:\src\drmemory\git\src\tests\malloc.c:183+0x11
#2 malloc.exe!__tmainCRTStartup+0xfa (0x01022314 )
f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:266+0x11
#3 KERNEL32.dll!BaseThreadInitThunk+0xd (0x76bd339a )
??:0
#4 ntdll.dll!__RtlUserThreadStart+0x22 (0x77e09ed2 )
??:0
#5 ntdll.dll!_RtlUserThreadStart+0x1a (0x77e09ea5 )
??:0
Note: elapsed time = 0:00:05.066 in thread 3572
Note: next higher malloc: 0x011a07e0-0x011a07e4
Note: instruction: mov 0xfffffff8(%esi,%ecx,4) -> %eax

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=620_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.