DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.45k stars 262 forks source link

CRASH on tests/hello on fedora 31 x86-64 [was: "74 tests failed" out of 99] #2285

Closed shlomif closed 4 years ago

shlomif commented 4 years ago

Describe the bug

I am getting test failures after building the latest git master source and running "make -j1 test".

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/DynamoRIO/drmemory
  2. git submodule update --remote --merge --init --progress
  3. cmake -DCMAKE_INSTALL_PREFIX=~/apps/todel-drmemory -DCMAKE_BUILD_TYPE=Debug ../drmemory
  4. ( Also happens with a "release" build.)
  5. "make -j1"
  6. make -j1 test

Please also answer these questions drawn from https://github.com/DynamoRIO/drmemory/wiki/Debugging#narrowing-down-the-source-of-the-problem :

Expected behavior All tests should pass.

Versions

Additional context Add any other context about the problem here. I have this cpuinfo:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 142
model name      : Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
stepping        : 10
microcode       : 0xca
cpu MHz         : 1101.543
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips        : 4599.93
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:
AssadHashmi commented 4 years ago

Thanks for providing a detailed bug report.

The fact that so many tests failed suggests a possible compiler/linker/library issue, or some other OS feature which we've not come across before.

shlomif commented 4 years ago

Thanks for looking into it.

Thanks for providing a detailed bug report.

* Are all the failures displaying similar error messages?

* Can you paste typical output from failing test(s)?

here is the output of ctest -V for the first 20 tests:

UpdateCTestConfiguration  from :/home/shlomif/Download/unpack/prog/b-drmem/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/shlomif/Download/unpack/prog/b-drmem/DartConfiguration.tcl
Test project /home/shlomif/Download/unpack/prog/b-drmem
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: drmf_proj

1: Test command: /usr/bin/ctest "--build-and-test" "/home/shlomif/Download/unpack/prog/b-drmem/framework/samples" "/home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj" "--build-generator" "Unix Makefiles" "--build-project" "DRMF_samples" "--build-makeprogram" "/usr/bin/gmake" "--build-options" "-DCMAKE_BUILD_TYPE=Debug" "-DDrMemoryFramework_DIR:PATH=/home/shlomif/Download/unpack/prog/b-drmem/drmf" "-DDynamoRIO_DIR:PATH=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake"
1: Test timeout computed to be: 10000000
1: Internal cmake changing into directory: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: ======== CMake output     ======
1: Configuring done
1: Generating done
1: Build files have been written to: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: ======== End CMake output ======
1: Change Dir: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: 
1: Run Clean Command:/usr/bin/gmake clean
1: 
1: Run Build Command(s):/usr/bin/gmake && [ 50%] Building C object CMakeFiles/strace.dir/strace.c.o
1: [100%] Linking C shared library bin/libstrace.so
1: [100%] Built target strace
1: 
 1/99 Test  #1: drmf_proj .........................   Passed    0.15 sec
test 2
      Start  2: unit_tests

2: Test command: /home/shlomif/Download/unpack/prog/b-drmem/bin64/unit_tests
2: Test timeout computed to be: 10000000
2: success
 2/99 Test  #2: unit_tests ........................   Passed    0.00 sec
test 3
      Start  3: hello

