Open derekbruening opened 9 years ago
From zhao...@google.com on April 07, 2014 14:28:44
The test also fail on drheapstat
24: Test command: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" "-D" "cmd:STRING=D:/src/cygwin/bin/perl.exe@.././bin/drheapstat.pl@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-dr_ops@-dumpcore_mask@@0x87fd@@-stderr_mask@@15@@-msgbox_mask@@0@-callstack_style@0x27@-no_results_to_stderr@-no_replace_malloc@--@./leak_string.exe" "-D" "TOOL_DR_HEAPSTAT:BOOL=ON" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_string.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_string.res" "-D" "nudge:STRING=D:/src/cygwin/bin/perl.exe@.././bin/drheapstat.pl@-dr@{DRMEMORY_CTEST_DR_DIR}/.." "-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.git/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=6.1" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "postcmd:STRING=D:/src/cygwin/bin/perl.exe@.././bin/drheapstat.pl@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-view_leaks@-no_callstack_exe_hide@-callstack_modname_hide@@''@-callstack_style@@0x21@-x@./leak_string.exe@-profdir" "-P" "./runtest.cmake"
24: Test timeout computed to be: 9.99988e+006
24: STDOUT: Dr.H Data is in D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs/DrHeapstat-leak_string.exe.12412.000/
24:
24: STDERR: <Starting application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe (12412)>
24: Dr.H Dr. Heapstat version 1.6.1877
24: Dr.H options are "-logdir D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs
-no_results_to_stderr -no_replace_malloc"
24: Dr.H log dir is D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs\DrHeapstat-leak_string.exe.12412.000
24: <Core dump file for application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe (12412) created at D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/dynamorio\logs\leak_string.exe.12412.00000000.ldmp>
24: <Application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe (12412). Platform exception at PC 0x5d5e70bc. Please report this. Program aborted.
24: 0xc0000005 0x00000000 0x5d5e70bc 0x5d5e70bc 0x00000000 0x00000008
24: Base: 0x5d5a0000
24: Registers: eax=0x000040a8 ebx=0x1b71b22c ecx=0x00000000 edx=0x1fc92002
24: esi=0x00000000 edi=0x1fc80000 esp=0x17b8eac0 ebp=0x17b8eac4
24: eflags=0x00010202
24: version 4.2.2634, custom build
24: -no_dynamic_options -client_lib 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\bin\release\drheapstat.dll;0;-logdir D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs
-no_results_to_stderr -no_replace_malloc' -code_api -probe_api -msgbox_mask 0 -dumpcore_mask 0x87fd -stderr_mask 15 -stack_siz
24: 0x17b8eac4 0x7380d8ce
24: 0x17b8eaf8 0x738110aa
24: 0x17b8eb30 0x73815eeb
24: 0x17b8eb4c 0x73815f08
24: 0x17b8eb70 0x73815f08
24: 0x17b8eb94 0x73815f08
24: 0x17b8ebb8 0x73815f08
24: 0x17b8ebdc 0x73815f08
24: 0x17b8ec00 0x73815f08
24: 0x17b8ec24 0x73815f08
24: 0x17b8ec48 0x73815f08
24: 0x17b8ec6c 0x73815f08
24: 0x17b8ec90 0x73815f08
24: 0x17b8ecb4 0x73815f08
24: 0x17b8ecd8 0x73815f08>
24:
24:
24: CMake Error at runtest.cmake:312 (message):
24:
24: D:/src/cygwin/bin/perl.exe;.././bin/drheapstat.pl;-dr;D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/dynamorio;-dr_ops;-dumpcore_mask
24: 0x87fd -stderr_mask 15 -msgbox_mask
24: 0;-callstack_style;0x27;-no_results_to_stderr;-no_replace_malloc;--;./leak_string.exe
24: failed (255): Dr.H Data is in
24: D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs/DrHeapstat-leak_string.exe.12412.000/
24:
24:
24: <Starting application
24: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe
24: (12412)>
24:
24: Dr.H Dr. Heapstat version 1.6.1877
24:
24: Dr.H options are "-logdir
24: D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs
24: -no_results_to_stderr -no_replace_malloc"
24:
24: Dr.H log dir is
24: D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs\DrHeapstat-leak_string.exe.12412.000
24:
24:
24: <Core dump file for application
24: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe
24: (12412) created at
24: D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/dynamorio\logs\leak_string.exe.12412.00000000.ldmp>
24:
24:
24: <Application
24: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\tests\leak_string.exe
24: (12412). Platform exception at PC 0x5d5e70bc. Please report this.
24: Program aborted.
24:
24: 0xc0000005 0x00000000 0x5d5e70bc 0x5d5e70bc 0x00000000 0x00000008
24:
24: Base: 0x5d5a0000
24:
24: Registers: eax=0x000040a8 ebx=0x1b71b22c ecx=0x00000000 edx=0x1fc92002
24:
24: esi=0x00000000 edi=0x1fc80000 esp=0x17b8eac0 ebp=0x17b8eac4
24:
24: eflags=0x00010202
24:
24: version 4.2.2634, custom build
24:
24: -no_dynamic_options -client_lib
24: 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_suite\build_drheapstat-rel-32\bin\release\drheapstat.dll;0;-logdir
24: D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suite/build_drheapstat-rel-32/logs
24: -no_results_to_stderr -no_replace_malloc' -code_api -probe_api -msgbox_mask
24: 0 -dumpcore_mask 0x87fd -stderr_mask 15 -stack_siz
24:
24: 0x17b8eac4 0x7380d8ce
24:
24: 0x17b8eaf8 0x738110aa
24:
24: 0x17b8eb30 0x73815eeb
24:
24: 0x17b8eb4c 0x73815f08
24:
24: 0x17b8eb70 0x73815f08
24:
24: 0x17b8eb94 0x73815f08
24:
24: 0x17b8ebb8 0x73815f08
24:
24: 0x17b8ebdc 0x73815f08
24:
24: 0x17b8ec00 0x73815f08
24:
24: 0x17b8ec24 0x73815f08
24:
24: 0x17b8ec48 0x73815f08
24:
24: 0x17b8ec6c 0x73815f08
24:
24: 0x17b8ec90 0x73815f08
24:
24: 0x17b8ecb4 0x73815f08
24:
24: 0x17b8ecd8 0x73815f08>
24:
24:
24:
24:
24:
1/1 Test #24
: leak_string ......................***Failed 2.76 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 2.80 sec
The following tests FAILED: 24 - leak_string (Failed) Errors while running CTest
From zhao...@google.com on April 08, 2014 09:14:34
Open the crash dump
12: kd> .bugcheck
Bugcheck code 0000003B
Arguments 00000000c0000005 fffff880
03cd2568 fffff8801485c670 00000000
00000000
So it is a 0xC0000005: STATUS_ACCESS_VIOLATION happens at NULL
From zhao...@google.com on February 22, 2013 11:13:08
non-det failure
zhaoqin@ZHAOQIN4-W ~/Workspace/DrMemory/builds/build_x86_dbg.svn $ ctest -V -I 59,59 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 59 Start 59: leak_string
59: 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@--@./leak_string.exe" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_string.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_string.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" 59: Test timeout computed to be: 9.99988e+006 59: STDOUT: 59: STDERR: <Starting application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\leak_string.exe (9572)> 59: <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;
59:
59:
59:
-callstack_style
0x27
-no_results_to_stderr -logdirD:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\logs
-resfile 9572 ' -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 > 59:Dr.MDr. Memory version 1.5.1199 59:Dr.MRunning ""./leak_string.exe"" 59: done 59: <Stopping application D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\leak_string.exe (9572)> 59:Dr.MERRORS FOUND: 59:Dr.M0 unique, 0 total unaddressable access(es) 59:Dr.M0 unique, 0 total uninitialized access(es) 59:Dr.M0 unique, 0 total invalid heap argument(s) 59:Dr.M0 unique, 0 total GDI usage error(s) 59:Dr.M0 unique, 0 total warning(s) 59:Dr.M1 unique, 1 total, 24 byte(s) of leak(s) 59:Dr.M1 unique, 1 total, 24 byte(s) of possible leak(s) 59:Dr.MERRORS IGNORED: 59:Dr.M138 still-reachable allocation(s) 59:Dr.M(re-run with "-show_reachable" for details) 59:Dr.MDetails: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\logs\DrMemory-leak_string.exe.9572.000\results.txt 59: 59: 59: CMake Error at runtest.cmake:427 (message): 59: stderr failed to match "Dr.M2 unique, 2 total, 48 byte(s) of 59: leak(s)", found "Dr.M1 unique, 1 total, 24 byte(s) of leak(s)" 59: instead 59: 59: stderr: 59: 59: <Starting application 59: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\leak_string.exe 59: (9572)> 59: 59: <Initial options = -logdir 59: 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\logs\dynamorio' 59: -client_lib 59: 'D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\bin\debug\drmemorylib.dll;0;-callstack_style
59:0x27
-no_results_to_stderr -logdir 59:D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\logs
59: -resfile 9572 ' -code_api -probe_api -msgbox_mask 0 -dumpcore_mask 0x87fd 59: -stderr_mask 15 -stack_size 56K -disable_traces -no_enable_traces 59: -max_elide_jmp 0 -max_elide_call 0 -max_bb_instrs 256 -no_shared_traces 59: -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine 59: -no_inline_ignored_syscalls -native_exec_default_list '' 59: -no_native_exec_managed_code -no_indcall2direct -no_aslr_dr 59: -pad_jmps_mark_no_trace > 59: 59:Dr.MDr. Memory version 1.5.1199 59: 59:Dr.MRunning ""./leak_string.exe"" 59: 59: done 59: 59: <Stopping application 59: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\tests\leak_string.exe 59: (9572)> 59: 59:Dr.MERRORS FOUND: 59: 59:Dr.M0 unique, 0 total unaddressable access(es) 59: 59:Dr.M0 unique, 0 total uninitialized access(es) 59: 59:Dr.M0 unique, 0 total invalid heap argument(s) 59: 59:Dr.M0 unique, 0 total GDI usage error(s) 59: 59:Dr.M0 unique, 0 total warning(s) 59: 59:Dr.M1 unique, 1 total, 24 byte(s) of leak(s) 59: 59:Dr.M1 unique, 1 total, 24 byte(s) of possible leak(s) 59: 59:Dr.MERRORS IGNORED: 59: 59:Dr.M138 still-reachable allocation(s) 59: 59:Dr.M(re-run with "-show_reachable" for details) 59: 59:Dr.MDetails: 59: D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn\logs\DrMemory-leak_string.exe.9572.000\results.txt 59: 59: 59: 59: 1/1 Test#59
: leak_string ......................***Failed 3.50 secOriginal issue: http://code.google.com/p/drmemory/issues/detail?id=1146