DynamoRIO / DynamoRIO/drmemory
CRASH handle.exe with DR -loglevel 2
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on November 06, 2013 17:54:39_
$ ./bin/drmemory.exe -debug -verbose 0 -light -dr_ops "-loglevel 2 -msgbox_mask 0x0" -- ./tests/handle.exe
WARNING: using debug DynamoRIO since release not found
~~Dr.M~~ Dr. Memory version 1.6.1605
~~Dr.M~~ Running "./tests/handle.exe"
test gdi handles
test file handles
fail to find the next file
fail to find the next file
test thread handles
test window handles
test process handles
~~Dr.M~~
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ Details: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_drm_dbg.git\logs\DrMemory-handle.exe.4548.000\results.txt
~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000005
Segmentation fault
./test/hello.exe passed,
-loglevel 1 pass
0:000> kp
ChildEBP RetAddr
18d3e714 771246a7 ntdll!RtlSafeRemoveEntryList+0x10
18d3e754 7714e803 ntdll!RtlDeleteCriticalSection+0x8e
18d3e770 5950bdfb ntdll!RtlDestroyHeap+0x15a
18d3e7c0 593e002e dynamorio!os_loader_exit(void)+0x17b [d:\src\cygwin\home\zhaoqin\workspace\drmemory\drmemory.git\dynamorio\core\win32\loader.c @ 339]
18d3e7c8 5925347d dynamorio!loader_exit(void)+0x2e [d:\src\cygwin\home\zhaoqin\workspace\drmemory\drmemory.git\dynamorio\core\loader_shared.c @ 158]
18d3e7f0 59253b16 dynamorio!dynamo_shared_exit(struct _thread_record_t \* toexit = 0x00000000, char detach_stacked_callbacks = 0 '')+0x23d [d:\src\cygwin\home\zhaoqin\workspace\drmemory\drmemory.git\dynamorio\core\dynamo.c @ 966]
18d3e818 5925396b dynamorio!dynamo_process_exit_cleanup(void)+0x196 [d:\src\cygwin\home\zhaoqin\workspace\drmemory\drmemory.git\dynamorio\core\dynamo.c @ 1225]
18d3e828 594718a8 dynamorio!dynamo_process_exit(void)+0x12b [d:\src\cygwin\home\zhaoqin\workspace\drmemory\drmemory.git\dynamorio\core\dynamo.c @ 1284]
18d3e838 18cfa500 dynamorio!cleanup_and_terminate(void)+0x4b [D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_drm_dbg.git\dynamorio\core\CMakeFiles\dynamorio.dir\x86\x86.asm.obj.s @ 1314]
ntdll!RtlSafeRemoveEntryList:
771245d0 8bff mov edi,edi
771245d2 55 push ebp
771245d3 8bec mov ebp,esp
771245d5 8b5508 mov edx,[ebp+0x8]
771245d8 8b4204 mov eax,[edx+0x4]
771245db 8b0a mov ecx,[edx]
771245dd 56 push esi
771245de 8b30 mov esi,[eax]
771245e0 3b7104 cmp esi,[ecx+0x4] ds:002b:0286011c=????????
0:000> r ecx
ecx=02860118
0:000> ?? private_peb->ProcessHeap
void \* 0x00c90000
0:000> dd 0xc90000
00c90000 82d0928a 0100a487 ffeeffee 00000000
00c90010 00c900a8 00c900a8 00c90000 00c90000
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1372_
Contributor guide
Assessment
This issue has not been assessed yet.