3: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/hello" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
3: Test timeout computed to be: 120
3: STDOUT: Hello world!
3: 
3: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (332405)>
3: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332405 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
3: <Paste into GDB to debug DynamoRIO clients:
3: set confirm off
3: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
3: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f98e11b0000
3: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f9860de6f50
3: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f9861007390
3: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f986089a6b0
3: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f9860fcb110
3: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f9860fb15f0
3: >
3: ~~Dr.M~~ Dr. Memory version 2.3.18338
3: <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
3: <curiosity: rex.w on OPSZ_6_irex10_short4!>
3: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
3:  os says: 0x00007f9860f7e000-0x00007f9860fae000 prot=0x00000001
3:  cache says: 0x00007f9860f7e000-0x00007f9860fb1000 prot=0x00000001
3: >
3: <(1+x) Handling our fault in a TRY at 0x00007f98e140c7a7>
3: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (332405)>
3: ~~Dr.M~~ NO ERRORS FOUND:
3: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
3: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
3: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
3: ~~Dr.M~~       0 unique,     0 total warning(s)
3: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
3: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
3: ~~Dr.M~~ ERRORS IGNORED:
3: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
3: ~~Dr.M~~          (re-run with "-show_reachable" for details)
3: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.332405.000/results.txt
3: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (332405).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
3: Received SIGSEGV at pc 0x0000000000000800 in thread 332405
3: Base: 0x00007f98e116f000
3: Registers:eax=0x00007f98e114cc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
3:  esi=0x0000000000000001 edi=0x00007f98e114cc03 esp=0x00007f98611bbdf8 ebp=0x00007f98611bbe30
3:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f98611bb510 r11=0x0000000000000246
3:  r12=0x0000000000000004 r13=0x00000000000000de r14=0x0000000000000001 r15=0x0000000000000000
3:  eflags=0x0000000000010206
3: 2.3.18338-1-(Mar 19 2020 18:51:49) 
3: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
3: 0x00007f98611bbe30 0x00000000739c9d51
3: 0x00007f98611bbe50 0x0000000073951db7
3: 0x00007f98611bbea0 0x00000000738ded48
3: 0x00007f98611bbed0 0x0000000073922fec
3: 0x00007f98611bbf00 0x00000000738205bb
3: 0x00007f98611bbf50 0x00007f98e1350565
3: 0x00007f98611bbfb0 0x00007f98e11c161c
3: 0x00007f98611bbff0 0x00007f98e11c1b09
3: 0x00007f98611bc020 0x00007f98e11c1c8f
3: 0x00007f98611bc040 0x00007f98e140c20e
3: 0x00007f98611bc058 0x00007f986117dd40>
3: 
3: 
3: CMake Error at runtest.cmake:332 (message):
3:   ***
3:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/hello
3:   has the wrong exit code (255): Hello world!
3: 
3:   <Starting application
3:   /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (332405)>
3: 
3:   <Initial options = -no_dynamic_options -logdir
3:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
3:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332405
3:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
3:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
3:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
3:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
3:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
3:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
3:   -early_inject -emulate_brk -no_inline_ignored_syscalls
3:   -native_exec_default_list '' -no_native_exec_managed_code
3:   -no_indcall2direct >
3: 
3:   <Paste into GDB to debug DynamoRIO clients:
3: 
3:   set confirm off
3: 
3:   add-symbol-file
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
3:   0x000000007381e000
3: 
3:   add-symbol-file
3:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
3:   0x00007f98e11b0000
3: 
3:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f9860de6f50
3: 
3:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f9861007390
3: 
3:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f986089a6b0
3: 
3:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f9860fcb110
3: 
3:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f9860fb15f0
3: 
3:   >
3: 
3:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
3: 
3:   <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
3: 
3:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
3: 
3:   <get_memory_info mismatch! (can happen if os combines entries in
3:   /proc/pid/maps)
3: 
3:      os says: 0x00007f9860f7e000-0x00007f9860fae000 prot=0x00000001
3: 
3:      cache says: 0x00007f9860f7e000-0x00007f9860fb1000 prot=0x00000001
3: 
3:   >
3: 
3:   <(1+x) Handling our fault in a TRY at 0x00007f98e140c7a7>
3: 
3:   <Stopping application
3:   /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (332405)>
3: 
3:   ~~Dr.M~~ NO ERRORS FOUND:
3: 
3:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total warning(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
3: 
3:   ~~Dr.M~~ ERRORS IGNORED:
3: 
3:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
3:   allocation(s)
3: 
3:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
3: 
3:   ~~Dr.M~~ Details:
3:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.332405.000/results.txt
3: 
3: 
3:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello
3:   (332405).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
3:   report this at http://drmemory.org/issues.  Program aborted.
3: 
3:   Received SIGSEGV at pc 0x0000000000000800 in thread 332405
3: 
3:   Base: 0x00007f98e116f000
3: 
3:   Registers:eax=0x00007f98e114cc03 ebx=0x000000000000000a
3:   ecx=0x000000000000000a edx=0x0000000000000800
3: 
3:      esi=0x0000000000000001 edi=0x00007f98e114cc03 esp=0x00007f98611bbdf8
3:   ebp=0x00007f98611bbe30
3: 
3:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f98611bb510
3:   r11=0x0000000000000246
3: 
3:      r12=0x0000000000000004 r13=0x00000000000000de r14=0x0000000000000001
3:   r15=0x0000000000000000
3: 
3:      eflags=0x0000000000010206
3: 
3:   2.3.18338-1-(Mar 19 2020 18:51:49)
3: 
3:   -no_dynamic_options -logdir
3:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
3:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
3:   `/home/shlomif/Do
3: 
3:   0x00007f98611bbe30 0x00000000739c9d51
3: 
3:   0x00007f98611bbe50 0x0000000073951db7
3: 
3:   0x00007f98611bbea0 0x00000000738ded48
3: 
3:   0x00007f98611bbed0 0x0000000073922fec
3: 
3:   0x00007f98611bbf00 0x00000000738205bb
3: 
3:   0x00007f98611bbf50 0x00007f98e1350565
3: 
3:   0x00007f98611bbfb0 0x00007f98e11c161c
3: 
3:   0x00007f98611bbff0 0x00007f98e11c1b09
3: 
3:   0x00007f98611bc020 0x00007f98e11c1c8f
3: 
3:   0x00007f98611bc040 0x00007f98e140c20e
3: 
3:   0x00007f98611bc058 0x00007f986117dd40>
3: 
3:   ***
3: 
3: 
3: 
 3/99 Test  #3: hello .............................***Failed    1.27 sec
test 4
      Start  4: malloc

4: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/malloc.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/malloc.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
4: Test timeout computed to be: 120
4: STDOUT: malloc
4: malloc small
4: malloc 0
4: malloc big
4: calloc
4: realloc
4: invalid free
4: all done
4: 
4: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332407)>
4: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332407 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
4: <Paste into GDB to debug DynamoRIO clients:
4: set confirm off
4: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
4: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f15b6681000
4: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f15362b7f50
4: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f15364d8390
4: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f1535d6b6b0
4: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f153649c110
4: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f15364825f0
4: >
4: ~~Dr.M~~ Dr. Memory version 2.3.18338
4: <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
4: <curiosity: rex.w on OPSZ_6_irex10_short4!>
4: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
4:  os says: 0x00007f153644f000-0x00007f153647f000 prot=0x00000001
4:  cache says: 0x00007f153644f000-0x00007f1536482000 prot=0x00000001
4: >
4: <(1+x) Handling our fault in a TRY at 0x00007f15b68dd7a7>
4: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332407)>
4: ~~Dr.M~~ ERRORS FOUND:
4: ~~Dr.M~~       2 unique,    21 total unaddressable access(es)
4: ~~Dr.M~~       2 unique,     2 total uninitialized access(es)
4: ~~Dr.M~~       1 unique,     1 total invalid heap argument(s)
4: ~~Dr.M~~       0 unique,     0 total warning(s)
4: ~~Dr.M~~       1 unique,     1 total,     59 byte(s) of leak(s)
4: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
4: ~~Dr.M~~ ERRORS IGNORED:
4: ~~Dr.M~~      19 unique,    23 total,  10831 byte(s) of still-reachable allocation(s)
4: ~~Dr.M~~          (re-run with "-show_reachable" for details)
4: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.332407.000/results.txt
4: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332407).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
4: Received SIGSEGV at pc 0x0000000000000800 in thread 332407
4: Base: 0x00007f15b6640000
4: Registers:eax=0x00007f15b661dc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
4:  esi=0x0000000000000001 edi=0x00007f15b661dc03 esp=0x00007f153668cdf8 ebp=0x00007f153668ce30
4:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f153668c510 r11=0x0000000000000246
4:  r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000001 r15=0x0000000000000000
4:  eflags=0x0000000000010206
4: 2.3.18338-1-(Mar 19 2020 18:51:49) 
4: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
4: 0x00007f153668ce30 0x00000000739c9d51
4: 0x00007f153668ce50 0x0000000073951db7
4: 0x00007f153668cea0 0x00000000738ded48
4: 0x00007f153668ced0 0x0000000073922fec
4: 0x00007f153668cf00 0x00000000738205bb
4: 0x00007f153668cf50 0x00007f15b6821565
4: 0x00007f153668cfb0 0x00007f15b669261c
4: 0x00007f153668cff0 0x00007f15b6692b09
4: 0x00007f153668d020 0x00007f15b6692c8f
4: 0x00007f153668d040 0x00007f15b68dd20e
4: 0x00007f153668d058 0x00007f153664ed40>
4: 
4: 
4: CMake Error at runtest.cmake:332 (message):
4:   ***
4:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
4:   has the wrong exit code (255): malloc
4: 
4:   malloc small
4: 
4:   malloc 0
4: 
4:   malloc big
4: 
4:   calloc
4: 
4:   realloc
4: 
4:   invalid free
4: 
4:   all done
4: 
4:   <Starting application
4:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332407)>
4: 
4:   <Initial options = -no_dynamic_options -logdir
4:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
4:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332407
4:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
4:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
4:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
4:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
4:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
4:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
4:   -early_inject -emulate_brk -no_inline_ignored_syscalls
4:   -native_exec_default_list '' -no_native_exec_managed_code
4:   -no_indcall2direct >
4: 
4:   <Paste into GDB to debug DynamoRIO clients:
4: 
4:   set confirm off
4: 
4:   add-symbol-file
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
4:   0x000000007381e000
4: 
4:   add-symbol-file
4:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
4:   0x00007f15b6681000
4: 
4:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f15362b7f50
4: 
4:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f15364d8390
4: 
4:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f1535d6b6b0
4: 
4:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f153649c110
4: 
4:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f15364825f0
4: 
4:   >
4: 
4:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
4: 
4:   <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
4: 
4:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
4: 
4:   <get_memory_info mismatch! (can happen if os combines entries in
4:   /proc/pid/maps)
4: 
4:      os says: 0x00007f153644f000-0x00007f153647f000 prot=0x00000001
4: 
4:      cache says: 0x00007f153644f000-0x00007f1536482000 prot=0x00000001
4: 
4:   >
4: 
4:   <(1+x) Handling our fault in a TRY at 0x00007f15b68dd7a7>
4: 
4:   <Stopping application
4:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332407)>
4: 
4:   ~~Dr.M~~ ERRORS FOUND:
4: 
4:   ~~Dr.M~~ 2 unique, 21 total unaddressable access(es)
4: 
4:   ~~Dr.M~~ 2 unique, 2 total uninitialized access(es)
4: 
4:   ~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
4: 
4:   ~~Dr.M~~ 0 unique, 0 total warning(s)
4: 
4:   ~~Dr.M~~ 1 unique, 1 total, 59 byte(s) of leak(s)
4: 
4:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
4: 
4:   ~~Dr.M~~ ERRORS IGNORED:
4: 
4:   ~~Dr.M~~ 19 unique, 23 total, 10831 byte(s) of still-reachable
4:   allocation(s)
4: 
4:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
4: 
4:   ~~Dr.M~~ Details:
4:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.332407.000/results.txt
4: 
4: 
4:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
4:   (332407).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
4:   report this at http://drmemory.org/issues.  Program aborted.
4: 
4:   Received SIGSEGV at pc 0x0000000000000800 in thread 332407
4: 
4:   Base: 0x00007f15b6640000
4: 
4:   Registers:eax=0x00007f15b661dc03 ebx=0x000000000000000a
4:   ecx=0x000000000000000a edx=0x0000000000000800
4: 
4:      esi=0x0000000000000001 edi=0x00007f15b661dc03 esp=0x00007f153668cdf8
4:   ebp=0x00007f153668ce30
4: 
4:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f153668c510
4:   r11=0x0000000000000246
4: 
4:      r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000001
4:   r15=0x0000000000000000
4: 
4:      eflags=0x0000000000010206
4: 
4:   2.3.18338-1-(Mar 19 2020 18:51:49)
4: 
4:   -no_dynamic_options -logdir
4:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
4:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
4:   `/home/shlomif/Do
4: 
4:   0x00007f153668ce30 0x00000000739c9d51
4: 
4:   0x00007f153668ce50 0x0000000073951db7
4: 
4:   0x00007f153668cea0 0x00000000738ded48
4: 
4:   0x00007f153668ced0 0x0000000073922fec
4: 
4:   0x00007f153668cf00 0x00000000738205bb
4: 
4:   0x00007f153668cf50 0x00007f15b6821565
4: 
4:   0x00007f153668cfb0 0x00007f15b669261c
4: 
4:   0x00007f153668cff0 0x00007f15b6692b09
4: 
4:   0x00007f153668d020 0x00007f15b6692c8f
4: 
4:   0x00007f153668d040 0x00007f15b68dd20e
4: 
4:   0x00007f153668d058 0x00007f153664ed40>
4: 
4:   ***
4: 
4: 
4: 
 4/99 Test  #4: malloc ............................***Failed    1.34 sec
test 5
      Start  5: leak_indirect

5: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_indirect.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_indirect.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
5: Test timeout computed to be: 120
5: STDOUT: all done
5: 
5: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (332409)>
5: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332409 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
5: <Paste into GDB to debug DynamoRIO clients:
5: set confirm off
5: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
5: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f44a28c4000
5: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f44224faf50
5: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f442271b390
5: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4421fae6b0
5: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f44226df110
5: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f44226c55f0
5: >
5: ~~Dr.M~~ Dr. Memory version 2.3.18338
5: <spurious rep/repne prefix @0x0000000000401050 (f3 0f 1e fa): >
5: <curiosity: rex.w on OPSZ_6_irex10_short4!>
5: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
5:  os says: 0x00007f4422692000-0x00007f44226c2000 prot=0x00000001
5:  cache says: 0x00007f4422692000-0x00007f44226c5000 prot=0x00000001
5: >
5: <(1+x) Handling our fault in a TRY at 0x00007f44a2b207a7>
5: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (332409)>
5: ~~Dr.M~~ ERRORS FOUND:
5: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
5: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
5: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
5: ~~Dr.M~~       0 unique,     0 total warning(s)
5: ~~Dr.M~~       2 unique,     2 total,    192 byte(s) of leak(s)
5: ~~Dr.M~~       1 unique,     1 total,     32 byte(s) of possible leak(s)
5: ~~Dr.M~~ ERRORS IGNORED:
5: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
5: ~~Dr.M~~          (re-run with "-show_reachable" for details)
5: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-leak_indirect.332409.000/results.txt
5: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (332409).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
5: Received SIGSEGV at pc 0x0000000000000800 in thread 332409
5: Base: 0x00007f44a2883000
5: Registers:eax=0x00007f44a2860c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
5:  esi=0x0000000000000001 edi=0x00007f44a2860c03 esp=0x00007f44228cfdf8 ebp=0x00007f44228cfe30
5:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f44228cf510 r11=0x0000000000000246
5:  r12=0x0000000000000004 r13=0x00000000000000e5 r14=0x0000000000000001 r15=0x0000000000000000
5:  eflags=0x0000000000010206
5: 2.3.18338-1-(Mar 19 2020 18:51:49) 
5: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
5: 0x00007f44228cfe30 0x00000000739c9d51
5: 0x00007f44228cfe50 0x0000000073951db7
5: 0x00007f44228cfea0 0x00000000738ded48
5: 0x00007f44228cfed0 0x0000000073922fec
5: 0x00007f44228cff00 0x00000000738205bb
5: 0x00007f44228cff50 0x00007f44a2a64565
5: 0x00007f44228cffb0 0x00007f44a28d561c
5: 0x00007f44228cfff0 0x00007f44a28d5b09
5: 0x00007f44228d0020 0x00007f44a28d5c8f
5: 0x00007f44228d0040 0x00007f44a2b2020e
5: 0x00007f44228d0058 0x00007f4422891d40>
5: 
5: 
5: CMake Error at runtest.cmake:332 (message):
5:   ***
5:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect
5:   has the wrong exit code (255): all done
5: 
5:   <Starting application
5:   /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (332409)>
5: 
5:   <Initial options = -no_dynamic_options -logdir
5:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
5:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
5:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
5:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
5:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332409
5:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
5:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
5:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
5:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
5:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
5:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
5:   -early_inject -emulate_brk -no_inline_ignored_syscalls
5:   -native_exec_default_list '' -no_native_exec_managed_code
5:   -no_indcall2direct >
5: 
5:   <Paste into GDB to debug DynamoRIO clients:
5: 
5:   set confirm off
5: 
5:   add-symbol-file
5:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
5:   0x000000007381e000
5: 
5:   add-symbol-file
5:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
5:   0x00007f44a28c4000
5: 
5:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f44224faf50
5: 
5:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f442271b390
5: 
5:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4421fae6b0
5: 
5:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f44226df110
5: 
5:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f44226c55f0
5: 
5:   >
5: 
5:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
5: 
5:   <spurious rep/repne prefix @0x0000000000401050 (f3 0f 1e fa): >
5: 
5:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
5: 
5:   <get_memory_info mismatch! (can happen if os combines entries in
5:   /proc/pid/maps)
5: 
5:      os says: 0x00007f4422692000-0x00007f44226c2000 prot=0x00000001
5: 
5:      cache says: 0x00007f4422692000-0x00007f44226c5000 prot=0x00000001
5: 
5:   >
5: 
5:   <(1+x) Handling our fault in a TRY at 0x00007f44a2b207a7>
5: 
5:   <Stopping application
5:   /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (332409)>
5: 
5:   ~~Dr.M~~ ERRORS FOUND:
5: 
5:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
5: 
5:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
5: 
5:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
5: 
5:   ~~Dr.M~~ 0 unique, 0 total warning(s)
5: 
5:   ~~Dr.M~~ 2 unique, 2 total, 192 byte(s) of leak(s)
5: 
5:   ~~Dr.M~~ 1 unique, 1 total, 32 byte(s) of possible leak(s)
5: 
5:   ~~Dr.M~~ ERRORS IGNORED:
5: 
5:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
5:   allocation(s)
5: 
5:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
5: 
5:   ~~Dr.M~~ Details:
5:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-leak_indirect.332409.000/results.txt
5: 
5: 
5:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect
5:   (332409).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
5:   report this at http://drmemory.org/issues.  Program aborted.
5: 
5:   Received SIGSEGV at pc 0x0000000000000800 in thread 332409
5: 
5:   Base: 0x00007f44a2883000
5: 
5:   Registers:eax=0x00007f44a2860c03 ebx=0x000000000000000a
5:   ecx=0x000000000000000a edx=0x0000000000000800
5: 
5:      esi=0x0000000000000001 edi=0x00007f44a2860c03 esp=0x00007f44228cfdf8
5:   ebp=0x00007f44228cfe30
5: 
5:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f44228cf510
5:   r11=0x0000000000000246
5: 
5:      r12=0x0000000000000004 r13=0x00000000000000e5 r14=0x0000000000000001
5:   r15=0x0000000000000000
5: 
5:      eflags=0x0000000000010206
5: 
5:   2.3.18338-1-(Mar 19 2020 18:51:49)
5: 
5:   -no_dynamic_options -logdir
5:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
5:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
5:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
5:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
5:   `/home/shlomif/Do
5: 
5:   0x00007f44228cfe30 0x00000000739c9d51
5: 
5:   0x00007f44228cfe50 0x0000000073951db7
5: 
5:   0x00007f44228cfea0 0x00000000738ded48
5: 
5:   0x00007f44228cfed0 0x0000000073922fec
5: 
5:   0x00007f44228cff00 0x00000000738205bb
5: 
5:   0x00007f44228cff50 0x00007f44a2a64565
5: 
5:   0x00007f44228cffb0 0x00007f44a28d561c
5: 
5:   0x00007f44228cfff0 0x00007f44a28d5b09
5: 
5:   0x00007f44228d0020 0x00007f44a28d5c8f
5: 
5:   0x00007f44228d0040 0x00007f44a2b2020e
5: 
5:   0x00007f44228d0058 0x00007f4422891d40>
5: 
5:   ***
5: 
5: 
5: 
 5/99 Test  #5: leak_indirect .....................***Failed    1.27 sec
test 6
      Start  6: free

6: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/free" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/free.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/free.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
6: Test timeout computed to be: 120
6: STDOUT: all done
6: 
6: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/free (332411)>
6: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332411 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
6: <Paste into GDB to debug DynamoRIO clients:
6: set confirm off
6: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
6: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fc38d1f7000
6: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fc30ce2df50
6: add-symbol-file '/usr/lib64/libm.so.6' 0x00007fc30d04e390
6: add-symbol-file '/usr/lib64/libc.so.6' 0x00007fc30c8e16b0
6: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fc30d012110
6: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fc30cff85f0
6: >
6: ~~Dr.M~~ Dr. Memory version 2.3.18338
6: <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
6: <curiosity: rex.w on OPSZ_6_irex10_short4!>
6: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
6:  os says: 0x00007fc30cfc5000-0x00007fc30cff5000 prot=0x00000001
6:  cache says: 0x00007fc30cfc5000-0x00007fc30cff8000 prot=0x00000001
6: >
6: <(1+x) Handling our fault in a TRY at 0x00007fc38d4537a7>
6: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/free (332411)>
6: ~~Dr.M~~ ERRORS FOUND:
6: ~~Dr.M~~       3 unique,    22 total unaddressable access(es)
6: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
6: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
6: ~~Dr.M~~       0 unique,     0 total warning(s)
6: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
6: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
6: ~~Dr.M~~ ERRORS IGNORED:
6: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
6: ~~Dr.M~~          (re-run with "-show_reachable" for details)
6: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-free.332411.000/results.txt
6: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/free (332411).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
6: Received SIGSEGV at pc 0x0000000000000800 in thread 332411
6: Base: 0x00007fc38d1b6000
6: Registers:eax=0x00007fc38d193c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
6:  esi=0x0000000000000001 edi=0x00007fc38d193c03 esp=0x00007fc30d202df8 ebp=0x00007fc30d202e30
6:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fc30d202510 r11=0x0000000000000246
6:  r12=0x0000000000000004 r13=0x00000000000000e5 r14=0x0000000000000001 r15=0x0000000000000000
6:  eflags=0x0000000000010206
6: 2.3.18338-1-(Mar 19 2020 18:51:49) 
6: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
6: 0x00007fc30d202e30 0x00000000739c9d51
6: 0x00007fc30d202e50 0x0000000073951db7
6: 0x00007fc30d202ea0 0x00000000738ded48
6: 0x00007fc30d202ed0 0x0000000073922fec
6: 0x00007fc30d202f00 0x00000000738205bb
6: 0x00007fc30d202f50 0x00007fc38d397565
6: 0x00007fc30d202fb0 0x00007fc38d20861c
6: 0x00007fc30d202ff0 0x00007fc38d208b09
6: 0x00007fc30d203020 0x00007fc38d208c8f
6: 0x00007fc30d203040 0x00007fc38d45320e
6: 0x00007fc30d203058 0x00007fc30d1c4d40>
6: 
6: 
6: CMake Error at runtest.cmake:332 (message):
6:   ***
6:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/free
6:   has the wrong exit code (255): all done
6: 
6:   <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/free
6:   (332411)>
6: 
6:   <Initial options = -no_dynamic_options -logdir
6:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
6:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
6:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
6:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
6:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332411
6:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
6:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
6:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
6:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
6:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
6:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
6:   -early_inject -emulate_brk -no_inline_ignored_syscalls
6:   -native_exec_default_list '' -no_native_exec_managed_code
6:   -no_indcall2direct >
6: 
6:   <Paste into GDB to debug DynamoRIO clients:
6: 
6:   set confirm off
6: 
6:   add-symbol-file
6:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
6:   0x000000007381e000
6: 
6:   add-symbol-file
6:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
6:   0x00007fc38d1f7000
6: 
6:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fc30ce2df50
6: 
6:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007fc30d04e390
6: 
6:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007fc30c8e16b0
6: 
6:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fc30d012110
6: 
6:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fc30cff85f0
6: 
6:   >
6: 
6:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
6: 
6:   <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
6: 
6:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
6: 
6:   <get_memory_info mismatch! (can happen if os combines entries in
6:   /proc/pid/maps)
6: 
6:      os says: 0x00007fc30cfc5000-0x00007fc30cff5000 prot=0x00000001
6: 
6:      cache says: 0x00007fc30cfc5000-0x00007fc30cff8000 prot=0x00000001
6: 
6:   >
6: 
6:   <(1+x) Handling our fault in a TRY at 0x00007fc38d4537a7>
6: 
6:   <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/free
6:   (332411)>
6: 
6:   ~~Dr.M~~ ERRORS FOUND:
6: 
6:   ~~Dr.M~~ 3 unique, 22 total unaddressable access(es)
6: 
6:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
6: 
6:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
6: 
6:   ~~Dr.M~~ 0 unique, 0 total warning(s)
6: 
6:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
6: 
6:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
6: 
6:   ~~Dr.M~~ ERRORS IGNORED:
6: 
6:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
6:   allocation(s)
6: 
6:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
6: 
6:   ~~Dr.M~~ Details:
6:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-free.332411.000/results.txt
6: 
6: 
6:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/free
6:   (332411).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
6:   report this at http://drmemory.org/issues.  Program aborted.
6: 
6:   Received SIGSEGV at pc 0x0000000000000800 in thread 332411
6: 
6:   Base: 0x00007fc38d1b6000
6: 
6:   Registers:eax=0x00007fc38d193c03 ebx=0x000000000000000a
6:   ecx=0x000000000000000a edx=0x0000000000000800
6: 
6:      esi=0x0000000000000001 edi=0x00007fc38d193c03 esp=0x00007fc30d202df8
6:   ebp=0x00007fc30d202e30
6: 
6:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fc30d202510
6:   r11=0x0000000000000246
6: 
6:      r12=0x0000000000000004 r13=0x00000000000000e5 r14=0x0000000000000001
6:   r15=0x0000000000000000
6: 
6:      eflags=0x0000000000010206
6: 
6:   2.3.18338-1-(Mar 19 2020 18:51:49)
6: 
6:   -no_dynamic_options -logdir
6:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
6:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
6:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
6:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
6:   `/home/shlomif/Do
6: 
6:   0x00007fc30d202e30 0x00000000739c9d51
6: 
6:   0x00007fc30d202e50 0x0000000073951db7
6: 
6:   0x00007fc30d202ea0 0x00000000738ded48
6: 
6:   0x00007fc30d202ed0 0x0000000073922fec
6: 
6:   0x00007fc30d202f00 0x00000000738205bb
6: 
6:   0x00007fc30d202f50 0x00007fc38d397565
6: 
6:   0x00007fc30d202fb0 0x00007fc38d20861c
6: 
6:   0x00007fc30d202ff0 0x00007fc38d208b09
6: 
6:   0x00007fc30d203020 0x00007fc38d208c8f
6: 
6:   0x00007fc30d203040 0x00007fc38d45320e
6: 
6:   0x00007fc30d203058 0x00007fc30d1c4d40>
6: 
6:   ***
6: 
6: 
6: 
 6/99 Test  #6: free ..............................***Failed    1.29 sec
test 7
      Start  7: badjmp

7: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/badjmp.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/badjmp.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
7: Test timeout computed to be: 120
7: STDOUT: all done
7: 
7: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp (332413)>
7: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332413 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
7: <Paste into GDB to debug DynamoRIO clients:
7: set confirm off
7: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
7: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fabcfd77000
7: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fab4f9adf50
7: add-symbol-file '/usr/lib64/libm.so.6' 0x00007fab4fbce390
7: add-symbol-file '/usr/lib64/libc.so.6' 0x00007fab4f4616b0
7: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fab4fb92110
7: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fab4fb785f0
7: >
7: ~~Dr.M~~ Dr. Memory version 2.3.18338
7: <spurious rep/repne prefix @0x00000000004010a0 (f3 0f 1e fa): >
7: <curiosity: rex.w on OPSZ_6_irex10_short4!>
7: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
7:  os says: 0x00007fab4fb45000-0x00007fab4fb75000 prot=0x00000001
7:  cache says: 0x00007fab4fb45000-0x00007fab4fb78000 prot=0x00000001
7: >
7: <(1+x) Handling our fault in a TRY at 0x00007fabcffd37a7>
7: <Application tried to execute from unreadable memory 0x0000000000000000.
7: This may be a result of an unsuccessful attack or a potential application vulnerability.>
7: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp (332413)>
7: ~~Dr.M~~ ERRORS FOUND:
7: ~~Dr.M~~       1 unique,     1 total unaddressable access(es)
7: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
7: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
7: ~~Dr.M~~       0 unique,     0 total warning(s)
7: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
7: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
7: ~~Dr.M~~ ERRORS IGNORED:
7: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
7: ~~Dr.M~~          (re-run with "-show_reachable" for details)
7: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-badjmp.332413.000/results.txt
7: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp (332413).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
7: Received SIGSEGV at pc 0x0000000000000800 in thread 332413
7: Base: 0x00007fabcfd36000
7: Registers:eax=0x00007fabcfd13c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
7:  esi=0x0000000000000001 edi=0x00007fabcfd13c03 esp=0x00007fab4fd82df8 ebp=0x00007fab4fd82e30
7:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fab4fd82510 r11=0x0000000000000246
7:  r12=0x0000000000000004 r13=0x00000000000000e6 r14=0x0000000000000001 r15=0x0000000000000000
7:  eflags=0x0000000000010206
7: 2.3.18338-1-(Mar 19 2020 18:51:49) 
7: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
7: 0x00007fab4fd82e30 0x00000000739c9d51
7: 0x00007fab4fd82e50 0x0000000073951db7
7: 0x00007fab4fd82ea0 0x00000000738ded48
7: 0x00007fab4fd82ed0 0x0000000073922fec
7: 0x00007fab4fd82f00 0x00000000738205bb
7: 0x00007fab4fd82f50 0x00007fabcff17565
7: 0x00007fab4fd82fb0 0x00007fabcfd8861c
7: 0x00007fab4fd82ff0 0x00007fabcfd88b09
7: 0x00007fab4fd83020 0x00007fabcfd88c8f
7: 0x00007fab4fd83040 0x00007fabcffd320e
7: 0x00007fab4fd83058 0x00007fab4fd44d40>
7: 
7: 
7: CMake Error at runtest.cmake:332 (message):
7:   ***
7:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp
7:   has the wrong exit code (255): all done
7: 
7:   <Starting application
7:   /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp (332413)>
7: 
7:   <Initial options = -no_dynamic_options -logdir
7:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
7:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
7:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
7:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
7:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332413
7:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
7:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
7:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
7:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
7:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
7:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
7:   -early_inject -emulate_brk -no_inline_ignored_syscalls
7:   -native_exec_default_list '' -no_native_exec_managed_code
7:   -no_indcall2direct >
7: 
7:   <Paste into GDB to debug DynamoRIO clients:
7: 
7:   set confirm off
7: 
7:   add-symbol-file
7:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
7:   0x000000007381e000
7: 
7:   add-symbol-file
7:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
7:   0x00007fabcfd77000
7: 
7:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fab4f9adf50
7: 
7:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007fab4fbce390
7: 
7:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007fab4f4616b0
7: 
7:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fab4fb92110
7: 
7:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fab4fb785f0
7: 
7:   >
7: 
7:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
7: 
7:   <spurious rep/repne prefix @0x00000000004010a0 (f3 0f 1e fa): >
7: 
7:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
7: 
7:   <get_memory_info mismatch! (can happen if os combines entries in
7:   /proc/pid/maps)
7: 
7:      os says: 0x00007fab4fb45000-0x00007fab4fb75000 prot=0x00000001
7: 
7:      cache says: 0x00007fab4fb45000-0x00007fab4fb78000 prot=0x00000001
7: 
7:   >
7: 
7:   <(1+x) Handling our fault in a TRY at 0x00007fabcffd37a7>
7: 
7:   <Application tried to execute from unreadable memory 0x0000000000000000.
7: 
7:   This may be a result of an unsuccessful attack or a potential application
7:   vulnerability.>
7: 
7:   <Stopping application
7:   /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp (332413)>
7: 
7:   ~~Dr.M~~ ERRORS FOUND:
7: 
7:   ~~Dr.M~~ 1 unique, 1 total unaddressable access(es)
7: 
7:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
7: 
7:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
7: 
7:   ~~Dr.M~~ 0 unique, 0 total warning(s)
7: 
7:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
7: 
7:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
7: 
7:   ~~Dr.M~~ ERRORS IGNORED:
7: 
7:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
7:   allocation(s)
7: 
7:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
7: 
7:   ~~Dr.M~~ Details:
7:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-badjmp.332413.000/results.txt
7: 
7: 
7:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/badjmp
7:   (332413).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
7:   report this at http://drmemory.org/issues.  Program aborted.
7: 
7:   Received SIGSEGV at pc 0x0000000000000800 in thread 332413
7: 
7:   Base: 0x00007fabcfd36000
7: 
7:   Registers:eax=0x00007fabcfd13c03 ebx=0x000000000000000a
7:   ecx=0x000000000000000a edx=0x0000000000000800
7: 
7:      esi=0x0000000000000001 edi=0x00007fabcfd13c03 esp=0x00007fab4fd82df8
7:   ebp=0x00007fab4fd82e30
7: 
7:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fab4fd82510
7:   r11=0x0000000000000246
7: 
7:      r12=0x0000000000000004 r13=0x00000000000000e6 r14=0x0000000000000001
7:   r15=0x0000000000000000
7: 
7:      eflags=0x0000000000010206
7: 
7:   2.3.18338-1-(Mar 19 2020 18:51:49)
7: 
7:   -no_dynamic_options -logdir
7:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
7:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
7:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
7:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
7:   `/home/shlomif/Do
7: 
7:   0x00007fab4fd82e30 0x00000000739c9d51
7: 
7:   0x00007fab4fd82e50 0x0000000073951db7
7: 
7:   0x00007fab4fd82ea0 0x00000000738ded48
7: 
7:   0x00007fab4fd82ed0 0x0000000073922fec
7: 
7:   0x00007fab4fd82f00 0x00000000738205bb
7: 
7:   0x00007fab4fd82f50 0x00007fabcff17565
7: 
7:   0x00007fab4fd82fb0 0x00007fabcfd8861c
7: 
7:   0x00007fab4fd82ff0 0x00007fabcfd88b09
7: 
7:   0x00007fab4fd83020 0x00007fabcfd88c8f
7: 
7:   0x00007fab4fd83040 0x00007fabcffd320e
7: 
7:   0x00007fab4fd83058 0x00007fab4fd44d40>
7: 
7:   ***
7: 
7: 
7: 
 7/99 Test  #7: badjmp ............................***Failed    1.29 sec
test 8
      Start  8: registers

8: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/registers" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/registers.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/registers.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
8: Test timeout computed to be: 120
8: STDOUT: before regtest!
8: after regtest!
8: before subdword test!
8: after subdword test!
8: before subdword test2!
8: after subdword test2!
8: before repstr test!
8: after repstr test!
8: before eflags test!
8: after eflags test!
8: before addronly test!
8: after addronly test!
8: 
8: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/registers (332415)>
8: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332415 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
8: <Paste into GDB to debug DynamoRIO clients:
8: set confirm off
8: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
8: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f7b34f49000
8: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f7ab4b7ff50
8: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f7ab4da0390
8: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f7ab46336b0
8: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f7ab4d64110
8: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f7ab4d4a5f0
8: >
8: ~~Dr.M~~ Dr. Memory version 2.3.18338
8: <spurious rep/repne prefix @0x0000000000401080 (f3 0f 1e fa): >
8: <curiosity: rex.w on OPSZ_6_irex10_short4!>
8: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
8:  os says: 0x00007f7ab4d17000-0x00007f7ab4d47000 prot=0x00000001
8:  cache says: 0x00007f7ab4d17000-0x00007f7ab4d4a000 prot=0x00000001
8: >
8: <(1+x) Handling our fault in a TRY at 0x00007f7b351a57a7>
8: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/registers (332415)>
8: ~~Dr.M~~ ERRORS FOUND:
8: ~~Dr.M~~       4 unique,     8 total unaddressable access(es)
8: ~~Dr.M~~      22 unique,    22 total uninitialized access(es)
8: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
8: ~~Dr.M~~       0 unique,     0 total warning(s)
8: ~~Dr.M~~       2 unique,     2 total,     30 byte(s) of leak(s)
8: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
8: ~~Dr.M~~ ERRORS IGNORED:
8: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
8: ~~Dr.M~~          (re-run with "-show_reachable" for details)
8: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-registers.332415.000/results.txt
8: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/registers (332415).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
8: Received SIGSEGV at pc 0x0000000000000800 in thread 332415
8: Base: 0x00007f7b34f08000
8: Registers:eax=0x00007f7b34ee5c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
8:  esi=0x0000000000000001 edi=0x00007f7b34ee5c03 esp=0x00007f7ab4f54df8 ebp=0x00007f7ab4f54e30
8:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f7ab4f54510 r11=0x0000000000000246
8:  r12=0x0000000000000004 r13=0x0000000000000130 r14=0x0000000000000001 r15=0x0000000000000000
8:  eflags=0x0000000000010206
8: 2.3.18338-1-(Mar 19 2020 18:51:49) 
8: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
8: 0x00007f7ab4f54e30 0x00000000739c9d51
8: 0x00007f7ab4f54e50 0x0000000073951db7
8: 0x00007f7ab4f54ea0 0x00000000738ded48
8: 0x00007f7ab4f54ed0 0x0000000073922fec
8: 0x00007f7ab4f54f00 0x00000000738205bb
8: 0x00007f7ab4f54f50 0x00007f7b350e9565
8: 0x00007f7ab4f54fb0 0x00007f7b34f5a61c
8: 0x00007f7ab4f54ff0 0x00007f7b34f5ab09
8: 0x00007f7ab4f55020 0x00007f7b34f5ac8f
8: 0x00007f7ab4f55040 0x00007f7b351a520e
8: 0x00007f7ab4f55058 0x00007f7ab4f16d40>
8: 
8: 
8: CMake Error at runtest.cmake:332 (message):
8:   ***
8:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/registers
8:   has the wrong exit code (255): before regtest!
8: 
8:   after regtest!
8: 
8:   before subdword test!
8: 
8:   after subdword test!
8: 
8:   before subdword test2!
8: 
8:   after subdword test2!
8: 
8:   before repstr test!
8: 
8:   after repstr test!
8: 
8:   before eflags test!
8: 
8:   after eflags test!
8: 
8:   before addronly test!
8: 
8:   after addronly test!
8: 
8:   <Starting application
8:   /home/shlomif/Download/unpack/prog/b-drmem/tests/registers (332415)>
8: 
8:   <Initial options = -no_dynamic_options -logdir
8:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
8:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
8:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
8:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
8:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332415
8:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
8:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
8:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
8:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
8:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
8:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
8:   -early_inject -emulate_brk -no_inline_ignored_syscalls
8:   -native_exec_default_list '' -no_native_exec_managed_code
8:   -no_indcall2direct >
8: 
8:   <Paste into GDB to debug DynamoRIO clients:
8: 
8:   set confirm off
8: 
8:   add-symbol-file
8:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
8:   0x000000007381e000
8: 
8:   add-symbol-file
8:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
8:   0x00007f7b34f49000
8: 
8:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f7ab4b7ff50
8: 
8:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f7ab4da0390
8: 
8:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f7ab46336b0
8: 
8:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f7ab4d64110
8: 
8:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f7ab4d4a5f0
8: 
8:   >
8: 
8:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
8: 
8:   <spurious rep/repne prefix @0x0000000000401080 (f3 0f 1e fa): >
8: 
8:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
8: 
8:   <get_memory_info mismatch! (can happen if os combines entries in
8:   /proc/pid/maps)
8: 
8:      os says: 0x00007f7ab4d17000-0x00007f7ab4d47000 prot=0x00000001
8: 
8:      cache says: 0x00007f7ab4d17000-0x00007f7ab4d4a000 prot=0x00000001
8: 
8:   >
8: 
8:   <(1+x) Handling our fault in a TRY at 0x00007f7b351a57a7>
8: 
8:   <Stopping application
8:   /home/shlomif/Download/unpack/prog/b-drmem/tests/registers (332415)>
8: 
8:   ~~Dr.M~~ ERRORS FOUND:
8: 
8:   ~~Dr.M~~ 4 unique, 8 total unaddressable access(es)
8: 
8:   ~~Dr.M~~ 22 unique, 22 total uninitialized access(es)
8: 
8:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
8: 
8:   ~~Dr.M~~ 0 unique, 0 total warning(s)
8: 
8:   ~~Dr.M~~ 2 unique, 2 total, 30 byte(s) of leak(s)
8: 
8:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
8: 
8:   ~~Dr.M~~ ERRORS IGNORED:
8: 
8:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
8:   allocation(s)
8: 
8:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
8: 
8:   ~~Dr.M~~ Details:
8:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-registers.332415.000/results.txt
8: 
8: 
8:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/registers
8:   (332415).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
8:   report this at http://drmemory.org/issues.  Program aborted.
8: 
8:   Received SIGSEGV at pc 0x0000000000000800 in thread 332415
8: 
8:   Base: 0x00007f7b34f08000
8: 
8:   Registers:eax=0x00007f7b34ee5c03 ebx=0x000000000000000a
8:   ecx=0x000000000000000a edx=0x0000000000000800
8: 
8:      esi=0x0000000000000001 edi=0x00007f7b34ee5c03 esp=0x00007f7ab4f54df8
8:   ebp=0x00007f7ab4f54e30
8: 
8:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f7ab4f54510
8:   r11=0x0000000000000246
8: 
8:      r12=0x0000000000000004 r13=0x0000000000000130 r14=0x0000000000000001
8:   r15=0x0000000000000000
8: 
8:      eflags=0x0000000000010206
8: 
8:   2.3.18338-1-(Mar 19 2020 18:51:49)
8: 
8:   -no_dynamic_options -logdir
8:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
8:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
8:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
8:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
8:   `/home/shlomif/Do
8: 
8:   0x00007f7ab4f54e30 0x00000000739c9d51
8: 
8:   0x00007f7ab4f54e50 0x0000000073951db7
8: 
8:   0x00007f7ab4f54ea0 0x00000000738ded48
8: 
8:   0x00007f7ab4f54ed0 0x0000000073922fec
8: 
8:   0x00007f7ab4f54f00 0x00000000738205bb
8: 
8:   0x00007f7ab4f54f50 0x00007f7b350e9565
8: 
8:   0x00007f7ab4f54fb0 0x00007f7b34f5a61c
8: 
8:   0x00007f7ab4f54ff0 0x00007f7b34f5ab09
8: 
8:   0x00007f7ab4f55020 0x00007f7b34f5ac8f
8: 
8:   0x00007f7ab4f55040 0x00007f7b351a520e
8: 
8:   0x00007f7ab4f55058 0x00007f7ab4f16d40>
8: 
8:   ***
8: 
8: 
8: 
 8/99 Test  #8: registers .........................***Failed    1.37 sec
test 9
      Start  9: asmtest

9: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/asmtest.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/asmtest.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
9: Test timeout computed to be: 120
9: STDOUT: all done
9: 
9: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest (332418)>
9: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332418 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
9: <Paste into GDB to debug DynamoRIO clients:
9: set confirm off
9: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
9: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f399b54a000
9: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f391b180f50
9: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f391b3a1390
9: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f391ac346b0
9: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f391b365110
9: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f391b34b5f0
9: >
9: ~~Dr.M~~ Dr. Memory version 2.3.18338
9: <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
9: <curiosity: rex.w on OPSZ_6_irex10_short4!>
9: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
9:  os says: 0x00007f391b318000-0x00007f391b348000 prot=0x00000001
9:  cache says: 0x00007f391b318000-0x00007f391b34b000 prot=0x00000001
9: >
9: <(1+x) Handling our fault in a TRY at 0x00007f399b7a67a7>
9: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest (332418)>
9: ~~Dr.M~~ NO ERRORS FOUND:
9: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
9: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
9: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
9: ~~Dr.M~~       0 unique,     0 total warning(s)
9: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
9: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
9: ~~Dr.M~~ ERRORS IGNORED:
9: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
9: ~~Dr.M~~          (re-run with "-show_reachable" for details)
9: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-asmtest.332418.000/results.txt
9: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest (332418).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
9: Received SIGSEGV at pc 0x0000000000000800 in thread 332418
9: Base: 0x00007f399b509000
9: Registers:eax=0x00007f399b4e6c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
9:  esi=0x0000000000000001 edi=0x00007f399b4e6c03 esp=0x00007f391b555df8 ebp=0x00007f391b555e30
9:  r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f391b555510 r11=0x0000000000000246
9:  r12=0x0000000000000004 r13=0x00000000000000e3 r14=0x0000000000000001 r15=0x0000000000000000
9:  eflags=0x0000000000010206
9: 2.3.18338-1-(Mar 19 2020 18:51:49) 
9: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
9: 0x00007f391b555e30 0x00000000739c9d51
9: 0x00007f391b555e50 0x0000000073951db7
9: 0x00007f391b555ea0 0x00000000738ded48
9: 0x00007f391b555ed0 0x0000000073922fec
9: 0x00007f391b555f00 0x00000000738205bb
9: 0x00007f391b555f50 0x00007f399b6ea565
9: 0x00007f391b555fb0 0x00007f399b55b61c
9: 0x00007f391b555ff0 0x00007f399b55bb09
9: 0x00007f391b556020 0x00007f399b55bc8f
9: 0x00007f391b556040 0x00007f399b7a620e
9: 0x00007f391b556058 0x00007f391b517d40>
9: 
9: 
9: CMake Error at runtest.cmake:332 (message):
9:   ***
9:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest
9:   has the wrong exit code (255): all done
9: 
9:   <Starting application
9:   /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest (332418)>
9: 
9:   <Initial options = -no_dynamic_options -logdir
9:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
9:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
9:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
9:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
9:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332418
9:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
9:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
9:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
9:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
9:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
9:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
9:   -early_inject -emulate_brk -no_inline_ignored_syscalls
9:   -native_exec_default_list '' -no_native_exec_managed_code
9:   -no_indcall2direct >
9: 
9:   <Paste into GDB to debug DynamoRIO clients:
9: 
9:   set confirm off
9: 
9:   add-symbol-file
9:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
9:   0x000000007381e000
9: 
9:   add-symbol-file
9:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
9:   0x00007f399b54a000
9: 
9:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f391b180f50
9: 
9:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f391b3a1390
9: 
9:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f391ac346b0
9: 
9:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f391b365110
9: 
9:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f391b34b5f0
9: 
9:   >
9: 
9:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
9: 
9:   <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
9: 
9:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
9: 
9:   <get_memory_info mismatch! (can happen if os combines entries in
9:   /proc/pid/maps)
9: 
9:      os says: 0x00007f391b318000-0x00007f391b348000 prot=0x00000001
9: 
9:      cache says: 0x00007f391b318000-0x00007f391b34b000 prot=0x00000001
9: 
9:   >
9: 
9:   <(1+x) Handling our fault in a TRY at 0x00007f399b7a67a7>
9: 
9:   <Stopping application
9:   /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest (332418)>
9: 
9:   ~~Dr.M~~ NO ERRORS FOUND:
9: 
9:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
9: 
9:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
9: 
9:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
9: 
9:   ~~Dr.M~~ 0 unique, 0 total warning(s)
9: 
9:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
9: 
9:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
9: 
9:   ~~Dr.M~~ ERRORS IGNORED:
9: 
9:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
9:   allocation(s)
9: 
9:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
9: 
9:   ~~Dr.M~~ Details:
9:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-asmtest.332418.000/results.txt
9: 
9: 
9:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/asmtest
9:   (332418).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
9:   report this at http://drmemory.org/issues.  Program aborted.
9: 
9:   Received SIGSEGV at pc 0x0000000000000800 in thread 332418
9: 
9:   Base: 0x00007f399b509000
9: 
9:   Registers:eax=0x00007f399b4e6c03 ebx=0x000000000000000a
9:   ecx=0x000000000000000a edx=0x0000000000000800
9: 
9:      esi=0x0000000000000001 edi=0x00007f399b4e6c03 esp=0x00007f391b555df8
9:   ebp=0x00007f391b555e30
9: 
9:      r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f391b555510
9:   r11=0x0000000000000246
9: 
9:      r12=0x0000000000000004 r13=0x00000000000000e3 r14=0x0000000000000001
9:   r15=0x0000000000000000
9: 
9:      eflags=0x0000000000010206
9: 
9:   2.3.18338-1-(Mar 19 2020 18:51:49)
9: 
9:   -no_dynamic_options -logdir
9:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
9:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
9:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
9:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
9:   `/home/shlomif/Do
9: 
9:   0x00007f391b555e30 0x00000000739c9d51
9: 
9:   0x00007f391b555e50 0x0000000073951db7
9: 
9:   0x00007f391b555ea0 0x00000000738ded48
9: 
9:   0x00007f391b555ed0 0x0000000073922fec
9: 
9:   0x00007f391b555f00 0x00000000738205bb
9: 
9:   0x00007f391b555f50 0x00007f399b6ea565
9: 
9:   0x00007f391b555fb0 0x00007f399b55b61c
9: 
9:   0x00007f391b555ff0 0x00007f399b55bb09
9: 
9:   0x00007f391b556020 0x00007f399b55bc8f
9: 
9:   0x00007f391b556040 0x00007f399b7a620e
9: 
9:   0x00007f391b556058 0x00007f391b517d40>
9: 
9:   ***
9: 
9: 
9: 
 9/99 Test  #9: asmtest ...........................***Failed    1.30 sec
test 10
      Start 10: multierror

10: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/multierror" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/multierror.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/multierror.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
10: Test timeout computed to be: 120
10: STDOUT: half-way value: 610
10: 
10: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror (332420)>
10: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332420 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
10: <Paste into GDB to debug DynamoRIO clients:
10: set confirm off
10: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
10: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f3129f85000
10: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f30a9bbbf50
10: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f30a9ddc390
10: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f30a966f6b0
10: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f30a9da0110
10: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f30a9d865f0
10: >
10: ~~Dr.M~~ Dr. Memory version 2.3.18338
10: <spurious rep/repne prefix @0x00000000004010d0 (f3 0f 1e fa): >
10: <curiosity: rex.w on OPSZ_6_irex10_short4!>
10: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
10:     os says: 0x00007f30a9d53000-0x00007f30a9d83000 prot=0x00000001
10:     cache says: 0x00007f30a9d53000-0x00007f30a9d86000 prot=0x00000001
10: >
10: <(1+x) Handling our fault in a TRY at 0x00007f312a1e17a7>
10: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror (332420)>
10: ~~Dr.M~~ ERRORS FOUND:
10: ~~Dr.M~~       2 unique,     3 total unaddressable access(es)
10: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
10: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
10: ~~Dr.M~~       0 unique,     0 total warning(s)
10: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
10: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
10: ~~Dr.M~~ ERRORS IGNORED:
10: ~~Dr.M~~      27 unique,    37 total,  93787 byte(s) of still-reachable allocation(s)
10: ~~Dr.M~~          (re-run with "-show_reachable" for details)
10: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-multierror.332420.000/results.txt
10: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror (332420).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
10: Received SIGSEGV at pc 0x0000000000000800 in thread 332420
10: Base: 0x00007f3129f44000
10: Registers:eax=0x00007f30a9a49802 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
10:     esi=0x0000000000000001 edi=0x00007f30a9a49802 esp=0x00007f30a9f90df8 ebp=0x00007f30a9f90e30
10:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f30a9f90510 r11=0x0000000000000246
10:     r12=0x0000000000000004 r13=0x00000000000001e6 r14=0x0000000000000001 r15=0x0000000000000000
10:     eflags=0x0000000000010206
10: 2.3.18338-1-(Mar 19 2020 18:51:49) 
10: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
10: 0x00007f30a9f90e30 0x00000000739c9d51
10: 0x00007f30a9f90e50 0x0000000073951db7
10: 0x00007f30a9f90ea0 0x00000000738ded48
10: 0x00007f30a9f90ed0 0x0000000073922fec
10: 0x00007f30a9f90f00 0x00000000738205bb
10: 0x00007f30a9f90f50 0x00007f312a125565
10: 0x00007f30a9f90fb0 0x00007f3129f9661c
10: 0x00007f30a9f90ff0 0x00007f3129f96b09
10: 0x00007f30a9f91020 0x00007f3129f96c8f
10: 0x00007f30a9f91040 0x00007f312a1e120e
10: 0x00007f30a9f91058 0x00007f30a9f52d40>
10: 
10: 
10: CMake Error at runtest.cmake:332 (message):
10:   ***
10:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/multierror
10:   has the wrong exit code (255): half-way value: 610
10: 
10:   <Starting application
10:   /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror (332420)>
10: 
10:   <Initial options = -no_dynamic_options -logdir
10:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
10:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
10:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
10:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
10:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332420
10:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
10:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
10:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
10:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
10:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
10:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
10:   -early_inject -emulate_brk -no_inline_ignored_syscalls
10:   -native_exec_default_list '' -no_native_exec_managed_code
10:   -no_indcall2direct >
10: 
10:   <Paste into GDB to debug DynamoRIO clients:
10: 
10:   set confirm off
10: 
10:   add-symbol-file
10:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
10:   0x000000007381e000
10: 
10:   add-symbol-file
10:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
10:   0x00007f3129f85000
10: 
10:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f30a9bbbf50
10: 
10:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f30a9ddc390
10: 
10:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f30a966f6b0
10: 
10:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f30a9da0110
10: 
10:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f30a9d865f0
10: 
10:   >
10: 
10:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
10: 
10:   <spurious rep/repne prefix @0x00000000004010d0 (f3 0f 1e fa): >
10: 
10:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
10: 
10:   <get_memory_info mismatch! (can happen if os combines entries in
10:   /proc/pid/maps)
10: 
10:     os says: 0x00007f30a9d53000-0x00007f30a9d83000 prot=0x00000001
10: 
10:     cache says: 0x00007f30a9d53000-0x00007f30a9d86000 prot=0x00000001
10: 
10:   >
10: 
10:   <(1+x) Handling our fault in a TRY at 0x00007f312a1e17a7>
10: 
10:   <Stopping application
10:   /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror (332420)>
10: 
10:   ~~Dr.M~~ ERRORS FOUND:
10: 
10:   ~~Dr.M~~ 2 unique, 3 total unaddressable access(es)
10: 
10:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
10: 
10:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
10: 
10:   ~~Dr.M~~ 0 unique, 0 total warning(s)
10: 
10:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
10: 
10:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
10: 
10:   ~~Dr.M~~ ERRORS IGNORED:
10: 
10:   ~~Dr.M~~ 27 unique, 37 total, 93787 byte(s) of still-reachable
10:   allocation(s)
10: 
10:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
10: 
10:   ~~Dr.M~~ Details:
10:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-multierror.332420.000/results.txt
10: 
10: 
10:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/multierror
10:   (332420).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
10:   report this at http://drmemory.org/issues.  Program aborted.
10: 
10:   Received SIGSEGV at pc 0x0000000000000800 in thread 332420
10: 
10:   Base: 0x00007f3129f44000
10: 
10:   Registers:eax=0x00007f30a9a49802 ebx=0x000000000000000a
10:   ecx=0x000000000000000a edx=0x0000000000000800
10: 
10:     esi=0x0000000000000001 edi=0x00007f30a9a49802 esp=0x00007f30a9f90df8
10:   ebp=0x00007f30a9f90e30
10: 
10:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f30a9f90510
10:   r11=0x0000000000000246
10: 
10:     r12=0x0000000000000004 r13=0x00000000000001e6 r14=0x0000000000000001
10:   r15=0x0000000000000000
10: 
10:     eflags=0x0000000000010206
10: 
10:   2.3.18338-1-(Mar 19 2020 18:51:49)
10: 
10:   -no_dynamic_options -logdir
10:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
10:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
10:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
10:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
10:   `/home/shlomif/Do
10: 
10:   0x00007f30a9f90e30 0x00000000739c9d51
10: 
10:   0x00007f30a9f90e50 0x0000000073951db7
10: 
10:   0x00007f30a9f90ea0 0x00000000738ded48
10: 
10:   0x00007f30a9f90ed0 0x0000000073922fec
10: 
10:   0x00007f30a9f90f00 0x00000000738205bb
10: 
10:   0x00007f30a9f90f50 0x00007f312a125565
10: 
10:   0x00007f30a9f90fb0 0x00007f3129f9661c
10: 
10:   0x00007f30a9f90ff0 0x00007f3129f96b09
10: 
10:   0x00007f30a9f91020 0x00007f3129f96c8f
10: 
10:   0x00007f30a9f91040 0x00007f312a1e120e
10: 
10:   0x00007f30a9f91058 0x00007f30a9f52d40>
10: 
10:   ***
10: 
10: 
10: 
10/99 Test #10: multierror ........................***Failed    3.21 sec
test 11
      Start 11: bitfield

11: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/bitfield.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/bitfield.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
11: Test timeout computed to be: 120
11: STDOUT: correct
11: correct
11: all done
11: 
11: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield (332422)>
11: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332422 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
11: <Paste into GDB to debug DynamoRIO clients:
11: set confirm off
11: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
11: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f285d266000
11: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f27dce9cf50
11: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f27dd0bd390
11: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f27dc9506b0
11: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f27dd081110
11: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f27dd0675f0
11: >
11: ~~Dr.M~~ Dr. Memory version 2.3.18338
11: <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
11: <curiosity: rex.w on OPSZ_6_irex10_short4!>
11: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
11:     os says: 0x00007f27dd034000-0x00007f27dd064000 prot=0x00000001
11:     cache says: 0x00007f27dd034000-0x00007f27dd067000 prot=0x00000001
11: >
11: <(1+x) Handling our fault in a TRY at 0x00007f285d4c27a7>
11: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield (332422)>
11: ~~Dr.M~~ NO ERRORS FOUND:
11: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
11: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
11: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
11: ~~Dr.M~~       0 unique,     0 total warning(s)
11: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
11: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
11: ~~Dr.M~~ ERRORS IGNORED:
11: ~~Dr.M~~      27 unique,    37 total,  93739 byte(s) of still-reachable allocation(s)
11: ~~Dr.M~~          (re-run with "-show_reachable" for details)
11: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-bitfield.332422.000/results.txt
11: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield (332422).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
11: Received SIGSEGV at pc 0x0000000000000800 in thread 332422
11: Base: 0x00007f285d225000
11: Registers:eax=0x00007f285d202c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
11:     esi=0x0000000000000001 edi=0x00007f285d202c03 esp=0x00007f27dd271df8 ebp=0x00007f27dd271e30
11:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f27dd271510 r11=0x0000000000000246
11:     r12=0x0000000000000004 r13=0x0000000000000102 r14=0x0000000000000001 r15=0x0000000000000000
11:     eflags=0x0000000000010206
11: 2.3.18338-1-(Mar 19 2020 18:51:49) 
11: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
11: 0x00007f27dd271e30 0x00000000739c9d51
11: 0x00007f27dd271e50 0x0000000073951db7
11: 0x00007f27dd271ea0 0x00000000738ded48
11: 0x00007f27dd271ed0 0x0000000073922fec
11: 0x00007f27dd271f00 0x00000000738205bb
11: 0x00007f27dd271f50 0x00007f285d406565
11: 0x00007f27dd271fb0 0x00007f285d27761c
11: 0x00007f27dd271ff0 0x00007f285d277b09
11: 0x00007f27dd272020 0x00007f285d277c8f
11: 0x00007f27dd272040 0x00007f285d4c220e
11: 0x00007f27dd272058 0x00007f27dd233d40>
11: 
11: 
11: CMake Error at runtest.cmake:332 (message):
11:   ***
11:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield
11:   has the wrong exit code (255): correct
11: 
11:   correct
11: 
11:   all done
11: 
11:   <Starting application
11:   /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield (332422)>
11: 
11:   <Initial options = -no_dynamic_options -logdir
11:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
11:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
11:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
11:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
11:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332422
11:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
11:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
11:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
11:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
11:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
11:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
11:   -early_inject -emulate_brk -no_inline_ignored_syscalls
11:   -native_exec_default_list '' -no_native_exec_managed_code
11:   -no_indcall2direct >
11: 
11:   <Paste into GDB to debug DynamoRIO clients:
11: 
11:   set confirm off
11: 
11:   add-symbol-file
11:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
11:   0x000000007381e000
11: 
11:   add-symbol-file
11:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
11:   0x00007f285d266000
11: 
11:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f27dce9cf50
11: 
11:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f27dd0bd390
11: 
11:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f27dc9506b0
11: 
11:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f27dd081110
11: 
11:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f27dd0675f0
11: 
11:   >
11: 
11:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
11: 
11:   <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
11: 
11:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
11: 
11:   <get_memory_info mismatch! (can happen if os combines entries in
11:   /proc/pid/maps)
11: 
11:     os says: 0x00007f27dd034000-0x00007f27dd064000 prot=0x00000001
11: 
11:     cache says: 0x00007f27dd034000-0x00007f27dd067000 prot=0x00000001
11: 
11:   >
11: 
11:   <(1+x) Handling our fault in a TRY at 0x00007f285d4c27a7>
11: 
11:   <Stopping application
11:   /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield (332422)>
11: 
11:   ~~Dr.M~~ NO ERRORS FOUND:
11: 
11:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
11: 
11:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
11: 
11:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
11: 
11:   ~~Dr.M~~ 0 unique, 0 total warning(s)
11: 
11:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
11: 
11:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
11: 
11:   ~~Dr.M~~ ERRORS IGNORED:
11: 
11:   ~~Dr.M~~ 27 unique, 37 total, 93739 byte(s) of still-reachable
11:   allocation(s)
11: 
11:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
11: 
11:   ~~Dr.M~~ Details:
11:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-bitfield.332422.000/results.txt
11: 
11: 
11:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/bitfield
11:   (332422).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
11:   report this at http://drmemory.org/issues.  Program aborted.
11: 
11:   Received SIGSEGV at pc 0x0000000000000800 in thread 332422
11: 
11:   Base: 0x00007f285d225000
11: 
11:   Registers:eax=0x00007f285d202c03 ebx=0x000000000000000a
11:   ecx=0x000000000000000a edx=0x0000000000000800
11: 
11:     esi=0x0000000000000001 edi=0x00007f285d202c03 esp=0x00007f27dd271df8
11:   ebp=0x00007f27dd271e30
11: 
11:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f27dd271510
11:   r11=0x0000000000000246
11: 
11:     r12=0x0000000000000004 r13=0x0000000000000102 r14=0x0000000000000001
11:   r15=0x0000000000000000
11: 
11:     eflags=0x0000000000010206
11: 
11:   2.3.18338-1-(Mar 19 2020 18:51:49)
11: 
11:   -no_dynamic_options -logdir
11:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
11:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
11:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
11:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
11:   `/home/shlomif/Do
11: 
11:   0x00007f27dd271e30 0x00000000739c9d51
11: 
11:   0x00007f27dd271e50 0x0000000073951db7
11: 
11:   0x00007f27dd271ea0 0x00000000738ded48
11: 
11:   0x00007f27dd271ed0 0x0000000073922fec
11: 
11:   0x00007f27dd271f00 0x00000000738205bb
11: 
11:   0x00007f27dd271f50 0x00007f285d406565
11: 
11:   0x00007f27dd271fb0 0x00007f285d27761c
11: 
11:   0x00007f27dd271ff0 0x00007f285d277b09
11: 
11:   0x00007f27dd272020 0x00007f285d277c8f
11: 
11:   0x00007f27dd272040 0x00007f285d4c220e
11: 
11:   0x00007f27dd272058 0x00007f27dd233d40>
11: 
11:   ***
11: 
11: 
11: 
11/99 Test #11: bitfield ..........................***Failed    2.62 sec
test 12
      Start 12: cs2bug

12: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/cs2bug.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/cs2bug.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
12: Test timeout computed to be: 120
12: STDOUT: size=4 capacity=15
12: getval: childAB
12: myfunc: parB
12: hi
12: throwing exception
12: caught exception
12: bye
12: 
12: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug (332426)>
12: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332426 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
12: <Paste into GDB to debug DynamoRIO clients:
12: set confirm off
12: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
12: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f9b7b37e000
12: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f9afafb4f50
12: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f9afb1d5390
12: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f9afaa686b0
12: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f9afb199110
12: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f9afb17f5f0
12: >
12: ~~Dr.M~~ Dr. Memory version 2.3.18338
12: <spurious rep/repne prefix @0x0000000000402270 (f3 0f 1e fa): >
12: <curiosity: rex.w on OPSZ_6_irex10_short4!>
12: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
12:     os says: 0x00007f9afb14c000-0x00007f9afb17c000 prot=0x00000001
12:     cache says: 0x00007f9afb14c000-0x00007f9afb17f000 prot=0x00000001
12: >
12: <(1+x) Handling our fault in a TRY at 0x00007f9b7b5da7a7>
12: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug (332426)>
12: ~~Dr.M~~ ERRORS FOUND:
12: ~~Dr.M~~       6 unique,     6 total unaddressable access(es)
12: ~~Dr.M~~       2 unique,     2 total uninitialized access(es)
12: ~~Dr.M~~       9 unique,    12 total invalid heap argument(s)
12: ~~Dr.M~~       0 unique,     0 total warning(s)
12: ~~Dr.M~~       5 unique,     5 total,    682 byte(s) of leak(s)
12: ~~Dr.M~~       1 unique,     1 total,     40 byte(s) of possible leak(s)
12: ~~Dr.M~~ ERRORS IGNORED:
12: ~~Dr.M~~      30 unique,    43 total,  94051 byte(s) of still-reachable allocation(s)
12: ~~Dr.M~~          (re-run with "-show_reachable" for details)
12: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-cs2bug.332426.000/results.txt
12: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug (332426).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
12: Received SIGSEGV at pc 0x0000000000000800 in thread 332426
12: Base: 0x00007f9b7b33d000
12: Registers:eax=0x00007f9afae42802 ebx=0x000000000000000b ecx=0x000000000000000b edx=0x0000000000000800
12:     esi=0x0000000000000001 edi=0x00007f9afae42802 esp=0x00007f9afb389df8 ebp=0x00007f9afb389e30
12:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f9afb389510 r11=0x0000000000000246
12:     r12=0x0000000000000004 r13=0x0000000000000291 r14=0x0000000000000001 r15=0x0000000000000000
12:     eflags=0x0000000000010206
12: 2.3.18338-1-(Mar 19 2020 18:51:49) 
12: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
12: 0x00007f9afb389e30 0x00000000739c9d51
12: 0x00007f9afb389e50 0x0000000073951db7
12: 0x00007f9afb389ea0 0x00000000738ded48
12: 0x00007f9afb389ed0 0x0000000073922fec
12: 0x00007f9afb389f00 0x00000000738205bb
12: 0x00007f9afb389f50 0x00007f9b7b51e565
12: 0x00007f9afb389fb0 0x00007f9b7b38f61c
12: 0x00007f9afb389ff0 0x00007f9b7b38fb09
12: 0x00007f9afb38a020 0x00007f9b7b38fc8f
12: 0x00007f9afb38a040 0x00007f9b7b5da20e
12: 0x00007f9afb38a058 0x00007f9afb34bd40>
12: 
12: 
12: CMake Error at runtest.cmake:332 (message):
12:   ***
12:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug
12:   has the wrong exit code (255): size=4 capacity=15
12: 
12:   getval: childAB
12: 
12:   myfunc: parB
12: 
12:   hi
12: 
12:   throwing exception
12: 
12:   caught exception
12: 
12:   bye
12: 
12:   <Starting application
12:   /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug (332426)>
12: 
12:   <Initial options = -no_dynamic_options -logdir
12:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
12:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
12:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
12:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
12:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332426
12:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
12:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
12:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
12:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
12:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
12:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
12:   -early_inject -emulate_brk -no_inline_ignored_syscalls
12:   -native_exec_default_list '' -no_native_exec_managed_code
12:   -no_indcall2direct >
12: 
12:   <Paste into GDB to debug DynamoRIO clients:
12: 
12:   set confirm off
12: 
12:   add-symbol-file
12:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
12:   0x000000007381e000
12: 
12:   add-symbol-file
12:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
12:   0x00007f9b7b37e000
12: 
12:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f9afafb4f50
12: 
12:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f9afb1d5390
12: 
12:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f9afaa686b0
12: 
12:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f9afb199110
12: 
12:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f9afb17f5f0
12: 
12:   >
12: 
12:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
12: 
12:   <spurious rep/repne prefix @0x0000000000402270 (f3 0f 1e fa): >
12: 
12:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
12: 
12:   <get_memory_info mismatch! (can happen if os combines entries in
12:   /proc/pid/maps)
12: 
12:     os says: 0x00007f9afb14c000-0x00007f9afb17c000 prot=0x00000001
12: 
12:     cache says: 0x00007f9afb14c000-0x00007f9afb17f000 prot=0x00000001
12: 
12:   >
12: 
12:   <(1+x) Handling our fault in a TRY at 0x00007f9b7b5da7a7>
12: 
12:   <Stopping application
12:   /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug (332426)>
12: 
12:   ~~Dr.M~~ ERRORS FOUND:
12: 
12:   ~~Dr.M~~ 6 unique, 6 total unaddressable access(es)
12: 
12:   ~~Dr.M~~ 2 unique, 2 total uninitialized access(es)
12: 
12:   ~~Dr.M~~ 9 unique, 12 total invalid heap argument(s)
12: 
12:   ~~Dr.M~~ 0 unique, 0 total warning(s)
12: 
12:   ~~Dr.M~~ 5 unique, 5 total, 682 byte(s) of leak(s)
12: 
12:   ~~Dr.M~~ 1 unique, 1 total, 40 byte(s) of possible leak(s)
12: 
12:   ~~Dr.M~~ ERRORS IGNORED:
12: 
12:   ~~Dr.M~~ 30 unique, 43 total, 94051 byte(s) of still-reachable
12:   allocation(s)
12: 
12:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
12: 
12:   ~~Dr.M~~ Details:
12:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-cs2bug.332426.000/results.txt
12: 
12: 
12:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/cs2bug
12:   (332426).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
12:   report this at http://drmemory.org/issues.  Program aborted.
12: 
12:   Received SIGSEGV at pc 0x0000000000000800 in thread 332426
12: 
12:   Base: 0x00007f9b7b33d000
12: 
12:   Registers:eax=0x00007f9afae42802 ebx=0x000000000000000b
12:   ecx=0x000000000000000b edx=0x0000000000000800
12: 
12:     esi=0x0000000000000001 edi=0x00007f9afae42802 esp=0x00007f9afb389df8
12:   ebp=0x00007f9afb389e30
12: 
12:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f9afb389510
12:   r11=0x0000000000000246
12: 
12:     r12=0x0000000000000004 r13=0x0000000000000291 r14=0x0000000000000001
12:   r15=0x0000000000000000
12: 
12:     eflags=0x0000000000010206
12: 
12:   2.3.18338-1-(Mar 19 2020 18:51:49)
12: 
12:   -no_dynamic_options -logdir
12:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
12:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
12:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
12:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
12:   `/home/shlomif/Do
12: 
12:   0x00007f9afb389e30 0x00000000739c9d51
12: 
12:   0x00007f9afb389e50 0x0000000073951db7
12: 
12:   0x00007f9afb389ea0 0x00000000738ded48
12: 
12:   0x00007f9afb389ed0 0x0000000073922fec
12: 
12:   0x00007f9afb389f00 0x00000000738205bb
12: 
12:   0x00007f9afb389f50 0x00007f9b7b51e565
12: 
12:   0x00007f9afb389fb0 0x00007f9b7b38f61c
12: 
12:   0x00007f9afb389ff0 0x00007f9b7b38fb09
12: 
12:   0x00007f9afb38a020 0x00007f9b7b38fc8f
12: 
12:   0x00007f9afb38a040 0x00007f9b7b5da20e
12: 
12:   0x00007f9afb38a058 0x00007f9afb34bd40>
12: 
12:   ***
12: 
12: 
12: 
12/99 Test #12: cs2bug ............................***Failed    3.55 sec
test 13
      Start 13: operators

13: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-dr_ops@-checklevel@@0@@-no_enable_reset@@-vm_size@@64M@-callstack_style@0x27@-no_results_to_stderr@-no_count_leaks@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/operators" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/operators.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/operators.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=ANY" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
13: Test timeout computed to be: 120
13: STDOUT: new returned NULL
13: new[] returned NULL
13: about to die
13: 
13: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/operators (332428)>
13: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -checklevel 0 -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr `-no_count_leaks` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332428 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 65536K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
13: <Paste into GDB to debug DynamoRIO clients:
13: set confirm off
13: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
13: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007ff747069000
13: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007ff6c6c9ff50
13: add-symbol-file '/usr/lib64/libm.so.6' 0x00007ff6c6ec0390
13: add-symbol-file '/usr/lib64/libc.so.6' 0x00007ff6c67536b0
13: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007ff6c6e84110
13: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007ff6c6e6a5f0
13: >
13: ~~Dr.M~~ Dr. Memory version 2.3.18338
13: <spurious rep/repne prefix @0x0000000000401120 (f3 0f 1e fa): >
13: <curiosity: rex.w on OPSZ_6_irex10_short4!>
13: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/operators (332428)>
13: ~~Dr.M~~ ERRORS FOUND:
13: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
13: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
13: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
13: ~~Dr.M~~       1 unique,     1 total warning(s)
13: ~~Dr.M~~ ERRORS IGNORED:
13: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-operators.332428.000/results.txt
13: <(1+x) Handling our fault in a TRY at 0x00007ff747261d4f>
13: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/operators (332428).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
13: Received SIGSEGV at unknown pc 0x0000000000000800 in thread 332428
13: Base: 0x00007ff747028000
13: Registers:eax=0x00007ff6c6b2d802 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
13:     esi=0x0000000000000001 edi=0x00007ff6c6b2d802 esp=0x00007fff97110fc8 ebp=0x00007fff97111000
13:     r8 =0x0000000000000035 r9 =0x0000000073a64e6b r10=0x00007fff971106e0 r11=0x0000000000000246
13:     r12=0x0000000000000004 r13=0x00000000000001d3 r14=0x0000000000000000 r15=0x0000000000000000
13:     eflags=0x0000000000010206
13: 2.3.18338-1-(Mar 19 2020 18:51:49) 
13: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -checklevel 0 -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr `-no_count_leaks` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs`
13: 0x00007fff97111000 0x00000000739c9d51
13: 0x00007fff97111020 0x0000000073951db7
13: 0x00007fff97111070 0x00000000738ded48
13: 0x00007fff971110a0 0x0000000073922fec
13: 0x00007fff971110d0 0x00000000738205bb
13: 0x00007fff97111120 0x00007ff747209565
13: 0x00007fff97111180 0x00007ff74707a61c
13: 0x00007fff971111c0 0x00007ff74707ab09
13: 0x00007fff971111f0 0x00007ff74707ac8f
13: 0x00007fff97111210 0x00007ff7472c520e
13: 0x00007fff97111228 0x00007ff6c7036d40>
13: 
13: 
13/99 Test #13: operators .........................   Passed    2.38 sec
test 14
      Start 14: float

14: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/float" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/float.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/float.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
14: Test timeout computed to be: 120
14: STDOUT: testing floats on heap
14: testing floats on stack
14: all done
14: 
14: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/float (332431)>
14: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332431 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
14: <Paste into GDB to debug DynamoRIO clients:
14: set confirm off
14: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
14: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f44f5509000
14: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f447513ff50
14: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f4475360390
14: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4474bf36b0
14: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f4475324110
14: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f447530a5f0
14: >
14: ~~Dr.M~~ Dr. Memory version 2.3.18338
14: <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
14: <curiosity: rex.w on OPSZ_6_irex10_short4!>
14: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
14:     os says: 0x00007f44752d7000-0x00007f4475307000 prot=0x00000001
14:     cache says: 0x00007f44752d7000-0x00007f447530a000 prot=0x00000001
14: >
14: <(1+x) Handling our fault in a TRY at 0x00007f44f57657a7>
14: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/float (332431)>
14: ~~Dr.M~~ ERRORS FOUND:
14: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
14: ~~Dr.M~~       6 unique,     6 total uninitialized access(es)
14: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
14: ~~Dr.M~~       0 unique,     0 total warning(s)
14: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
14: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
14: ~~Dr.M~~ ERRORS IGNORED:
14: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
14: ~~Dr.M~~          (re-run with "-show_reachable" for details)
14: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-float.332431.000/results.txt
14: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/float (332431).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
14: Received SIGSEGV at pc 0x0000000000000800 in thread 332431
14: Base: 0x00007f44f54c8000
14: Registers:eax=0x00007f44f54a5c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
14:     esi=0x0000000000000001 edi=0x00007f44f54a5c03 esp=0x00007f4475514df8 ebp=0x00007f4475514e30
14:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f4475514510 r11=0x0000000000000246
14:     r12=0x0000000000000004 r13=0x00000000000000e4 r14=0x0000000000000001 r15=0x0000000000000000
14:     eflags=0x0000000000010206
14: 2.3.18338-1-(Mar 19 2020 18:51:49) 
14: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
14: 0x00007f4475514e30 0x00000000739c9d51
14: 0x00007f4475514e50 0x0000000073951db7
14: 0x00007f4475514ea0 0x00000000738ded48
14: 0x00007f4475514ed0 0x0000000073922fec
14: 0x00007f4475514f00 0x00000000738205bb
14: 0x00007f4475514f50 0x00007f44f56a9565
14: 0x00007f4475514fb0 0x00007f44f551a61c
14: 0x00007f4475514ff0 0x00007f44f551ab09
14: 0x00007f4475515020 0x00007f44f551ac8f
14: 0x00007f4475515040 0x00007f44f576520e
14: 0x00007f4475515058 0x00007f44754d6d40>
14: 
14: 
14: CMake Error at runtest.cmake:332 (message):
14:   ***
14:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/float
14:   has the wrong exit code (255): testing floats on heap
14: 
14:   testing floats on stack
14: 
14:   all done
14: 
14:   <Starting application
14:   /home/shlomif/Download/unpack/prog/b-drmem/tests/float (332431)>
14: 
14:   <Initial options = -no_dynamic_options -logdir
14:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
14:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
14:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
14:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
14:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332431
14:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
14:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
14:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
14:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
14:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
14:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
14:   -early_inject -emulate_brk -no_inline_ignored_syscalls
14:   -native_exec_default_list '' -no_native_exec_managed_code
14:   -no_indcall2direct >
14: 
14:   <Paste into GDB to debug DynamoRIO clients:
14: 
14:   set confirm off
14: 
14:   add-symbol-file
14:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
14:   0x000000007381e000
14: 
14:   add-symbol-file
14:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
14:   0x00007f44f5509000
14: 
14:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f447513ff50
14: 
14:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f4475360390
14: 
14:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4474bf36b0
14: 
14:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f4475324110
14: 
14:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f447530a5f0
14: 
14:   >
14: 
14:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
14: 
14:   <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
14: 
14:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
14: 
14:   <get_memory_info mismatch! (can happen if os combines entries in
14:   /proc/pid/maps)
14: 
14:     os says: 0x00007f44752d7000-0x00007f4475307000 prot=0x00000001
14: 
14:     cache says: 0x00007f44752d7000-0x00007f447530a000 prot=0x00000001
14: 
14:   >
14: 
14:   <(1+x) Handling our fault in a TRY at 0x00007f44f57657a7>
14: 
14:   <Stopping application
14:   /home/shlomif/Download/unpack/prog/b-drmem/tests/float (332431)>
14: 
14:   ~~Dr.M~~ ERRORS FOUND:
14: 
14:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
14: 
14:   ~~Dr.M~~ 6 unique, 6 total uninitialized access(es)
14: 
14:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
14: 
14:   ~~Dr.M~~ 0 unique, 0 total warning(s)
14: 
14:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
14: 
14:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
14: 
14:   ~~Dr.M~~ ERRORS IGNORED:
14: 
14:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
14:   allocation(s)
14: 
14:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
14: 
14:   ~~Dr.M~~ Details:
14:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-float.332431.000/results.txt
14: 
14: 
14:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/float
14:   (332431).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
14:   report this at http://drmemory.org/issues.  Program aborted.
14: 
14:   Received SIGSEGV at pc 0x0000000000000800 in thread 332431
14: 
14:   Base: 0x00007f44f54c8000
14: 
14:   Registers:eax=0x00007f44f54a5c03 ebx=0x000000000000000a
14:   ecx=0x000000000000000a edx=0x0000000000000800
14: 
14:     esi=0x0000000000000001 edi=0x00007f44f54a5c03 esp=0x00007f4475514df8
14:   ebp=0x00007f4475514e30
14: 
14:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f4475514510
14:   r11=0x0000000000000246
14: 
14:     r12=0x0000000000000004 r13=0x00000000000000e4 r14=0x0000000000000001
14:   r15=0x0000000000000000
14: 
14:     eflags=0x0000000000010206
14: 
14:   2.3.18338-1-(Mar 19 2020 18:51:49)
14: 
14:   -no_dynamic_options -logdir
14:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
14:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
14:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
14:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
14:   `/home/shlomif/Do
14: 
14:   0x00007f4475514e30 0x00000000739c9d51
14: 
14:   0x00007f4475514e50 0x0000000073951db7
14: 
14:   0x00007f4475514ea0 0x00000000738ded48
14: 
14:   0x00007f4475514ed0 0x0000000073922fec
14: 
14:   0x00007f4475514f00 0x00000000738205bb
14: 
14:   0x00007f4475514f50 0x00007f44f56a9565
14: 
14:   0x00007f4475514fb0 0x00007f44f551a61c
14: 
14:   0x00007f4475514ff0 0x00007f44f551ab09
14: 
14:   0x00007f4475515020 0x00007f44f551ac8f
14: 
14:   0x00007f4475515040 0x00007f44f576520e
14: 
14:   0x00007f4475515058 0x00007f44754d6d40>
14: 
14:   ***
14: 
14: 
14: 
14/99 Test #14: float .............................***Failed    1.27 sec
test 15
      Start 15: selfmod

15: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/selfmod.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/selfmod.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
15: Test timeout computed to be: 120
15: STDOUT: Executed 0xabcd iters
15: Executed 0x1234 iters
15: Executed 0xef01 iters
15: all done
15: 
15: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod (332433)>
15: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332433 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
15: <Paste into GDB to debug DynamoRIO clients:
15: set confirm off
15: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
15: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fe4ec5f9000
15: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fe46c22ff50
15: add-symbol-file '/usr/lib64/libm.so.6' 0x00007fe46c450390
15: add-symbol-file '/usr/lib64/libc.so.6' 0x00007fe46bce36b0
15: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fe46c414110
15: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fe46c3fa5f0
15: >
15: ~~Dr.M~~ Dr. Memory version 2.3.18338
15: <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
15: <curiosity: rex.w on OPSZ_6_irex10_short4!>
15: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
15:     os says: 0x00007fe46c3c7000-0x00007fe46c3f7000 prot=0x00000001
15:     cache says: 0x00007fe46c3c7000-0x00007fe46c3fa000 prot=0x00000001
15: >
15: <(1+x) Handling our fault in a TRY at 0x00007fe4ec8557a7>
15: <writing to executable region.>
15: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod (332433)>
15: ~~Dr.M~~ NO ERRORS FOUND:
15: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
15: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
15: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
15: ~~Dr.M~~       0 unique,     0 total warning(s)
15: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
15: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
15: ~~Dr.M~~ ERRORS IGNORED:
15: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
15: ~~Dr.M~~          (re-run with "-show_reachable" for details)
15: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-selfmod.332433.000/results.txt
15: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod (332433).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
15: Received SIGSEGV at pc 0x0000000000000800 in thread 332433
15: Base: 0x00007fe4ec5b8000
15: Registers:eax=0x00007fe4ec595c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
15:     esi=0x0000000000000001 edi=0x00007fe4ec595c03 esp=0x00007fe46c604df8 ebp=0x00007fe46c604e30
15:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fe46c604510 r11=0x0000000000000246
15:     r12=0x0000000000000004 r13=0x00000000000000ec r14=0x0000000000000001 r15=0x0000000000000000
15:     eflags=0x0000000000010206
15: 2.3.18338-1-(Mar 19 2020 18:51:49) 
15: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
15: 0x00007fe46c604e30 0x00000000739c9d51
15: 0x00007fe46c604e50 0x0000000073951db7
15: 0x00007fe46c604ea0 0x00000000738ded48
15: 0x00007fe46c604ed0 0x0000000073922fec
15: 0x00007fe46c604f00 0x00000000738205bb
15: 0x00007fe46c604f50 0x00007fe4ec799565
15: 0x00007fe46c604fb0 0x00007fe4ec60a61c
15: 0x00007fe46c604ff0 0x00007fe4ec60ab09
15: 0x00007fe46c605020 0x00007fe4ec60ac8f
15: 0x00007fe46c605040 0x00007fe4ec85520e
15: 0x00007fe46c605058 0x00007fe46c5c6d40>
15: 
15: 
15: CMake Error at runtest.cmake:332 (message):
15:   ***
15:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod
15:   has the wrong exit code (255): Executed 0xabcd iters
15: 
15:   Executed 0x1234 iters
15: 
15:   Executed 0xef01 iters
15: 
15:   all done
15: 
15:   <Starting application
15:   /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod (332433)>
15: 
15:   <Initial options = -no_dynamic_options -logdir
15:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
15:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
15:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
15:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
15:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332433
15:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
15:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
15:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
15:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
15:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
15:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
15:   -early_inject -emulate_brk -no_inline_ignored_syscalls
15:   -native_exec_default_list '' -no_native_exec_managed_code
15:   -no_indcall2direct >
15: 
15:   <Paste into GDB to debug DynamoRIO clients:
15: 
15:   set confirm off
15: 
15:   add-symbol-file
15:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
15:   0x000000007381e000
15: 
15:   add-symbol-file
15:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
15:   0x00007fe4ec5f9000
15: 
15:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fe46c22ff50
15: 
15:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007fe46c450390
15: 
15:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007fe46bce36b0
15: 
15:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fe46c414110
15: 
15:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fe46c3fa5f0
15: 
15:   >
15: 
15:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
15: 
15:   <spurious rep/repne prefix @0x0000000000401060 (f3 0f 1e fa): >
15: 
15:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
15: 
15:   <get_memory_info mismatch! (can happen if os combines entries in
15:   /proc/pid/maps)
15: 
15:     os says: 0x00007fe46c3c7000-0x00007fe46c3f7000 prot=0x00000001
15: 
15:     cache says: 0x00007fe46c3c7000-0x00007fe46c3fa000 prot=0x00000001
15: 
15:   >
15: 
15:   <(1+x) Handling our fault in a TRY at 0x00007fe4ec8557a7>
15: 
15:   <writing to executable region.>
15: 
15:   <Stopping application
15:   /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod (332433)>
15: 
15:   ~~Dr.M~~ NO ERRORS FOUND:
15: 
15:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
15: 
15:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
15: 
15:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
15: 
15:   ~~Dr.M~~ 0 unique, 0 total warning(s)
15: 
15:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
15: 
15:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
15: 
15:   ~~Dr.M~~ ERRORS IGNORED:
15: 
15:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
15:   allocation(s)
15: 
15:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
15: 
15:   ~~Dr.M~~ Details:
15:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-selfmod.332433.000/results.txt
15: 
15: 
15:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/selfmod
15:   (332433).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
15:   report this at http://drmemory.org/issues.  Program aborted.
15: 
15:   Received SIGSEGV at pc 0x0000000000000800 in thread 332433
15: 
15:   Base: 0x00007fe4ec5b8000
15: 
15:   Registers:eax=0x00007fe4ec595c03 ebx=0x000000000000000a
15:   ecx=0x000000000000000a edx=0x0000000000000800
15: 
15:     esi=0x0000000000000001 edi=0x00007fe4ec595c03 esp=0x00007fe46c604df8
15:   ebp=0x00007fe46c604e30
15: 
15:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fe46c604510
15:   r11=0x0000000000000246
15: 
15:     r12=0x0000000000000004 r13=0x00000000000000ec r14=0x0000000000000001
15:   r15=0x0000000000000000
15: 
15:     eflags=0x0000000000010206
15: 
15:   2.3.18338-1-(Mar 19 2020 18:51:49)
15: 
15:   -no_dynamic_options -logdir
15:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
15:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
15:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
15:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
15:   `/home/shlomif/Do
15: 
15:   0x00007fe46c604e30 0x00000000739c9d51
15: 
15:   0x00007fe46c604e50 0x0000000073951db7
15: 
15:   0x00007fe46c604ea0 0x00000000738ded48
15: 
15:   0x00007fe46c604ed0 0x0000000073922fec
15: 
15:   0x00007fe46c604f00 0x00000000738205bb
15: 
15:   0x00007fe46c604f50 0x00007fe4ec799565
15: 
15:   0x00007fe46c604fb0 0x00007fe4ec60a61c
15: 
15:   0x00007fe46c604ff0 0x00007fe4ec60ab09
15: 
15:   0x00007fe46c605020 0x00007fe4ec60ac8f
15: 
15:   0x00007fe46c605040 0x00007fe4ec85520e
15: 
15:   0x00007fe46c605058 0x00007fe46c5c6d40>
15: 
15:   ***
15: 
15: 
15: 
15/99 Test #15: selfmod ...........................***Failed    1.35 sec
test 16
      Start 16: patterns

16: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/patterns" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/patterns.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/patterns.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
16: Test timeout computed to be: 120
16: STDOUT: got 3
16: 
16: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns (332435)>
16: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332435 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
16: <Paste into GDB to debug DynamoRIO clients:
16: set confirm off
16: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
16: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f27dee31000
16: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f275ea67f50
16: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f275ec88390
16: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f275e51b6b0
16: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f275ec4c110
16: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f275ec325f0
16: >
16: ~~Dr.M~~ Dr. Memory version 2.3.18338
16: <spurious rep/repne prefix @0x00000000004010d0 (f3 0f 1e fa): >
16: <curiosity: rex.w on OPSZ_6_irex10_short4!>
16: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
16:     os says: 0x00007f275ebff000-0x00007f275ec2f000 prot=0x00000001
16:     cache says: 0x00007f275ebff000-0x00007f275ec32000 prot=0x00000001
16: >
16: <(1+x) Handling our fault in a TRY at 0x00007f27df08d7a7>
16: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns (332435)>
16: ~~Dr.M~~ NO ERRORS FOUND:
16: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
16: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
16: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
16: ~~Dr.M~~       0 unique,     0 total warning(s)
16: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
16: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
16: ~~Dr.M~~ ERRORS IGNORED:
16: ~~Dr.M~~      16 unique,    20 total,  10804 byte(s) of still-reachable allocation(s)
16: ~~Dr.M~~          (re-run with "-show_reachable" for details)
16: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-patterns.332435.000/results.txt
16: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns (332435).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
16: Received SIGSEGV at pc 0x0000000000000800 in thread 332435
16: Base: 0x00007f27dedf0000
16: Registers:eax=0x00007f27dedcdc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
16:     esi=0x0000000000000001 edi=0x00007f27dedcdc03 esp=0x00007f275ee3cdf8 ebp=0x00007f275ee3ce30
16:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f275ee3c510 r11=0x0000000000000246
16:     r12=0x0000000000000004 r13=0x00000000000000fb r14=0x0000000000000001 r15=0x0000000000000000
16:     eflags=0x0000000000010206
16: 2.3.18338-1-(Mar 19 2020 18:51:49) 
16: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
16: 0x00007f275ee3ce30 0x00000000739c9d51
16: 0x00007f275ee3ce50 0x0000000073951db7
16: 0x00007f275ee3cea0 0x00000000738ded48
16: 0x00007f275ee3ced0 0x0000000073922fec
16: 0x00007f275ee3cf00 0x00000000738205bb
16: 0x00007f275ee3cf50 0x00007f27defd1565
16: 0x00007f275ee3cfb0 0x00007f27dee4261c
16: 0x00007f275ee3cff0 0x00007f27dee42b09
16: 0x00007f275ee3d020 0x00007f27dee42c8f
16: 0x00007f275ee3d040 0x00007f27df08d20e
16: 0x00007f275ee3d058 0x00007f275edfed40>
16: 
16: 
16: CMake Error at runtest.cmake:332 (message):
16:   ***
16:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/patterns
16:   has the wrong exit code (255): got 3
16: 
16:   <Starting application
16:   /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns (332435)>
16: 
16:   <Initial options = -no_dynamic_options -logdir
16:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
16:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
16:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
16:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
16:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332435
16:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
16:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
16:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
16:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
16:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
16:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
16:   -early_inject -emulate_brk -no_inline_ignored_syscalls
16:   -native_exec_default_list '' -no_native_exec_managed_code
16:   -no_indcall2direct >
16: 
16:   <Paste into GDB to debug DynamoRIO clients:
16: 
16:   set confirm off
16: 
16:   add-symbol-file
16:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
16:   0x000000007381e000
16: 
16:   add-symbol-file
16:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
16:   0x00007f27dee31000
16: 
16:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f275ea67f50
16: 
16:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f275ec88390
16: 
16:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f275e51b6b0
16: 
16:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f275ec4c110
16: 
16:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f275ec325f0
16: 
16:   >
16: 
16:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
16: 
16:   <spurious rep/repne prefix @0x00000000004010d0 (f3 0f 1e fa): >
16: 
16:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
16: 
16:   <get_memory_info mismatch! (can happen if os combines entries in
16:   /proc/pid/maps)
16: 
16:     os says: 0x00007f275ebff000-0x00007f275ec2f000 prot=0x00000001
16: 
16:     cache says: 0x00007f275ebff000-0x00007f275ec32000 prot=0x00000001
16: 
16:   >
16: 
16:   <(1+x) Handling our fault in a TRY at 0x00007f27df08d7a7>
16: 
16:   <Stopping application
16:   /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns (332435)>
16: 
16:   ~~Dr.M~~ NO ERRORS FOUND:
16: 
16:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
16: 
16:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
16: 
16:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
16: 
16:   ~~Dr.M~~ 0 unique, 0 total warning(s)
16: 
16:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
16: 
16:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
16: 
16:   ~~Dr.M~~ ERRORS IGNORED:
16: 
16:   ~~Dr.M~~ 16 unique, 20 total, 10804 byte(s) of still-reachable
16:   allocation(s)
16: 
16:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
16: 
16:   ~~Dr.M~~ Details:
16:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-patterns.332435.000/results.txt
16: 
16: 
16:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/patterns
16:   (332435).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
16:   report this at http://drmemory.org/issues.  Program aborted.
16: 
16:   Received SIGSEGV at pc 0x0000000000000800 in thread 332435
16: 
16:   Base: 0x00007f27dedf0000
16: 
16:   Registers:eax=0x00007f27dedcdc03 ebx=0x000000000000000a
16:   ecx=0x000000000000000a edx=0x0000000000000800
16: 
16:     esi=0x0000000000000001 edi=0x00007f27dedcdc03 esp=0x00007f275ee3cdf8
16:   ebp=0x00007f275ee3ce30
16: 
16:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f275ee3c510
16:   r11=0x0000000000000246
16: 
16:     r12=0x0000000000000004 r13=0x00000000000000fb r14=0x0000000000000001
16:   r15=0x0000000000000000
16: 
16:     eflags=0x0000000000010206
16: 
16:   2.3.18338-1-(Mar 19 2020 18:51:49)
16: 
16:   -no_dynamic_options -logdir
16:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
16:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
16:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
16:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
16:   `/home/shlomif/Do
16: 
16:   0x00007f275ee3ce30 0x00000000739c9d51
16: 
16:   0x00007f275ee3ce50 0x0000000073951db7
16: 
16:   0x00007f275ee3cea0 0x00000000738ded48
16: 
16:   0x00007f275ee3ced0 0x0000000073922fec
16: 
16:   0x00007f275ee3cf00 0x00000000738205bb
16: 
16:   0x00007f275ee3cf50 0x00007f27defd1565
16: 
16:   0x00007f275ee3cfb0 0x00007f27dee4261c
16: 
16:   0x00007f275ee3cff0 0x00007f27dee42b09
16: 
16:   0x00007f275ee3d020 0x00007f27dee42c8f
16: 
16:   0x00007f275ee3d040 0x00007f27df08d20e
16: 
16:   0x00007f275ee3d058 0x00007f275edfed40>
16: 
16:   ***
16: 
16: 
16: 
16/99 Test #16: patterns ..........................***Failed    1.43 sec
test 17
      Start 17: state

17: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/state" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/state.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/state.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=ANY" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
17: Test timeout computed to be: 120
17: STDOUT: 
17: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/state (332437)>
17: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332437 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
17: <Paste into GDB to debug DynamoRIO clients:
17: set confirm off
17: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
17: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f205c3d8000
17: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f1fdc00ef50
17: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f1fdc22f390
17: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f1fdbac26b0
17: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f1fdc1f3110
17: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f1fdc1d95f0
17: >
17: ~~Dr.M~~ Dr. Memory version 2.3.18338
17: <spurious rep/repne prefix @0x0000000000401090 (f3 0f 1e fa): >
17: <curiosity: rex.w on OPSZ_6_irex10_short4!>
17: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
17:     os says: 0x00007f1fdc1a6000-0x00007f1fdc1d6000 prot=0x00000001
17:     cache says: 0x00007f1fdc1a6000-0x00007f1fdc1d9000 prot=0x00000001
17: >
17: <(1+x) Handling our fault in a TRY at 0x00007f205c6347a7>
17: starting
17: generating SIGSEGV
17: eax is correct
17: done
17: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/state (332437)>
17: ~~Dr.M~~ ERRORS FOUND:
17: ~~Dr.M~~       1 unique,     1 total unaddressable access(es)
17: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
17: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
17: ~~Dr.M~~       0 unique,     0 total warning(s)
17: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
17: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
17: ~~Dr.M~~ ERRORS IGNORED:
17: ~~Dr.M~~      15 unique,    19 total,   6684 byte(s) of still-reachable allocation(s)
17: ~~Dr.M~~          (re-run with "-show_reachable" for details)
17: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-state.332437.000/results.txt
17: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/state (332437).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
17: Received SIGSEGV at pc 0x0000000000000800 in thread 332437
17: Base: 0x00007f205c397000
17: Registers:eax=0x00007f205c374c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
17:     esi=0x0000000000000001 edi=0x00007f205c374c03 esp=0x00007f1fdc3e3df8 ebp=0x00007f1fdc3e3e30
17:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f1fdc3e3510 r11=0x0000000000000246
17:     r12=0x0000000000000004 r13=0x00000000000000df r14=0x0000000000000001 r15=0x0000000000000000
17:     eflags=0x0000000000010206
17: 2.3.18338-1-(Mar 19 2020 18:51:49) 
17: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
17: 0x00007f1fdc3e3e30 0x00000000739c9d51
17: 0x00007f1fdc3e3e50 0x0000000073951db7
17: 0x00007f1fdc3e3ea0 0x00000000738ded48
17: 0x00007f1fdc3e3ed0 0x0000000073922fec
17: 0x00007f1fdc3e3f00 0x00000000738205bb
17: 0x00007f1fdc3e3f50 0x00007f205c578565
17: 0x00007f1fdc3e3fb0 0x00007f205c3e961c
17: 0x00007f1fdc3e3ff0 0x00007f205c3e9b09
17: 0x00007f1fdc3e4020 0x00007f205c3e9c8f
17: 0x00007f1fdc3e4040 0x00007f205c63420e
17: 0x00007f1fdc3e4058 0x00007f1fdc3a5d40>
17: 
17: 
17/99 Test #17: state .............................   Passed    1.28 sec
test 18
      Start 18: signal

18: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/signal" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/signal.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/signal.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
18: Test timeout computed to be: 120
18: STDOUT: 
18: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/signal (332439)>
18: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332439 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
18: <Paste into GDB to debug DynamoRIO clients:
18: set confirm off
18: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
18: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f33203a4000
18: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f329ffdaf50
18: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f32a01fb390
18: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f329fa8e6b0
18: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f32a01bf110
18: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f32a01a55f0
18: >
18: ~~Dr.M~~ Dr. Memory version 2.3.18338
18: <spurious rep/repne prefix @0x0000000000401120 (f3 0f 1e fa): >
18: <curiosity: rex.w on OPSZ_6_irex10_short4!>
18: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
18:     os says: 0x00007f32a0172000-0x00007f32a01a2000 prot=0x00000001
18:     cache says: 0x00007f32a0172000-0x00007f32a01a5000 prot=0x00000001
18: >
18: <(1+x) Handling our fault in a TRY at 0x00007f33206007a7>
18: Sending SIGUSR2
18: Sending SIGUSR1
18: signal_handler: sig=10
18: Got SIGUSR1
18: Generating SIGSEGV
18: signal_handler: sig=11
18: Got SIGSEGV
18: 2504.447323
18: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/signal (332439)>
18: ~~Dr.M~~ NO ERRORS FOUND:
18: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
18: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
18: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
18: ~~Dr.M~~       0 unique,     0 total warning(s)
18: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
18: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
18: ~~Dr.M~~ ERRORS IGNORED:
18: ~~Dr.M~~      18 unique,    24 total,   8416 byte(s) of still-reachable allocation(s)
18: ~~Dr.M~~          (re-run with "-show_reachable" for details)
18: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-signal.332439.000/results.txt
18: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/signal (332439).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
18: Received SIGSEGV at pc 0x0000000000000800 in thread 332439
18: Base: 0x00007f3320363000
18: Registers:eax=0x00007f329f8f3c00 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
18:     esi=0x0000000000000001 edi=0x00007f329f8f3c00 esp=0x00007f32a03afdf8 ebp=0x00007f32a03afe30
18:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f32a03af510 r11=0x0000000000000246
18:     r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000001 r15=0x0000000000000000
18:     eflags=0x0000000000010206
18: 2.3.18338-1-(Mar 19 2020 18:51:49) 
18: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
18: 0x00007f32a03afe30 0x00000000739c9d51
18: 0x00007f32a03afe50 0x0000000073951db7
18: 0x00007f32a03afea0 0x00000000738ded48
18: 0x00007f32a03afed0 0x0000000073922fec
18: 0x00007f32a03aff00 0x00000000738205bb
18: 0x00007f32a03aff50 0x00007f3320544565
18: 0x00007f32a03affb0 0x00007f33203b561c
18: 0x00007f32a03afff0 0x00007f33203b5b09
18: 0x00007f32a03b0020 0x00007f33203b5c8f
18: 0x00007f32a03b0040 0x00007f332060020e
18: 0x00007f32a03b0058 0x00007f32a0371d40>
18: 
18: 
18: CMake Error at runtest.cmake:332 (message):
18:   ***
18:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/signal
18:   has the wrong exit code (255): <Starting application
18:   /home/shlomif/Download/unpack/prog/b-drmem/tests/signal (332439)>
18: 
18:   <Initial options = -no_dynamic_options -logdir
18:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
18:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
18:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
18:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
18:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332439
18:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
18:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
18:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
18:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
18:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
18:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
18:   -early_inject -emulate_brk -no_inline_ignored_syscalls
18:   -native_exec_default_list '' -no_native_exec_managed_code
18:   -no_indcall2direct >
18: 
18:   <Paste into GDB to debug DynamoRIO clients:
18: 
18:   set confirm off
18: 
18:   add-symbol-file
18:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
18:   0x000000007381e000
18: 
18:   add-symbol-file
18:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
18:   0x00007f33203a4000
18: 
18:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f329ffdaf50
18: 
18:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f32a01fb390
18: 
18:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f329fa8e6b0
18: 
18:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f32a01bf110
18: 
18:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f32a01a55f0
18: 
18:   >
18: 
18:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
18: 
18:   <spurious rep/repne prefix @0x0000000000401120 (f3 0f 1e fa): >
18: 
18:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
18: 
18:   <get_memory_info mismatch! (can happen if os combines entries in
18:   /proc/pid/maps)
18: 
18:     os says: 0x00007f32a0172000-0x00007f32a01a2000 prot=0x00000001
18: 
18:     cache says: 0x00007f32a0172000-0x00007f32a01a5000 prot=0x00000001
18: 
18:   >
18: 
18:   <(1+x) Handling our fault in a TRY at 0x00007f33206007a7>
18: 
18:   Sending SIGUSR2
18: 
18:   Sending SIGUSR1
18: 
18:   signal_handler: sig=10
18: 
18:   Got SIGUSR1
18: 
18:   Generating SIGSEGV
18: 
18:   signal_handler: sig=11
18: 
18:   Got SIGSEGV
18: 
18:   2504.447323
18: 
18:   <Stopping application
18:   /home/shlomif/Download/unpack/prog/b-drmem/tests/signal (332439)>
18: 
18:   ~~Dr.M~~ NO ERRORS FOUND:
18: 
18:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
18: 
18:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
18: 
18:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
18: 
18:   ~~Dr.M~~ 0 unique, 0 total warning(s)
18: 
18:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
18: 
18:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
18: 
18:   ~~Dr.M~~ ERRORS IGNORED:
18: 
18:   ~~Dr.M~~ 18 unique, 24 total, 8416 byte(s) of still-reachable allocation(s)
18: 
18:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
18: 
18:   ~~Dr.M~~ Details:
18:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-signal.332439.000/results.txt
18: 
18: 
18:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/signal
18:   (332439).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
18:   report this at http://drmemory.org/issues.  Program aborted.
18: 
18:   Received SIGSEGV at pc 0x0000000000000800 in thread 332439
18: 
18:   Base: 0x00007f3320363000
18: 
18:   Registers:eax=0x00007f329f8f3c00 ebx=0x000000000000000a
18:   ecx=0x000000000000000a edx=0x0000000000000800
18: 
18:     esi=0x0000000000000001 edi=0x00007f329f8f3c00 esp=0x00007f32a03afdf8
18:   ebp=0x00007f32a03afe30
18: 
18:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f32a03af510
18:   r11=0x0000000000000246
18: 
18:     r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000001
18:   r15=0x0000000000000000
18: 
18:     eflags=0x0000000000010206
18: 
18:   2.3.18338-1-(Mar 19 2020 18:51:49)
18: 
18:   -no_dynamic_options -logdir
18:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
18:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
18:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
18:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
18:   `/home/shlomif/Do
18: 
18:   0x00007f32a03afe30 0x00000000739c9d51
18: 
18:   0x00007f32a03afe50 0x0000000073951db7
18: 
18:   0x00007f32a03afea0 0x00000000738ded48
18: 
18:   0x00007f32a03afed0 0x0000000073922fec
18: 
18:   0x00007f32a03aff00 0x00000000738205bb
18: 
18:   0x00007f32a03aff50 0x00007f3320544565
18: 
18:   0x00007f32a03affb0 0x00007f33203b561c
18: 
18:   0x00007f32a03afff0 0x00007f33203b5b09
18: 
18:   0x00007f32a03b0020 0x00007f33203b5c8f
18: 
18:   0x00007f32a03b0040 0x00007f332060020e
18: 
18:   0x00007f32a03b0058 0x00007f32a0371d40>
18: 
18:   ***
18: 
18: 
18: 
18/99 Test #18: signal ............................***Failed    1.84 sec
test 19
      Start 19: clone

19: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/clone" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/clone.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/clone.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
19: Test timeout computed to be: 120
19: STDOUT: 
19: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/clone (332441)>
19: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332441 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
19: <Paste into GDB to debug DynamoRIO clients:
19: set confirm off
19: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
19: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fc4d49d1000
19: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fc454607f50
19: add-symbol-file '/usr/lib64/libm.so.6' 0x00007fc454828390
19: add-symbol-file '/usr/lib64/libc.so.6' 0x00007fc4540bb6b0
19: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fc4547ec110
19: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fc4547d25f0
19: >
19: ~~Dr.M~~ Dr. Memory version 2.3.18338
19: <spurious rep/repne prefix @0x00000000004010c0 (f3 0f 1e fa): >
19: <curiosity: rex.w on OPSZ_6_irex10_short4!>
19: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
19:     os says: 0x00007fc45479f000-0x00007fc4547cf000 prot=0x00000001
19:     cache says: 0x00007fc45479f000-0x00007fc4547d2000 prot=0x00000001
19: >
19: <(1+x) Handling our fault in a TRY at 0x00007fc4d4c2d7a7>
19: Sideline thread started
19: i = 250000
19: i = 500000
19: i = 750000
19: i = 1000000
19: i = 1250000
19: i = 1500000
19: i = 1750000
19: i = 2000000
19: i = 2250000
19: i = 2500000
19: Sideline thread finished
19: Waiting for child to exit
19: Child has exited
19: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/clone (332441)>
19: ~~Dr.M~~ NO ERRORS FOUND:
19: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
19: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
19: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
19: ~~Dr.M~~       0 unique,     0 total warning(s)
19: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
19: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
19: ~~Dr.M~~ ERRORS IGNORED:
19: ~~Dr.M~~      15 unique,    19 total,   6684 byte(s) of still-reachable allocation(s)
19: ~~Dr.M~~          (re-run with "-show_reachable" for details)
19: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-clone.332441.000/results.txt
19: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/clone (332441).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
19: Received SIGSEGV at pc 0x0000000000000800 in thread 332441
19: Base: 0x00007fc4d4990000
19: Registers:eax=0x00007fc4d496dc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
19:     esi=0x0000000000000001 edi=0x00007fc4d496dc03 esp=0x00007fc4549dcdf8 ebp=0x00007fc4549dce30
19:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fc4549dc510 r11=0x0000000000000246
19:     r12=0x0000000000000004 r13=0x00000000000000f2 r14=0x0000000000000001 r15=0x0000000000000000
19:     eflags=0x0000000000010206
19: 2.3.18338-1-(Mar 19 2020 18:51:49) 
19: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
19: 0x00007fc4549dce30 0x00000000739c9d51
19: 0x00007fc4549dce50 0x0000000073951db7
19: 0x00007fc4549dcea0 0x00000000738ded48
19: 0x00007fc4549dced0 0x0000000073922fec
19: 0x00007fc4549dcf00 0x00000000738205bb
19: 0x00007fc4549dcf50 0x00007fc4d4b71565
19: 0x00007fc4549dcfb0 0x00007fc4d49e261c
19: 0x00007fc4549dcff0 0x00007fc4d49e2b09
19: 0x00007fc4549dd020 0x00007fc4d49e2c8f
19: 0x00007fc4549dd040 0x00007fc4d4c2d20e
19: 0x00007fc4549dd058 0x00007fc45499ed40>
19: 
19: 
19: CMake Error at runtest.cmake:332 (message):
19:   ***
19:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/clone
19:   has the wrong exit code (255): <Starting application
19:   /home/shlomif/Download/unpack/prog/b-drmem/tests/clone (332441)>
19: 
19:   <Initial options = -no_dynamic_options -logdir
19:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
19:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
19:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
19:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
19:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332441
19:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
19:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
19:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
19:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
19:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
19:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
19:   -early_inject -emulate_brk -no_inline_ignored_syscalls
19:   -native_exec_default_list '' -no_native_exec_managed_code
19:   -no_indcall2direct >
19: 
19:   <Paste into GDB to debug DynamoRIO clients:
19: 
19:   set confirm off
19: 
19:   add-symbol-file
19:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
19:   0x000000007381e000
19: 
19:   add-symbol-file
19:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
19:   0x00007fc4d49d1000
19: 
19:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fc454607f50
19: 
19:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007fc454828390
19: 
19:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007fc4540bb6b0
19: 
19:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fc4547ec110
19: 
19:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fc4547d25f0
19: 
19:   >
19: 
19:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
19: 
19:   <spurious rep/repne prefix @0x00000000004010c0 (f3 0f 1e fa): >
19: 
19:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
19: 
19:   <get_memory_info mismatch! (can happen if os combines entries in
19:   /proc/pid/maps)
19: 
19:     os says: 0x00007fc45479f000-0x00007fc4547cf000 prot=0x00000001
19: 
19:     cache says: 0x00007fc45479f000-0x00007fc4547d2000 prot=0x00000001
19: 
19:   >
19: 
19:   <(1+x) Handling our fault in a TRY at 0x00007fc4d4c2d7a7>
19: 
19:   Sideline thread started
19: 
19:   i = 250000
19: 
19:   i = 500000
19: 
19:   i = 750000
19: 
19:   i = 1000000
19: 
19:   i = 1250000
19: 
19:   i = 1500000
19: 
19:   i = 1750000
19: 
19:   i = 2000000
19: 
19:   i = 2250000
19: 
19:   i = 2500000
19: 
19:   Sideline thread finished
19: 
19:   Waiting for child to exit
19: 
19:   Child has exited
19: 
19:   <Stopping application
19:   /home/shlomif/Download/unpack/prog/b-drmem/tests/clone (332441)>
19: 
19:   ~~Dr.M~~ NO ERRORS FOUND:
19: 
19:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
19: 
19:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
19: 
19:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
19: 
19:   ~~Dr.M~~ 0 unique, 0 total warning(s)
19: 
19:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
19: 
19:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
19: 
19:   ~~Dr.M~~ ERRORS IGNORED:
19: 
19:   ~~Dr.M~~ 15 unique, 19 total, 6684 byte(s) of still-reachable allocation(s)
19: 
19:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
19: 
19:   ~~Dr.M~~ Details:
19:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-clone.332441.000/results.txt
19: 
19: 
19:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/clone
19:   (332441).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
19:   report this at http://drmemory.org/issues.  Program aborted.
19: 
19:   Received SIGSEGV at pc 0x0000000000000800 in thread 332441
19: 
19:   Base: 0x00007fc4d4990000
19: 
19:   Registers:eax=0x00007fc4d496dc03 ebx=0x000000000000000a
19:   ecx=0x000000000000000a edx=0x0000000000000800
19: 
19:     esi=0x0000000000000001 edi=0x00007fc4d496dc03 esp=0x00007fc4549dcdf8
19:   ebp=0x00007fc4549dce30
19: 
19:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fc4549dc510
19:   r11=0x0000000000000246
19: 
19:     r12=0x0000000000000004 r13=0x00000000000000f2 r14=0x0000000000000001
19:   r15=0x0000000000000000
19: 
19:     eflags=0x0000000000010206
19: 
19:   2.3.18338-1-(Mar 19 2020 18:51:49)
19: 
19:   -no_dynamic_options -logdir
19:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
19:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
19:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
19:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
19:   `/home/shlomif/Do
19: 
19:   0x00007fc4549dce30 0x00000000739c9d51
19: 
19:   0x00007fc4549dce50 0x0000000073951db7
19: 
19:   0x00007fc4549dcea0 0x00000000738ded48
19: 
19:   0x00007fc4549dced0 0x0000000073922fec
19: 
19:   0x00007fc4549dcf00 0x00000000738205bb
19: 
19:   0x00007fc4549dcf50 0x00007fc4d4b71565
19: 
19:   0x00007fc4549dcfb0 0x00007fc4d49e261c
19: 
19:   0x00007fc4549dcff0 0x00007fc4d49e2b09
19: 
19:   0x00007fc4549dd020 0x00007fc4d49e2c8f
19: 
19:   0x00007fc4549dd040 0x00007fc4d4c2d20e
19: 
19:   0x00007fc4549dd058 0x00007fc45499ed40>
19: 
19:   ***
19: 
19: 
19: 
19/99 Test #19: clone .............................***Failed    1.45 sec
test 20
      Start 20: execve

20: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/execve@/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/execve.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/execve.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
20: Test timeout computed to be: 120
20: STDOUT: parent is running
20: child is running
20: malloc
20: malloc small
20: malloc 0
20: malloc big
20: calloc
20: realloc
20: invalid free
20: all done
20: child has exited
20: 
20: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/execve (332444)>
20: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332444 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
20: <Paste into GDB to debug DynamoRIO clients:
20: set confirm off
20: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
20: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fe8643b4000
20: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fe7e3feaf50
20: add-symbol-file '/usr/lib64/libm.so.6' 0x00007fe7e420b390
20: add-symbol-file '/usr/lib64/libc.so.6' 0x00007fe7e3a9e6b0
20: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fe7e41cf110
20: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fe7e41b55f0
20: >
20: ~~Dr.M~~ Dr. Memory version 2.3.18338
20: <spurious rep/repne prefix @0x00000000004010b0 (f3 0f 1e fa): >
20: <curiosity: rex.w on OPSZ_6_irex10_short4!>
20: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
20:     os says: 0x00007fe7e4182000-0x00007fe7e41b2000 prot=0x00000001
20:     cache says: 0x00007fe7e4182000-0x00007fe7e41b5000 prot=0x00000001
20: >
20: <(1+x) Handling our fault in a TRY at 0x00007fe8646107a7>
20: <-- parent 332444 forked child 332445 -->
20: <-- execve /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc -->
20: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332445)>
20: <Initial options = -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332444 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
20: <Paste into GDB to debug DynamoRIO clients:
20: set confirm off
20: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
20: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f6386c1f000
20: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f6306855f50
20: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f6306a76390
20: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f63063096b0
20: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f6306a3a110
20: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f6306a205f0
20: >
20: ~~Dr.M~~ Dr. Memory version 2.3.18338
20: <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
20: <curiosity: rex.w on OPSZ_6_irex10_short4!>
20: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
20:     os says: 0x00007f63069ed000-0x00007f6306a1d000 prot=0x00000001
20:     cache says: 0x00007f63069ed000-0x00007f6306a20000 prot=0x00000001
20: >
20: <(1+x) Handling our fault in a TRY at 0x00007f6386e7b7a7>
20: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332445)>
20: ~~Dr.M~~ ERRORS FOUND:
20: ~~Dr.M~~       2 unique,    21 total unaddressable access(es)
20: ~~Dr.M~~       2 unique,     2 total uninitialized access(es)
20: ~~Dr.M~~       1 unique,     1 total invalid heap argument(s)
20: ~~Dr.M~~       0 unique,     0 total warning(s)
20: ~~Dr.M~~       1 unique,     1 total,     59 byte(s) of leak(s)
20: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
20: ~~Dr.M~~ ERRORS IGNORED:
20: ~~Dr.M~~      17 unique,    20 total,  10623 byte(s) of still-reachable allocation(s)
20: ~~Dr.M~~          (re-run with "-show_reachable" for details)
20: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.332445.000/results.txt
20: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332445).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
20: Received SIGSEGV at pc 0x0000000000000800 in thread 332445
20: Base: 0x00007f6386bde000
20: Registers:eax=0x00007f6386bbbc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
20:     esi=0x0000000000000001 edi=0x00007f6386bbbc03 esp=0x00007f6306c2adf8 ebp=0x00007f6306c2ae30
20:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f6306c2a510 r11=0x0000000000000246
20:     r12=0x0000000000000004 r13=0x00000000000000f9 r14=0x0000000000000001 r15=0x0000000000000000
20:     eflags=0x0000000000010206
20: 2.3.18338-1-(Mar 19 2020 18:51:49) 
20: -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b
20: 0x00007f6306c2ae30 0x00000000739c9d51
20: 0x00007f6306c2ae50 0x0000000073951db7
20: 0x00007f6306c2aea0 0x00000000738ded48
20: 0x00007f6306c2aed0 0x0000000073922fec
20: 0x00007f6306c2af00 0x00000000738205bb
20: 0x00007f6306c2af50 0x00007f6386dbf565
20: 0x00007f6306c2afb0 0x00007f6386c3061c
20: 0x00007f6306c2aff0 0x00007f6386c30b09
20: 0x00007f6306c2b020 0x00007f6386c30c8f
20: 0x00007f6306c2b040 0x00007f6386e7b20e
20: 0x00007f6306c2b058 0x00007f6306becd40>
20: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/execve (332444)>
20: ~~Dr.M~~ NO ERRORS FOUND:
20: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
20: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
20: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
20: ~~Dr.M~~       0 unique,     0 total warning(s)
20: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
20: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
20: ~~Dr.M~~ ERRORS IGNORED:
20: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
20: ~~Dr.M~~          (re-run with "-show_reachable" for details)
20: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-execve.332444.000/results.txt
20: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/execve (332444).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
20: Received SIGSEGV at pc 0x0000000000000800 in thread 332444
20: Base: 0x00007fe864373000
20: Registers:eax=0x00007fe864350c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
20:     esi=0x0000000000000001 edi=0x00007fe864350c03 esp=0x00007fe7e43bfdf8 ebp=0x00007fe7e43bfe30
20:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fe7e43bf510 r11=0x0000000000000246
20:     r12=0x0000000000000004 r13=0x00000000000000e8 r14=0x0000000000000001 r15=0x0000000000000000
20:     eflags=0x0000000000010206
20: 2.3.18338-1-(Mar 19 2020 18:51:49) 
20: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
20: 0x00007fe7e43bfe30 0x00000000739c9d51
20: 0x00007fe7e43bfe50 0x0000000073951db7
20: 0x00007fe7e43bfea0 0x00000000738ded48
20: 0x00007fe7e43bfed0 0x0000000073922fec
20: 0x00007fe7e43bff00 0x00000000738205bb
20: 0x00007fe7e43bff50 0x00007fe864554565
20: 0x00007fe7e43bffb0 0x00007fe8643c561c
20: 0x00007fe7e43bfff0 0x00007fe8643c5b09
20: 0x00007fe7e43c0020 0x00007fe8643c5c8f
20: 0x00007fe7e43c0040 0x00007fe86461020e
20: 0x00007fe7e43c0058 0x00007fe7e4381d40>
20: 
20: 
20: CMake Error at runtest.cmake:332 (message):
20:   ***
20:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/execve;/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
20:   has the wrong exit code (255): parent is running
20: 
20:   child is running
20: 
20:   malloc
20: 
20:   malloc small
20: 
20:   malloc 0
20: 
20:   malloc big
20: 
20:   calloc
20: 
20:   realloc
20: 
20:   invalid free
20: 
20:   all done
20: 
20:   child has exited
20: 
20:   <Starting application
20:   /home/shlomif/Download/unpack/prog/b-drmem/tests/execve (332444)>
20: 
20:   <Initial options = -no_dynamic_options -logdir
20:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
20:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332444
20:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
20:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
20:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
20:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
20:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
20:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
20:   -early_inject -emulate_brk -no_inline_ignored_syscalls
20:   -native_exec_default_list '' -no_native_exec_managed_code
20:   -no_indcall2direct >
20: 
20:   <Paste into GDB to debug DynamoRIO clients:
20: 
20:   set confirm off
20: 
20:   add-symbol-file
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
20:   0x000000007381e000
20: 
20:   add-symbol-file
20:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
20:   0x00007fe8643b4000
20: 
20:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fe7e3feaf50
20: 
20:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007fe7e420b390
20: 
20:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007fe7e3a9e6b0
20: 
20:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fe7e41cf110
20: 
20:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fe7e41b55f0
20: 
20:   >
20: 
20:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
20: 
20:   <spurious rep/repne prefix @0x00000000004010b0 (f3 0f 1e fa): >
20: 
20:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
20: 
20:   <get_memory_info mismatch! (can happen if os combines entries in
20:   /proc/pid/maps)
20: 
20:     os says: 0x00007fe7e4182000-0x00007fe7e41b2000 prot=0x00000001
20: 
20:     cache says: 0x00007fe7e4182000-0x00007fe7e41b5000 prot=0x00000001
20: 
20:   >
20: 
20:   <(1+x) Handling our fault in a TRY at 0x00007fe8646107a7>
20: 
20:   <-- parent 332444 forked child 332445 -->
20: 
20:   <-- execve /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc -->
20: 
20:   <Starting application
20:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332445)>
20: 
20:   <Initial options = -logdir
20:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
20:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 332444
20:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
20:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
20:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
20:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
20:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
20:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
20:   -early_inject -emulate_brk -no_inline_ignored_syscalls
20:   -native_exec_default_list '' -no_native_exec_managed_code
20:   -no_indcall2direct >
20: 
20:   <Paste into GDB to debug DynamoRIO clients:
20: 
20:   set confirm off
20: 
20:   add-symbol-file
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
20:   0x000000007381e000
20: 
20:   add-symbol-file
20:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
20:   0x00007f6386c1f000
20: 
20:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f6306855f50
20: 
20:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f6306a76390
20: 
20:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f63063096b0
20: 
20:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f6306a3a110
20: 
20:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f6306a205f0
20: 
20:   >
20: 
20:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
20: 
20:   <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
20: 
20:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
20: 
20:   <get_memory_info mismatch! (can happen if os combines entries in
20:   /proc/pid/maps)
20: 
20:     os says: 0x00007f63069ed000-0x00007f6306a1d000 prot=0x00000001
20: 
20:     cache says: 0x00007f63069ed000-0x00007f6306a20000 prot=0x00000001
20: 
20:   >
20: 
20:   <(1+x) Handling our fault in a TRY at 0x00007f6386e7b7a7>
20: 
20:   <Stopping application
20:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (332445)>
20: 
20:   ~~Dr.M~~ ERRORS FOUND:
20: 
20:   ~~Dr.M~~ 2 unique, 21 total unaddressable access(es)
20: 
20:   ~~Dr.M~~ 2 unique, 2 total uninitialized access(es)
20: 
20:   ~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total warning(s)
20: 
20:   ~~Dr.M~~ 1 unique, 1 total, 59 byte(s) of leak(s)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
20: 
20:   ~~Dr.M~~ ERRORS IGNORED:
20: 
20:   ~~Dr.M~~ 17 unique, 20 total, 10623 byte(s) of still-reachable
20:   allocation(s)
20: 
20:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
20: 
20:   ~~Dr.M~~ Details:
20:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.332445.000/results.txt
20: 
20: 
20:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
20:   (332445).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
20:   report this at http://drmemory.org/issues.  Program aborted.
20: 
20:   Received SIGSEGV at pc 0x0000000000000800 in thread 332445
20: 
20:   Base: 0x00007f6386bde000
20: 
20:   Registers:eax=0x00007f6386bbbc03 ebx=0x000000000000000a
20:   ecx=0x000000000000000a edx=0x0000000000000800
20: 
20:     esi=0x0000000000000001 edi=0x00007f6386bbbc03 esp=0x00007f6306c2adf8
20:   ebp=0x00007f6306c2ae30
20: 
20:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f6306c2a510
20:   r11=0x0000000000000246
20: 
20:     r12=0x0000000000000004 r13=0x00000000000000f9 r14=0x0000000000000001
20:   r15=0x0000000000000000
20: 
20:     eflags=0x0000000000010206
20: 
20:   2.3.18338-1-(Mar 19 2020 18:51:49)
20: 
20:   -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio'
20:   -client_lib
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
20:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
20:   `/home/shlomif/Download/unpack/prog/b
20: 
20:   0x00007f6306c2ae30 0x00000000739c9d51
20: 
20:   0x00007f6306c2ae50 0x0000000073951db7
20: 
20:   0x00007f6306c2aea0 0x00000000738ded48
20: 
20:   0x00007f6306c2aed0 0x0000000073922fec
20: 
20:   0x00007f6306c2af00 0x00000000738205bb
20: 
20:   0x00007f6306c2af50 0x00007f6386dbf565
20: 
20:   0x00007f6306c2afb0 0x00007f6386c3061c
20: 
20:   0x00007f6306c2aff0 0x00007f6386c30b09
20: 
20:   0x00007f6306c2b020 0x00007f6386c30c8f
20: 
20:   0x00007f6306c2b040 0x00007f6386e7b20e
20: 
20:   0x00007f6306c2b058 0x00007f6306becd40>
20: 
20:   <Stopping application
20:   /home/shlomif/Download/unpack/prog/b-drmem/tests/execve (332444)>
20: 
20:   ~~Dr.M~~ NO ERRORS FOUND:
20: 
20:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total warning(s)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
20: 
20:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
20: 
20:   ~~Dr.M~~ ERRORS IGNORED:
20: 
20:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
20:   allocation(s)
20: 
20:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
20: 
20:   ~~Dr.M~~ Details:
20:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-execve.332444.000/results.txt
20: 
20: 
20:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/execve
20:   (332444).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
20:   report this at http://drmemory.org/issues.  Program aborted.
20: 
20:   Received SIGSEGV at pc 0x0000000000000800 in thread 332444
20: 
20:   Base: 0x00007fe864373000
20: 
20:   Registers:eax=0x00007fe864350c03 ebx=0x000000000000000a
20:   ecx=0x000000000000000a edx=0x0000000000000800
20: 
20:     esi=0x0000000000000001 edi=0x00007fe864350c03 esp=0x00007fe7e43bfdf8
20:   ebp=0x00007fe7e43bfe30
20: 
20:     r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007fe7e43bf510
20:   r11=0x0000000000000246
20: 
20:     r12=0x0000000000000004 r13=0x00000000000000e8 r14=0x0000000000000001
20:   r15=0x0000000000000000
20: 
20:     eflags=0x0000000000010206
20: 
20:   2.3.18338-1-(Mar 19 2020 18:51:49)
20: 
20:   -no_dynamic_options -logdir
20:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
20:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
20:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
20:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
20:   `/home/shlomif/Do
20: 
20:   0x00007fe7e43bfe30 0x00000000739c9d51
20: 
20:   0x00007fe7e43bfe50 0x0000000073951db7
20: 
20:   0x00007fe7e43bfea0 0x00000000738ded48
20: 
20:   0x00007fe7e43bfed0 0x0000000073922fec
20: 
20:   0x00007fe7e43bff00 0x00000000738205bb
20: 
20:   0x00007fe7e43bff50 0x00007fe864554565
20: 
20:   0x00007fe7e43bffb0 0x00007fe8643c561c
20: 
20:   0x00007fe7e43bfff0 0x00007fe8643c5b09
20: 
20:   0x00007fe7e43c0020 0x00007fe8643c5c8f
20: 
20:   0x00007fe7e43c0040 0x00007fe86461020e
20: 
20:   0x00007fe7e43c0058 0x00007fe7e4381d40>
20: 
20:   ***
20: 
20: 
20: 
20/99 Test #20: execve ............................***Failed    2.56 sec
test 21
      Start 21: pthread_test

