Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-det ASSERT CURIOSITY on handle test #1115

Open
derekbruening opened this issue Nov 28, 2014 · 1 comment
Open

non-det ASSERT CURIOSITY on handle test #1115

derekbruening opened this issue Nov 28, 2014 · 1 comment

Comments

@derekbruening
Copy link
Contributor

From zhao...@google.com 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: <Starting application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\handle.exe (9740)>
46: <Initial options = -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\build_x86_dbg.svn/logs -resfile 9740 ' -code_api -probe_api -msgbox_mask 0 -dumpcore_mask 0x87fd -stderr_mask 15 -stack_size 56K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -max_bb_instrs 256 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct -no_aslr_dr -pad_jmps_mark_no_trace >
46:
46: Dr.M Dr. Memory version 1.5.1145
46: Dr.M Running ""./handle.exe""
46: <Handling our fault in a TRY at 0x625f14f1>
46: <Core dump file for application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\handle.exe (9740) created at D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/logs/dynamorio\handle.exe.9740.00000000.ldmp>
46: <CURIOSITY : (_(uint *)p != 0xcdcdcdcd || (size >= 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: \<unknown mapfile Dos name> 46: \<dr_fragment_app_pc is a DR/client pc> 46: \<Stopping application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\handle.exe (9740)> 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

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on December 31, 2012 21:37:58

Summary: non-det ASSERT CURIOSITY on handle test (was: non-det test failure on handle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant