DynamoRIO / DynamoRIO/drmemory
non-det ASSERT CURIOSITY on handle test
- 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 January 01, 2013 00:36:41_
zhaoqin@ZHAOQIN0-W ~/Workspace/DrMemory/builds/build_x86_dbg.svn
$ ctest -V -I 46,46
UpdateCTestConfiguration from :D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_x86_dbg.svn/DartConfiguration.tcl
UpdateCTestConfiguration from :D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_x86_dbg.svn/DartConfiguration.tcl
Test project D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_x86_dbg.svn
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 46
Start 46: handle
46: Test command: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" "-D" "cmd:STRING=.././bin/drmemory.exe@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@@0x87fd@@-stderr_mask@@15@@-msgbox_mask@@0@-callstack_style@0x27@-no_results_to_stderr@-light@-check_handle_leaks@-callstack_max_frames@100@--@./handle.exe" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/handle.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/handle.res" "-D" "nudge:STRING=.././bin/drmemory.exe@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=OFF" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin32" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/drmemory.svn/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_x86_dbg.svn/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=6.1" "-D" "ignore_exit_code:BOOL=OFF" "-D" "postcmd:STRING=" "-P" "./runtest.cmake"
46: Test timeout computed to be: 9.99988e+006
46: STDOUT: test gdi handles
46: test file handles
46: test thread handles
46: test window handles
46: test process handles
46:
46: STDERR:
46:
46:
46: ~~Dr.M~~ Dr. Memory version 1.5.1145
46: ~~Dr.M~~ Running ""./handle.exe""
46:
46:
46: = 2_sizeof(uint) && *(((uint *)p)+1) != 0xcdcdcdcd)) && *(uint *)(p+size-sizeof(int)) != 0xcdcdcdcd && "attempting to free memory containing HEAP_UNALLOCATED pattern, " "possible double free!" in file ........\drmemory.s
46: version 4.0.1802, custom build
46: -logdir 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/logs/dynamorio' -client_lib 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/bin/debug/drmemorylib.dll;0;`-callstack_style` `0x27` -no_results_to_stderr `-light` `-check_handle_leaks` `-callstack_max_frames` `100` -logdir `D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\bui
46: 0x229be54c 0x62789300
46: 0x229be668 0x6278a515
46: 0x229be68c 0x6288e46b
46: 0x229be6b0 0x739eaef4
46: 0x229be6c4 0x73a63cc3
46: 0x229be730 0x73a63fbf
46: 0x229be744 0x73a4c7c3
46: 0x229be764 0x73a4c285
46: 0x229be774 0x6288b4cd
46: 0x229be7a4 0x62663710
46: 0x229be7b0 0x62663a91
46: 0x229be828 0x6266373f
46: 0x229be844 0x625f114c
46: 0x229be854 0x2253ab40
46: 0x628b28c4 0x5de58b5e
46: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/bin/debug/drmemorylib.dll=0x73800000
46: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/bin/debug/dbghelp.dll=0x711b0000
46: C:\Windows/system32/msvcrt.dll=0x024f0000
46: C:\Windows/system32/KERNEL32.dll=0x02620000
46: C:\Windows/system32/KERNELBASE.dll=0x00190000>
46: \
46: \
46: \
46: \~~Dr.M~~ ERRORS FOUND:
46: \~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
46: \~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
46: \~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
46: \~~Dr.M~~ 21 unique, 21 total handle leak(s)
46: \~~Dr.M~~ 0 unique, 0 total warning(s)
46: \~~Dr.M~~ ERRORS IGNORED:
46: \~~Dr.M~~ Details: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/logs/DrMemory-handle.exe.9740.000/results.txt
46:
46:
1/1 Test`#46`: handle ........................... Passed 2.74 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 2.77 sec
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1115_
Contributor guide
Assessment
This issue has not been assessed yet.