21: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/pthread_test" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/pthreads.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/pthreads.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
21: Test timeout computed to be: 120

The fact that so many tests failed suggests a possible compiler/linker/library issue, or some other OS feature which we've not come across before.

* Is your system a stock Fedora 31 installation or have there been changes which may affect DynamoRIO/drmemory?

Well, I installed some packages, and removed some, and also applied this dotfiles config of mine: https://github.com/shlomif/shlomif-computer-settings . I can try in a new unix user as well.

* What version of GCC was used to build?
[shlomif@localhost b-drmem]$ gcc --version
gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* Are there any suspicious warnings in `cmake` or `make` output?

Not that I recall. I had to disable a "deprecated-declarations" warning in qt/drgui, but nothing more.

shlomif commented 4 years ago

Hi!

I was able to reproduce similar failures on the same f31 x64 system with a new user:

[todel-drmemtest@localhost b]$ make -j1 test
Running tests...
Test project /home/todel-drmemtest/b
      Start  1: drmf_proj
 1/99 Test  #1: drmf_proj .........................   Passed    0.21 sec
      Start  2: unit_tests
 2/99 Test  #2: unit_tests ........................   Passed    0.00 sec
      Start  3: hello
 3/99 Test  #3: hello .............................***Failed    1.19 sec
      Start  4: malloc
 4/99 Test  #4: malloc ............................***Failed    1.27 sec
      Start  5: leak_indirect
 5/99 Test  #5: leak_indirect .....................***Failed    1.21 sec
      Start  6: free
 6/99 Test  #6: free ..............................***Failed    1.22 sec
      Start  7: badjmp
 7/99 Test  #7: badjmp ............................***Failed    1.23 sec
      Start  8: registers
 8/99 Test  #8: registers .........................***Failed    1.31 sec
      Start  9: asmtest
 9/99 Test  #9: asmtest ...........................***Failed    1.25 sec
      Start 10: multierror
^Cmake: *** [Makefile:130: test] Interrupt

[todel-drmemtest@localhost b]$
AssadHashmi commented 4 years ago

Nothing obvious springs to mind from the failing output but the following look suspicious:

<spurious rep/repne prefix @0x0000000000401080 (f3 0f 1e fa): > 
<curiosity: rex.w on OPSZ_6_irex10_short4!>

Which could suggest a GCC 9.2 related code generation issue we've not come across before, at a guess.

While I try to replicate the failure on a local X86-64 box, would it be possible for you to use an older version of GCC to check if that makes a difference? Say 7.x or 8.x?

shlomif commented 4 years ago

On Fri, 20 Mar 2020 04:17:51 -0700 Assad Hashmi notifications@github.com wrote:

Nothing obvious springs to mind from the failing output but the following look suspicious: ``` <spurious rep/repne prefix @0x0000000000401080 (f3 0f 1e fa): > <curiosity: rex.w on OPSZ_6_irex10_short4!>


Which could suggest a GCC 9.2 related code generation issue we've not come
across before, at a guess.

While I try to replicate the failure on a local X86-64 box, would it be
possible for you to use an older version of GCC to check if that makes a
difference? Say 7.x or 8.x?

Thanks for your input. I'm going to try that.

--

Shlomi Fish https://www.shlomifish.org/ What does “Zionism” mean? - https://shlom.in/def-zionism

Java is a DSL (= Domain Specific Language) to transform big XML documents into long exception stack traces. — Scott Bellware

Please reply to list if it's a mailing list post - http://shlom.in/reply .

AssadHashmi commented 4 years ago

I'm getting the same failures on Ubuntu 16.04 using GCC 7.4, so it's not your setup. Labelling this appropriately. I'm not a drmemory maintainer, just triaging this week. If I don't get anywhere, I'll defer to @derekbruening

shlomif commented 4 years ago

I'm getting the same failures on Ubuntu 16.04 using GCC 7.4, so it's not your setup. Labelling this appropriately. I'm not a drmemory maintainer, just triaging this week. If I don't get anywhere, I'll defer to @derekbruening

Thanks for the update, @AssadHashmi ! I built gcc / g++ version 7.5.0 and am getting similar ctest failures in drmemory:

UpdateCTestConfiguration  from :/home/shlomif/Download/unpack/prog/b-drmem/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/shlomif/Download/unpack/prog/b-drmem/DartConfiguration.tcl
Test project /home/shlomif/Download/unpack/prog/b-drmem
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
      Start  1: drmf_proj

1: Test command: /usr/bin/ctest "--build-and-test" "/home/shlomif/Download/unpack/prog/b-drmem/framework/samples" "/home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj" "--build-generator" "Unix Makefiles" "--build-project" "DRMF_samples" "--build-makeprogram" "/usr/bin/gmake" "--build-options" "-DCMAKE_BUILD_TYPE=Debug" "-DDrMemoryFramework_DIR:PATH=/home/shlomif/Download/unpack/prog/b-drmem/drmf" "-DDynamoRIO_DIR:PATH=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake"
1: Test timeout computed to be: 10000000
1: Internal cmake changing into directory: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: ======== CMake output     ======
1: Configuring done
1: Generating done
1: Build files have been written to: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: ======== End CMake output ======
1: Change Dir: /home/shlomif/Download/unpack/prog/b-drmem/tests/drmf_proj
1: 
1: Run Clean Command:/usr/bin/gmake clean
1: 
1: Run Build Command(s):/usr/bin/gmake && [ 50%] Building C object CMakeFiles/strace.dir/strace.c.o
1: [100%] Linking C shared library bin/libstrace.so
1: [100%] Built target strace
1: 
 1/99 Test  #1: drmf_proj .........................   Passed    0.17 sec
test 2
      Start  2: unit_tests

2: Test command: /home/shlomif/Download/unpack/prog/b-drmem/bin64/unit_tests
2: Test timeout computed to be: 10000000
2: success
 2/99 Test  #2: unit_tests ........................   Passed    0.00 sec
test 3
      Start  3: hello

3: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/hello" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
3: Test timeout computed to be: 120
3: STDOUT: Hello world!
3: 
3: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (253189)>
3: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 253189 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
3: <Paste into GDB to debug DynamoRIO clients:
3: set confirm off
3: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
3: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f4f2f6b7000
3: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f4eaf2edf50
3: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f4eaf50e390
3: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4eaeda16b0
3: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f4eaf4d2110
3: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f4eaf4b85f0
3: >
3: ~~Dr.M~~ Dr. Memory version 2.3.18338
3: <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
3: <curiosity: rex.w on OPSZ_6_irex10_short4!>
3: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
3:  os says: 0x00007f4eaf485000-0x00007f4eaf4b5000 prot=0x00000001
3:  cache says: 0x00007f4eaf485000-0x00007f4eaf4b8000 prot=0x00000001
3: >
3: <(1+x) Handling our fault in a TRY at 0x00007f4f2f914a37>
3: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (253189)>
3: ~~Dr.M~~ NO ERRORS FOUND:
3: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
3: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
3: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
3: ~~Dr.M~~       0 unique,     0 total warning(s)
3: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
3: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
3: ~~Dr.M~~ ERRORS IGNORED:
3: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
3: ~~Dr.M~~          (re-run with "-show_reachable" for details)
3: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.253189.000/results.txt
3: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (253189).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
3: Received SIGSEGV at pc 0x0000000000000800 in thread 253189
3: Base: 0x00007f4f2f676000
3: Registers:eax=0x0000000000000800 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x00007f4f2f653c03
3:  esi=0x0000000000000001 edi=0x00007f4f2f653c03 esp=0x00007f4eaf6c2df8 ebp=0x00007f4eaf6c2e30
3:  r8 =0x0000000000000035 r9 =0x0000000073a67dca r10=0x00007f4eaf6c2510 r11=0x0000000000000246
3:  r12=0x0000000000000004 r13=0x00000000000000de r14=0x0000000000000000 r15=0x0000000000000000
3:  eflags=0x0000000000010206
3: 2.3.18338-1-(Mar 20 2020 15:19:37) 
3: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
3: 0x00007f4eaf6c2e30 0x00000000739cb246
3: 0x00007f4eaf6c2e50 0x0000000073952eda
3: 0x00007f4eaf6c2ea0 0x00000000738df66a
3: 0x00007f4eaf6c2ed0 0x0000000073923cff
3: 0x00007f4eaf6c2f00 0x000000007382060a
3: 0x00007f4eaf6c2f50 0x00007f4f2f8586c6
3: 0x00007f4eaf6c2fb0 0x00007f4f2f6c9440
3: 0x00007f4eaf6c2ff0 0x00007f4f2f6c992d
3: 0x00007f4eaf6c3020 0x00007f4f2f6c9ab3
3: 0x00007f4eaf6c3040 0x00007f4f2f91449e
3: 0x00007f4eaf6c3058 0x00007f4eaf684c40>
3: 
3: 
3: CMake Error at runtest.cmake:332 (message):
3:   ***
3:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/hello
3:   has the wrong exit code (255): Hello world!
3: 
3:   <Starting application
3:   /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (253189)>
3: 
3:   <Initial options = -no_dynamic_options -logdir
3:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
3:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 253189
3:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
3:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
3:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
3:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
3:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
3:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
3:   -early_inject -emulate_brk -no_inline_ignored_syscalls
3:   -native_exec_default_list '' -no_native_exec_managed_code
3:   -no_indcall2direct >
3: 
3:   <Paste into GDB to debug DynamoRIO clients:
3: 
3:   set confirm off
3: 
3:   add-symbol-file
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
3:   0x000000007381e000
3: 
3:   add-symbol-file
3:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
3:   0x00007f4f2f6b7000
3: 
3:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f4eaf2edf50
3: 
3:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f4eaf50e390
3: 
3:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f4eaeda16b0
3: 
3:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f4eaf4d2110
3: 
3:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f4eaf4b85f0
3: 
3:   >
3: 
3:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
3: 
3:   <spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
3: 
3:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
3: 
3:   <get_memory_info mismatch! (can happen if os combines entries in
3:   /proc/pid/maps)
3: 
3:      os says: 0x00007f4eaf485000-0x00007f4eaf4b5000 prot=0x00000001
3: 
3:      cache says: 0x00007f4eaf485000-0x00007f4eaf4b8000 prot=0x00000001
3: 
3:   >
3: 
3:   <(1+x) Handling our fault in a TRY at 0x00007f4f2f914a37>
3: 
3:   <Stopping application
3:   /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (253189)>
3: 
3:   ~~Dr.M~~ NO ERRORS FOUND:
3: 
3:   ~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total warning(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)
3: 
3:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
3: 
3:   ~~Dr.M~~ ERRORS IGNORED:
3: 
3:   ~~Dr.M~~ 16 unique, 20 total, 10780 byte(s) of still-reachable
3:   allocation(s)
3: 
3:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
3: 
3:   ~~Dr.M~~ Details:
3:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.253189.000/results.txt
3: 
3: 
3:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello
3:   (253189).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
3:   report this at http://drmemory.org/issues.  Program aborted.
3: 
3:   Received SIGSEGV at pc 0x0000000000000800 in thread 253189
3: 
3:   Base: 0x00007f4f2f676000
3: 
3:   Registers:eax=0x0000000000000800 ebx=0x000000000000000a
3:   ecx=0x000000000000000a edx=0x00007f4f2f653c03
3: 
3:      esi=0x0000000000000001 edi=0x00007f4f2f653c03 esp=0x00007f4eaf6c2df8
3:   ebp=0x00007f4eaf6c2e30
3: 
3:      r8 =0x0000000000000035 r9 =0x0000000073a67dca r10=0x00007f4eaf6c2510
3:   r11=0x0000000000000246
3: 
3:      r12=0x0000000000000004 r13=0x00000000000000de r14=0x0000000000000000
3:   r15=0x0000000000000000
3: 
3:      eflags=0x0000000000010206
3: 
3:   2.3.18338-1-(Mar 20 2020 15:19:37)
3: 
3:   -no_dynamic_options -logdir
3:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
3:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
3:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
3:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
3:   `/home/shlomif/Do
3: 
3:   0x00007f4eaf6c2e30 0x00000000739cb246
3: 
3:   0x00007f4eaf6c2e50 0x0000000073952eda
3: 
3:   0x00007f4eaf6c2ea0 0x00000000738df66a
3: 
3:   0x00007f4eaf6c2ed0 0x0000000073923cff
3: 
3:   0x00007f4eaf6c2f00 0x000000007382060a
3: 
3:   0x00007f4eaf6c2f50 0x00007f4f2f8586c6
3: 
3:   0x00007f4eaf6c2fb0 0x00007f4f2f6c9440
3: 
3:   0x00007f4eaf6c2ff0 0x00007f4f2f6c992d
3: 
3:   0x00007f4eaf6c3020 0x00007f4f2f6c9ab3
3: 
3:   0x00007f4eaf6c3040 0x00007f4f2f91449e
3: 
3:   0x00007f4eaf6c3058 0x00007f4eaf684c40>
3: 
3:   ***
3: 
3: 
3: 
 3/99 Test  #3: hello .............................***Failed    1.22 sec
test 4
      Start  4: malloc

4: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/malloc.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/malloc.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
4: Test timeout computed to be: 120
4: STDOUT: malloc
4: malloc small
4: malloc 0
4: malloc big
4: calloc
4: realloc
4: invalid free
4: all done
4: 
4: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (253191)>
4: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 253191 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
4: <Paste into GDB to debug DynamoRIO clients:
4: set confirm off
4: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
4: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f6a1aa34000
4: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f699a666f50
4: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f699a887390
4: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f699a11a6b0
4: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f699a84b110
4: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f699a8315f0
4: >
4: ~~Dr.M~~ Dr. Memory version 2.3.18338
4: <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
4: <curiosity: rex.w on OPSZ_6_irex10_short4!>
4: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
4:  os says: 0x00007f699a7fe000-0x00007f699a82e000 prot=0x00000001
4:  cache says: 0x00007f699a7fe000-0x00007f699a831000 prot=0x00000001
4: >
4: <(1+x) Handling our fault in a TRY at 0x00007f6a1ac91a37>
4: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (253191)>
4: ~~Dr.M~~ ERRORS FOUND:
4: ~~Dr.M~~       2 unique,    21 total unaddressable access(es)
4: ~~Dr.M~~       2 unique,     2 total uninitialized access(es)
4: ~~Dr.M~~       1 unique,     1 total invalid heap argument(s)
4: ~~Dr.M~~       0 unique,     0 total warning(s)
4: ~~Dr.M~~       1 unique,     1 total,     59 byte(s) of leak(s)
4: ~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
4: ~~Dr.M~~ ERRORS IGNORED:
4: ~~Dr.M~~      19 unique,    23 total,  10831 byte(s) of still-reachable allocation(s)
4: ~~Dr.M~~          (re-run with "-show_reachable" for details)
4: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.253191.000/results.txt
4: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (253191).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
4: Received SIGSEGV at pc 0x0000000000000800 in thread 253191
4: Base: 0x00007f6a1a9f3000
4: Registers:eax=0x0000000000000800 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x00007f6a1a9ccc03
4:  esi=0x0000000000000001 edi=0x00007f6a1a9ccc03 esp=0x00007f699aa3bdf8 ebp=0x00007f699aa3be30
4:  r8 =0x0000000000000035 r9 =0x0000000073a67dca r10=0x00007f699aa3b510 r11=0x0000000000000246
4:  r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000000 r15=0x0000000000000000
4:  eflags=0x0000000000010206
4: 2.3.18338-1-(Mar 20 2020 15:19:37) 
4: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
4: 0x00007f699aa3be30 0x00000000739cb246
4: 0x00007f699aa3be50 0x0000000073952eda
4: 0x00007f699aa3bea0 0x00000000738df66a
4: 0x00007f699aa3bed0 0x0000000073923cff
4: 0x00007f699aa3bf00 0x000000007382060a
4: 0x00007f699aa3bf50 0x00007f6a1abd56c6
4: 0x00007f699aa3bfb0 0x00007f6a1aa46440
4: 0x00007f699aa3bff0 0x00007f6a1aa4692d
4: 0x00007f699aa3c020 0x00007f6a1aa46ab3
4: 0x00007f699aa3c040 0x00007f6a1ac9149e
4: 0x00007f699aa3c058 0x00007f699a9fdc40>
4: 
4: 
4: CMake Error at runtest.cmake:332 (message):
4:   ***
4:   /home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory;-debug;-dr_debug;-dr;/home/shlomif/Download/unpack/prog/b-drmem/dynamorio;-batch;-dr_ops;-dumpcore_mask;-dr_ops;0;-callstack_style;0x27;-no_results_to_stderr;--;/home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
4:   has the wrong exit code (255): malloc
4: 
4:   malloc small
4: 
4:   malloc 0
4: 
4:   malloc big
4: 
4:   calloc
4: 
4:   realloc
4: 
4:   invalid free
4: 
4:   all done
4: 
4:   <Starting application
4:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (253191)>
4: 
4:   <Initial options = -no_dynamic_options -logdir
4:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
4:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 253191
4:   ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces
4:   -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces
4:   -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine
4:   -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit
4:   -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full
4:   -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K
4:   -early_inject -emulate_brk -no_inline_ignored_syscalls
4:   -native_exec_default_list '' -no_native_exec_managed_code
4:   -no_indcall2direct >
4: 
4:   <Paste into GDB to debug DynamoRIO clients:
4: 
4:   set confirm off
4: 
4:   add-symbol-file
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so'
4:   0x000000007381e000
4: 
4:   add-symbol-file
4:   '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so'
4:   0x00007f6a1aa34000
4: 
4:   add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f699a666f50
4: 
4:   add-symbol-file '/usr/lib64/libm.so.6' 0x00007f699a887390
4: 
4:   add-symbol-file '/usr/lib64/libc.so.6' 0x00007f699a11a6b0
4: 
4:   add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f699a84b110
4: 
4:   add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f699a8315f0
4: 
4:   >
4: 
4:   ~~Dr.M~~ Dr.  Memory version 2.3.18338
4: 
4:   <spurious rep/repne prefix @0x00000000004010e0 (f3 0f 1e fa): >
4: 
4:   <curiosity: rex.w on OPSZ_6_irex10_short4!>
4: 
4:   <get_memory_info mismatch! (can happen if os combines entries in
4:   /proc/pid/maps)
4: 
4:      os says: 0x00007f699a7fe000-0x00007f699a82e000 prot=0x00000001
4: 
4:      cache says: 0x00007f699a7fe000-0x00007f699a831000 prot=0x00000001
4: 
4:   >
4: 
4:   <(1+x) Handling our fault in a TRY at 0x00007f6a1ac91a37>
4: 
4:   <Stopping application
4:   /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc (253191)>
4: 
4:   ~~Dr.M~~ ERRORS FOUND:
4: 
4:   ~~Dr.M~~ 2 unique, 21 total unaddressable access(es)
4: 
4:   ~~Dr.M~~ 2 unique, 2 total uninitialized access(es)
4: 
4:   ~~Dr.M~~ 1 unique, 1 total invalid heap argument(s)
4: 
4:   ~~Dr.M~~ 0 unique, 0 total warning(s)
4: 
4:   ~~Dr.M~~ 1 unique, 1 total, 59 byte(s) of leak(s)
4: 
4:   ~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
4: 
4:   ~~Dr.M~~ ERRORS IGNORED:
4: 
4:   ~~Dr.M~~ 19 unique, 23 total, 10831 byte(s) of still-reachable
4:   allocation(s)
4: 
4:   ~~Dr.M~~ (re-run with "-show_reachable" for details)
4: 
4:   ~~Dr.M~~ Details:
4:   /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-malloc.253191.000/results.txt
4: 
4: 
4:   <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/malloc
4:   (253191).  Dr.  Memory internal crash at PC 0x0000000000000800.  Please
4:   report this at http://drmemory.org/issues.  Program aborted.
4: 
4:   Received SIGSEGV at pc 0x0000000000000800 in thread 253191
4: 
4:   Base: 0x00007f6a1a9f3000
4: 
4:   Registers:eax=0x0000000000000800 ebx=0x000000000000000a
4:   ecx=0x000000000000000a edx=0x00007f6a1a9ccc03
4: 
4:      esi=0x0000000000000001 edi=0x00007f6a1a9ccc03 esp=0x00007f699aa3bdf8
4:   ebp=0x00007f699aa3be30
4: 
4:      r8 =0x0000000000000035 r9 =0x0000000073a67dca r10=0x00007f699aa3b510
4:   r11=0x0000000000000246
4: 
4:      r12=0x0000000000000004 r13=0x000000000000010d r14=0x0000000000000000
4:   r15=0x0000000000000000
4: 
4:      eflags=0x0000000000010206
4: 
4:   2.3.18338-1-(Mar 20 2020 15:19:37)
4: 
4:   -no_dynamic_options -logdir
4:   '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib
4:   '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch`
4:   `-callstack_style` `0x27` -no_results_to_stderr -logdir
4:   `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir
4:   `/home/shlomif/Do
4: 
4:   0x00007f699aa3be30 0x00000000739cb246
4: 
4:   0x00007f699aa3be50 0x0000000073952eda
4: 
4:   0x00007f699aa3bea0 0x00000000738df66a
4: 
4:   0x00007f699aa3bed0 0x0000000073923cff
4: 
4:   0x00007f699aa3bf00 0x000000007382060a
4: 
4:   0x00007f699aa3bf50 0x00007f6a1abd56c6
4: 
4:   0x00007f699aa3bfb0 0x00007f6a1aa46440
4: 
4:   0x00007f699aa3bff0 0x00007f6a1aa4692d
4: 
4:   0x00007f699aa3c020 0x00007f6a1aa46ab3
4: 
4:   0x00007f699aa3c040 0x00007f6a1ac9149e
4: 
4:   0x00007f699aa3c058 0x00007f699a9fdc40>
4: 
4:   ***
4: 
4: 
4: 
 4/99 Test  #4: malloc ............................***Failed    1.29 sec
test 5
      Start  5: leak_indirect

5: Test command: /usr/bin/cmake "-D" "cmd:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0@-callstack_style@0x27@-no_results_to_stderr@--@/home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_indirect.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/leak_indirect.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=/home/shlomif/Download/unpack/prog/b-drmem/bin64/drmemory@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=ON" "-D" "X64:BOOL=ON" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin64" "-D" "DRMEMORY_CTEST_SRC_DIR:STRING=/home/shlomif/Download/unpack/prog/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/cmake" "-D" "CMAKE_SYSTEM_VERSION:STRING=5.5.9-200.fc31.x86_64" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "/home/shlomif/Download/unpack/prog/b-drmem/tests/runtest.cmake"
5: Test timeout computed to be: 120
5: STDOUT: all done
5: 
5: STDERR: <Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (253193)>
5: <Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 253193 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
5: <Paste into GDB to debug DynamoRIO clients:
5: set confirm off
5: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
5: add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f495272b000
5: add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f48d2361f50
5: add-symbol-file '/usr/lib64/libm.so.6' 0x00007f48d2582390
5: add-symbol-file '/usr/lib64/libc.so.6' 0x00007f48d1e156b0
5: add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f48d2546110
5: add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f48d252c5f0
5: >
5: ~~Dr.M~~ Dr. Memory version 2.3.18338
5: <spurious rep/repne prefix @0x0000000000401050 (f3 0f 1e fa): >
5: <curiosity: rex.w on OPSZ_6_irex10_short4!>
5: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
5:  os says: 0x00007f48d24f9000-0x00007f48d2529000 prot=0x00000001
5:  cache says: 0x00007f48d24f9000-0x00007f48d252c000 prot=0x00000001
5: >
5: <(1+x) Handling our fault in a TRY at 0x00007f4952988a37>
5: <Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (253193)>
5: ~~Dr.M~~ ERRORS FOUND:
5: ~~Dr.M~~       0 unique,     0 total unaddressable access(es)
5: ~~Dr.M~~       0 unique,     0 total uninitialized access(es)
5: ~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
5: ~~Dr.M~~       0 unique,     0 total warning(s)
5: ~~Dr.M~~       2 unique,     2 total,    192 byte(s) of leak(s)
5: ~~Dr.M~~       1 unique,     1 total,     32 byte(s) of possible leak(s)
5: ~~Dr.M~~ ERRORS IGNORED:
5: ~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
5: ~~Dr.M~~          (re-run with "-show_reachable" for details)
5: ~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-leak_indirect.253193.000/results.txt
5: <Application /home/shlomif/Download/unpack/prog/b-drmem/tests/leak_indirect (253193).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
5: Received SIGSEGV at pc 0x0000000000000800 in thread 253193
5: Base: 0x00007f49526ea000
5: Registers:eax=0x0000000000000800 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x00007f49526c7c03
5:  esi=0x0000000000000001 edi=0x00007f49526c7c03 esp=0x00007f48d2736df8 ebp=0x00007f48d2736e30
5:  r8 =0x0000000000000035 r9 =0x0000000073a67dca r10=0x00007f48d2736510 r11=0x0000000000000246
5:  r12=0x0000000000000004 r13=0x00000000000000e5 r14=0x0000000000000000 r15=0x0000000000000000
5:  eflags=0x0000000000010206
5: 2.3.18338-1-(Mar 20 2020 15:19:37) 
5: -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-batch` `-callstack_style` `0x27` -no_results_to_stderr -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Do
5: 0x00007f48d2736e30 0x00000000739cb246
5: 0x00007f48d2736e50 0x0000000073952eda
5: 0x00007f48d2736ea0 0x00000000738df66a
5: 0x00007f48d2736ed0 0x0000000073923cff
5: 0x00007f48d2736f00 0x000000007382060a
5: 0x00007f48d2736f50 0x00007f49528cc6c6
5: 0x00007f48d2736fb0 0x00007f495273d440
5: 0x00007f48d2736ff0 0x00007f495273d92d
5: 0x00007f48d2737020 0x00007f495273dab3
5: 0x00007f48d2737040 0x00007f495298849e
5: 0x00007f48d2737058 0x00007f48d26f8c40>
5: 
5: 
5: CMake Error at runtest.cmake:332 (message):
derekbruening commented 4 years ago

This is what needs to be figured out: Dr. Memory internal crash at PC 0x0000000000000800

However, I have Fedora 31 and gcc 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) and I cannot reproduce those crashes. All tests pass except drmf_proj:

99% tests passed, 1 tests failed out of 99

The following tests FAILED:
          1 - drmf_proj (Failed)

The drmf_proj is sthg recent and looks like a DR regression. I filed it as https://github.com/DynamoRIO/dynamorio/issues/4201

I'm getting the same failures on Ubuntu 16.04 using GCC 7.4, so it's not your setup.

Travis is running Xenial which is 16.04 and does not have these failures. This page says it's gcc 5.4: https://docs.travis-ci.com/user/reference/xenial/

@shlomif (and @AssadHashmi if you can reproduce it) : please debug the crash at 0x800. I cannot reproduce it.

derekbruening commented 4 years ago

@shlomif -- you replied "irrelevant" to all the diagnostic questions! That is not the case. Forget running "ctest" and the list of tests for now: the key problem is this Dr. Memory internal crash at PC 0x0000000000000800 hit on even just hello. Please run just tests/hello with the different parameters listed to drill down exactly which mode is responsible for the crash. Then get a callstack and more information to try to figure out exactly what is going on.

There must be something different in your setup. My kernel is 5.3.16-300.fc31.x86_64+debug #1 SMP Fri Dec 13 17:33:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

derekbruening commented 4 years ago

<spurious rep/repne prefix @0x0000000000401080 (f3 0f 1e fa): >

This is endbr64 DynamoRIO/dynamorio#4040 and can be ignored until that issue is implemented (decodes as nops).

<curiosity: rex.w on OPSZ_6_irex10_short4!>

Should also be ignored. DynamoRIO/dynamorio#4202.

AssadHashmi commented 4 years ago

@derekbruening this regression appears to be caused by https://github.com/DynamoRIO/dynamorio/pull/4195 (Build a hashtable for faster ELF symbol lookups)

shlomif commented 4 years ago

With this script:

(
set -x
tests/hello
./bin64/drmemory tests/hello
./bin64/drmemory -- tests/hello
./bin64/drmemory -light -- tests/hello
./bin64/drmemory -leaks_only -no_count_leaks -no_track_allocs -- tests/hello
./bin64/drmemory -leaks_only -no_count_leaks -no_track_alloc -- tests/hello
./bin64/drmemory -leaks_only -no_count_leaks -no_track_allocs -- tests/hello
./dynamorio/bin64/drrun -- tests/hello
./bin64/drmemory -debug -dr_debug -pause_at_assert -- tests/hello
) 2>&1 | tee -a ~/drmemout.txt

I am getting the following output:

+ tests/hello
Hello world!
+ ./bin64/drmemory tests/hello

ERROR: no app specified

Usage: drmemory [options] -- <app and args to run>
Run with -help for full option list.
See http://drmemory.org/docs/ for more information.
+ ./bin64/drmemory -- tests/hello
WARNING: using debug DynamoRIO since release not found
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276192)>
<Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;-logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276192 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f245c53f000
add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f23dc175f50
add-symbol-file '/usr/lib64/libm.so.6' 0x00007f23dc396390
add-symbol-file '/usr/lib64/libc.so.6' 0x00007f23dbc296b0
add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f23dc35a110
add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f23dc3405f0
>
~~Dr.M~~ Dr. Memory version 2.3.18338
<spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
    os says: 0x00007f23dc30d000-0x00007f23dc33d000 prot=0x00000001
    cache says: 0x00007f23dc30d000-0x00007f23dc340000 prot=0x00000001
>
<(1+x) Handling our fault in a TRY at 0x00007f245c79b7a7>
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276192)>
~~Dr.M~~ 
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~       0 unique,     0 total unaddressable access(es)
~~Dr.M~~       0 unique,     0 total uninitialized access(es)
~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
~~Dr.M~~       0 unique,     0 total warning(s)
~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
~~Dr.M~~          (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.276192.000/results.txt
<Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276192).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
Received SIGSEGV at pc 0x0000000000000800 in thread 276192
Base: 0x00007f245c4fe000
Registers:eax=0x00007f245c4dbc03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
    esi=0x0000000000000001 edi=0x00007f245c4dbc03 esp=0x00007f23dc54adf8 ebp=0x00007f23dc54ae30
    r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f23dc54a510 r11=0x0000000000000246
    r12=0x0000000000000004 r13=0x00000000000000db r14=0x0000000000000001 r15=0x0000000000000000
    eflags=0x0000000000010206
2.3.18338-1-(Mar 20 2020 17:42:35) 
-no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;-logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276192
0x00007f23dc54ae30 0x00000000739c9d51
0x00007f23dc54ae50 0x0000000073951db7
0x00007f23dc54aea0 0x00000000738ded48
0x00007f23dc54aed0 0x0000000073922fec
0x00007f23dc54af00 0x00000000738205bb
0x00007f23dc54af50 0x00007f245c6df565
0x00007f23dc54afb0 0x00007f245c55061c
0x00007f23dc54aff0 0x00007f245c550b09
0x00007f23dc54b020 0x00007f245c550c8f
0x00007f23dc54b040 0x00007f245c79b20e
0x00007f23dc54b058 0x00007f23dc50cd40>
+ ./bin64/drmemory -light -- tests/hello
WARNING: using debug DynamoRIO since release not found
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276196)>
<Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-light` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276196 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f7875a96000
add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f77f56ccf50
add-symbol-file '/usr/lib64/libm.so.6' 0x00007f77f58ed390
add-symbol-file '/usr/lib64/libc.so.6' 0x00007f77f51806b0
add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f77f58b1110
add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f77f58975f0
>
~~Dr.M~~ Dr. Memory version 2.3.18338
<spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
    os says: 0x00007f77f5864000-0x00007f77f5894000 prot=0x00000001
    cache says: 0x00007f77f5864000-0x00007f77f5897000 prot=0x00000001
>
<(1+x) Handling our fault in a TRY at 0x00007f7875cf27a7>
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276196)>
~~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 warning(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.276196.000/results.txt
<Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276196).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
Received SIGSEGV at pc 0x0000000000000800 in thread 276196
Base: 0x00007f7875a55000
Registers:eax=0x00007f7875a32c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
    esi=0x0000000000000001 edi=0x00007f7875a32c03 esp=0x00007f77f5aa1df8 ebp=0x00007f77f5aa1e30
    r8 =0x0000000000000035 r9 =0x0000000073a64e6b r10=0x00007f77f5aa1510 r11=0x0000000000000246
    r12=0x0000000000000004 r13=0x00000000000000db r14=0x0000000000000001 r15=0x0000000000000000
    eflags=0x0000000000010206
2.3.18338-1-(Mar 20 2020 17:42:35) 
-no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-light` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfi
0x00007f77f5aa1e30 0x00000000739c9d51
0x00007f77f5aa1e50 0x0000000073951db7
0x00007f77f5aa1ea0 0x00000000738ded48
0x00007f77f5aa1ed0 0x0000000073922fec
0x00007f77f5aa1f00 0x00000000738205bb
0x00007f77f5aa1f50 0x00007f7875c36565
0x00007f77f5aa1fb0 0x00007f7875aa761c
0x00007f77f5aa1ff0 0x00007f7875aa7b09
0x00007f77f5aa2020 0x00007f7875aa7c8f
0x00007f77f5aa2040 0x00007f7875cf220e
0x00007f77f5aa2058 0x00007f77f5a63d40>
+ ./bin64/drmemory -leaks_only -no_count_leaks -no_track_allocs -- tests/hello
WARNING: using debug DynamoRIO since release not found
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276199)>
<Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-leaks_only` `-no_count_leaks` `-no_track_allocs` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276199 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007fe8e970d000
add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007fe869343f50
add-symbol-file '/usr/lib64/libm.so.6' 0x00007fe869564390
add-symbol-file '/usr/lib64/libc.so.6' 0x00007fe868df76b0
add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007fe869528110
add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007fe86950e5f0
>
~~Dr.M~~ Dr. Memory version 2.3.18338
<spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
    os says: 0x00007fe8694db000-0x00007fe86950b000 prot=0x00000001
    cache says: 0x00007fe8694db000-0x00007fe86950e000 prot=0x00000001
>
<(1+x) Handling our fault in a TRY at 0x00007fe8e99697a7>
~~Dr.M~~ WARNING: The application is changing the brk! It may contain a hidden custom allocator.  Ensure that you have debug symbols available.
~~Dr.M~~ WARNING: The use of the brk is being rejected.  There is chance that this will crash the application.
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276199)>
~~Dr.M~~ 
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~       0 unique,     0 total warning(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.276199.000/results.txt
<Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276199).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
Received SIGSEGV at pc 0x0000000000000800 in thread 276199
Base: 0x00007fe8e96cc000
Registers:eax=0x00007fe869165002 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
    esi=0x0000000000000001 edi=0x00007fe869165002 esp=0x00007fe869718df8 ebp=0x00007fe869718e30
    r8 =0x0000000000000035 r9 =0x0000000073a64e6b r10=0x00007fe869718510 r11=0x0000000000000246
    r12=0x0000000000000004 r13=0x00000000000000f7 r14=0x0000000000000001 r15=0x0000000000000000
    eflags=0x0000000000010206
2.3.18338-1-(Mar 20 2020 17:42:35) 
-no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-leaks_only` `-no_count_leaks` `-no_track_allocs` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download
0x00007fe869718e30 0x00000000739c9d51
0x00007fe869718e50 0x0000000073951db7
0x00007fe869718ea0 0x00000000738ded48
0x00007fe869718ed0 0x0000000073922fec
0x00007fe869718f00 0x00000000738205bb
0x00007fe869718f50 0x00007fe8e98ad565
0x00007fe869718fb0 0x00007fe8e971e61c
0x00007fe869718ff0 0x00007fe8e971eb09
0x00007fe869719020 0x00007fe8e971ec8f
0x00007fe869719040 0x00007fe8e996920e
0x00007fe869719058 0x00007fe8696dad40>
+ ./bin64/drmemory -leaks_only -no_count_leaks -no_track_alloc -- tests/hello
WARNING: using debug DynamoRIO since release not found
Usage error on option "-no_track_alloc": unknown option: aborting
Run with -help for full option list.
+ ./bin64/drmemory -leaks_only -no_count_leaks -no_track_allocs -- tests/hello
WARNING: using debug DynamoRIO since release not found
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276201)>
<Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-leaks_only` `-no_count_leaks` `-no_track_allocs` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276201 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f5739c01000
add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f56b9837f50
add-symbol-file '/usr/lib64/libm.so.6' 0x00007f56b9a58390
add-symbol-file '/usr/lib64/libc.so.6' 0x00007f56b92eb6b0
add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f56b9a1c110
add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f56b9a025f0
>
~~Dr.M~~ Dr. Memory version 2.3.18338
<spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
    os says: 0x00007f56b99cf000-0x00007f56b99ff000 prot=0x00000001
    cache says: 0x00007f56b99cf000-0x00007f56b9a02000 prot=0x00000001
>
<(1+x) Handling our fault in a TRY at 0x00007f5739e5d7a7>
~~Dr.M~~ WARNING: The application is changing the brk! It may contain a hidden custom allocator.  Ensure that you have debug symbols available.
~~Dr.M~~ WARNING: The use of the brk is being rejected.  There is chance that this will crash the application.
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276201)>
~~Dr.M~~ 
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~       0 unique,     0 total warning(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.276201.000/results.txt
<Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276201).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
Received SIGSEGV at pc 0x0000000000000800 in thread 276201
Base: 0x00007f5739bc0000
Registers:eax=0x00007f56b9659002 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
    esi=0x0000000000000001 edi=0x00007f56b9659002 esp=0x00007f56b9c0cdf8 ebp=0x00007f56b9c0ce30
    r8 =0x0000000000000035 r9 =0x0000000073a64e6b r10=0x00007f56b9c0c510 r11=0x0000000000000246
    r12=0x0000000000000004 r13=0x00000000000000f7 r14=0x0000000000000001 r15=0x0000000000000000
    eflags=0x0000000000010206
2.3.18338-1-(Mar 20 2020 17:42:35) 
-no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-leaks_only` `-no_count_leaks` `-no_track_allocs` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download
0x00007f56b9c0ce30 0x00000000739c9d51
0x00007f56b9c0ce50 0x0000000073951db7
0x00007f56b9c0cea0 0x00000000738ded48
0x00007f56b9c0ced0 0x0000000073922fec
0x00007f56b9c0cf00 0x00000000738205bb
0x00007f56b9c0cf50 0x00007f5739da1565
0x00007f56b9c0cfb0 0x00007f5739c1261c
0x00007f56b9c0cff0 0x00007f5739c12b09
0x00007f56b9c0d020 0x00007f5739c12c8f
0x00007f56b9c0d040 0x00007f5739e5d20e
0x00007f56b9c0d058 0x00007f56b9bced40>
+ ./dynamorio/bin64/drrun -- tests/hello
WARNING: cannot find /home/shlomif/Download/unpack/prog/b-drmem/dynamorio/bin64/../lib64/release/libdynamorio.so: is this an incomplete installation?
WARNING: /home/shlomif/Download/unpack/prog/b-drmem/dynamorio/bin64/.. does not appear to be a valid DynamoRIO root
WARNING: cannot find /home/shlomif/Download/unpack/prog/b-drmem/dynamorio/bin64/../lib64/release/libdynamorio.so: is this an incomplete installation?
WARNING: /home/shlomif/Download/unpack/prog/b-drmem/dynamorio/bin64/.. does not appear to be a valid DynamoRIO root
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276202)>
<Initial options = -no_dynamic_options -code_api -stack_size 56K -signal_stack_size 32K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f288ee74000
>
<spurious rep/repne prefix @0x00007f288ee06d90 (f3 0f 1e fa): >
<(1+x) Handling our fault in a TRY at 0x00007f288f0d07a7>
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276202)>
+ ./bin64/drmemory -debug -dr_debug -pause_at_assert -- tests/hello
<Starting application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276203)>
<Initial options = -no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-pause_at_assert` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcache` -resfile 276203 ' -code_api -stack_size 56K -signal_stack_size 32K -disable_traces -no_enable_traces -max_elide_jmp 0 -max_elide_call 0 -no_shared_traces -bb_ibl_targets -bb_single_restore_prefix -no_shared_trace_ibl_routine -no_enable_reset -no_reset_at_switch_to_os_at_vmm_limit -reset_at_vmm_percent_free_limit 0 -no_reset_at_vmm_full -reset_at_commit_free_limit 0K -reset_every_nth_pending 0 -vm_size 262144K -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct >
<Paste into GDB to debug DynamoRIO clients:
set confirm off
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so' 0x000000007381e000
add-symbol-file '/home/shlomif/Download/unpack/prog/b-drmem/dynamorio/lib64/debug/libdynamorio.so' 0x00007f796fb0c000
add-symbol-file '/usr/lib64/libstdc++.so.6' 0x00007f78ef742f50
add-symbol-file '/usr/lib64/libm.so.6' 0x00007f78ef963390
add-symbol-file '/usr/lib64/libc.so.6' 0x00007f78ef1f66b0
add-symbol-file '/usr/lib64/ld-linux-x86-64.so.2' 0x00007f78ef927110
add-symbol-file '/usr/lib64/libgcc_s.so.1' 0x00007f78ef90d5f0
>
~~Dr.M~~ Dr. Memory version 2.3.18338
<spurious rep/repne prefix @0x0000000000401040 (f3 0f 1e fa): >
<curiosity: rex.w on OPSZ_6_irex10_short4!>
<get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
    os says: 0x00007f78ef8da000-0x00007f78ef90a000 prot=0x00000001
    cache says: 0x00007f78ef8da000-0x00007f78ef90d000 prot=0x00000001
>
<(1+x) Handling our fault in a TRY at 0x00007f796fd687a7>
Hello world!
<Stopping application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276203)>
~~Dr.M~~ 
~~Dr.M~~ NO ERRORS FOUND:
~~Dr.M~~       0 unique,     0 total unaddressable access(es)
~~Dr.M~~       0 unique,     0 total uninitialized access(es)
~~Dr.M~~       0 unique,     0 total invalid heap argument(s)
~~Dr.M~~       0 unique,     0 total warning(s)
~~Dr.M~~       0 unique,     0 total,      0 byte(s) of leak(s)
~~Dr.M~~       0 unique,     0 total,      0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~      16 unique,    20 total,  10780 byte(s) of still-reachable allocation(s)
~~Dr.M~~          (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: /home/shlomif/Download/unpack/prog/b-drmem/logs/DrMemory-hello.276203.000/results.txt
<Application /home/shlomif/Download/unpack/prog/b-drmem/tests/hello (276203).  Dr. Memory internal crash at PC 0x0000000000000800.  Please report this at http://drmemory.org/issues.  Program aborted.
Received SIGSEGV at pc 0x0000000000000800 in thread 276203
Base: 0x00007f796facb000
Registers:eax=0x00007f796faa8c03 ebx=0x000000000000000a ecx=0x000000000000000a edx=0x0000000000000800
    esi=0x0000000000000001 edi=0x00007f796faa8c03 esp=0x00007f78efb17df8 ebp=0x00007f78efb17e30
    r8 =0x0000000000000035 r9 =0x0000000073a65d3a r10=0x00007f78efb17510 r11=0x0000000000000246
    r12=0x0000000000000004 r13=0x00000000000000db r14=0x0000000000000001 r15=0x0000000000000000
    eflags=0x0000000000010206
2.3.18338-1-(Mar 20 2020 17:42:35) 
-no_dynamic_options -logdir '/home/shlomif/Download/unpack/prog/b-drmem/logs/dynamorio' -client_lib '/home/shlomif/Download/unpack/prog/b-drmem/bin64/debug/libdrmemorylib.so;0;`-pause_at_assert` -logdir `/home/shlomif/Download/unpack/prog/b-drmem/logs` -symcache_dir `/home/shlomif/Download/unpack/prog/b-drmem/logs/symcac
0x00007f78efb17e30 0x00000000739c9d51
0x00007f78efb17e50 0x0000000073951db7
0x00007f78efb17ea0 0x00000000738ded48
0x00007f78efb17ed0 0x0000000073922fec
0x00007f78efb17f00 0x00000000738205bb
0x00007f78efb17f50 0x00007f796fcac565
0x00007f78efb17fb0 0x00007f796fb1d61c
0x00007f78efb17ff0 0x00007f796fb1db09
0x00007f78efb18020 0x00007f796fb1dc8f
0x00007f78efb18040 0x00007f796fd6820e
0x00007f78efb18058 0x00007f78efad9d40>
derekbruening commented 4 years ago

That commit is not pulled into drmemory though so it can’t affect it. Are you doing a custom mix of repo versions?

On Fri, Mar 20, 2020 at 11:50 AM Assad Hashmi notifications@github.com wrote:

This regression appears to be caused by DynamoRIO/dynamorio#4195 https://github.com/DynamoRIO/dynamorio/pull/4195 (Build a hashtable for faster ELF symbol lookups)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DynamoRIO/drmemory/issues/2285#issuecomment-601770794, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRVIMWQ2UZGMNMEJDU4EI3RIOGFLANCNFSM4LPOBIRQ .

AssadHashmi commented 4 years ago

That commit is not pulled into drmemory though so it can’t affect it. Are you doing a custom mix of repo versions?

I did similar to @shlomif:

git clone https://github.com/DynamoRIO/drmemory
cd drmemory
git submodule update --remote --merge --init

If after the git submodule update you revert to the patch before 6b3931a

git checkout d9e90e8

and build, the tests pass.

AssadHashmi commented 4 years ago

That commit is not pulled into drmemory though so it can’t affect it.

As drmemory is built on DynamoRIO, don't you have to pull the latest DynamoRIO from the repo?

derekbruening commented 4 years ago

git submodule update --remote --merge --init

That is not a supported way to udpate. By passing --remote you are deliberately bypassing the recorded dynamorio commit that drmemory is set up to use, and which is updated periodically after verifying everything works. The wiki pages show how to check out and build, with helper scripts and git aliases to make it simple, and none of them pass --remote. Developers are expected to use the devsetup script and pullall alias, as documented.

AssadHashmi commented 4 years ago

git submodule update --remote --merge --init

That is not a supported way to udpate.

Gah! So, this is what we should be following: https://github.com/DynamoRIO/drmemory/wiki/How-To-Build

AssadHashmi commented 4 years ago

@shlomif I can confirm that the build instructions on the Wiki as pointed out by @derekbruening work and all tests should pass:

git clone https://github.com/DynamoRIO/drmemory.git
cd drmemory/
make/git/devsetup.sh
derekbruening commented 4 years ago

This is still a DR bug we want to fix and it is good to find out about it now, since we wanted to put out a new DR release. So Drmemory is doing sthg with drsyms that the DR tests do not catch.

On Fri, Mar 20, 2020 at 1:49 PM Assad Hashmi notifications@github.com wrote:

@shlomif https://github.com/shlomif I can confirm that the build instructions on the Wiki as pointed out by @derekbruening https://github.com/derekbruening work and all tests should pass:

git clone https://github.com/DynamoRIO/drmemory.git cd drmemory/ make/git/devsetup.sh

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DynamoRIO/drmemory/issues/2285#issuecomment-601832390, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRVIMSMDNXIRSU7MXOQ443RIOUAZANCNFSM4LPOBIRQ .

AssadHashmi commented 4 years ago

Yes, at least something good came out of this ;-)

shlomif commented 4 years ago

@AssadHashmi @derekbruening : thanks for your help and insights. I found the devsetup.sh script too intrusive for my taste, but after using git submodule update --init --progress (without the --remote flag) the tests look much better with only one failure. Please let me know if I can be of any further assistance.

shlomif commented 4 years ago

with cmake -DCMAKE_INSTALL_PREFIX=~/apps/todel-drmemory -DCMAKE_BUILD_TYPE=Release ../drmemory and make test I am getting:


97% tests passed, 3 tests failed out of 99

Total Test time (real) =  58.12 sec

The following tests FAILED:
          1 - drmf_proj (Failed)
         12 - cs2bug (Failed)
         29 - reachable (Failed)
Errors while running CTest
make: *** [Makefile:130: test] Error 8
shlomif commented 4 years ago

OK, I've now done a benchmark using this script:

run()
{
    `which time` -o "$1" $2 ./freecell-solver-range-parallel-solve  1 200 1 -l lg
}
run "drmem.time" "$HOME/apps/todel-drmemory/bin64/drmemory --"
run "valgrind.time" "valgrind"
run "raw.time" ""
tail -n 100 -v *.time

it runs this command line app of mine: https://github.com/shlomif/fc-solve which I built using ../scripts/Tatzer -l n2t. Here are the results:

==> drmem.time <==
42.55user 12.50system 0:55.16elapsed 99%CPU (0avgtext+0avgdata 32920maxresident)
k
0inputs+160outputs (0major+5866minor)pagefaults 0swaps

==> raw.time <==
0.04user 0.00system 0:00.05elapsed 98%CPU (0avgtext+0avgdata 4116maxresident)k
0inputs+0outputs (0major+566minor)pagefaults 0swaps

==> valgrind.time <==
1.40user 0.01system 0:01.43elapsed 99%CPU (0avgtext+0avgdata 56804maxresident)k
0inputs+0outputs (0major+13508minor)pagefaults 0swaps

So valgrind takes 1.43s , drmem 55 seconds, and a plain run about 50 milliseconds. I haven't tried -light mode yet: https://dynamorio.org/drmemory_docs/page_light.html

Update: Adding -light makes it faster than valgrind.

derekbruening commented 4 years ago

This is not surprising for 64-bit, since the 64-bit version of Dr. Memory is not fully finished. Key operations like stack shadowing are using slowpaths as the 64-bit versions of the fastpaths have not been created: https://github.com/DynamoRIO/drmemory/issues/111#issuecomment-325562859

In general Dr. Memory is unfortunately in a relative maintenance mode as there are almost zero developers left working on it. There are no resources to spend on performance: getting even this basic 64-bit support in place took years with work happening only in spare time.

derekbruening commented 4 years ago

The crash is here:

(gdb) bt
#0  0x0000000000000800 in ?? ()
#1  0x00000000739c9c3f in hashtable_clear_internal (table=0x73ae73a0 <retaddr_table>)
    at /work/drmemory/bugs/i2285-drsym-hash-crash/src/dynamorio/ext/drcontainers/hashtable.c:518
#2  0x00000000739c9d51 in hashtable_delete (table=0x73ae73a0 <retaddr_table>)
    at /work/drmemory/bugs/i2285-drsym-hash-crash/src/dynamorio/ext/drcontainers/hashtable.c:544
#3  0x0000000073951db7 in hashtable_delete_with_stats (table=0x73ae73a0 <retaddr_table>, name=0x73a62003 "retaddr table")
    at /work/drmemory/bugs/i2285-drsym-hash-crash/src/common/utils.c:444
#4  0x00000000738ded48 in callstack_exit () at /work/drmemory/bugs/i2285-drsym-hash-crash/src/common/callstack.c:358
#5  0x0000000073922fec in report_exit () at /work/drmemory/bugs/i2285-drsym-hash-crash/src/drmemory/report.c:1954
#6  0x00000000738205bb in event_exit () at /work/drmemory/bugs/i2285-drsym-hash-crash/src/drmemory/drmemory.c:467
#7  0x00007fc956e8e565 in instrument_exit_event () at /work/drmemory/bugs/i2285-drsym-hash-crash/src/dynamorio/core/lib/instrument.c:871

It is a compatibility change: drcontainers added a new field to hashtable_config_t. Binary compatibility was maintained as there is a size field in the struct. But if we blindly use the new DR and re-compile Dr. Memory without updating it sources, it then uses the new size, but does not fill in the new field. So this is user error in using a changed version of DR without updating DrM.

The only action item might be to go bump the DR between-releases version from 7.91 to 7.92 which I may do if I get time, to more clearly label this. The source compat change is already listed in the changelog.

There is nothing to be done in Dr. Memory. Closing as user error.

derekbruening commented 4 years ago

Re: bumping from 7.91 to 7.92: that won't help. That will detect binary compat changes. A source compat change with a blind rebuild of the client is going to auto-bump the _USES_DRVERSION var anyway. If the client is not zeroing the struct and blindly rebuilds it is not clear there is any simple way to detect. DrM has a ver # required, but not a ceiling: the testing when pulling in a new DR version is the mechanism to catch this.