Open szadam opened 1 year ago
Disable under Valgrind
This test writes an assembler code into mmap'ed memory in order to test executing it. It might confuse Valgrind and be unportable between architectures (?). It probably should not be run under Valgrind.
The latest manual execution does not show the exact issue as it was reported initially.
Source code: 1.13.0-115-g9e8754752
Comment out the code disabling the test here.
Command line: ./RUNTESTS.py pmem2_map_prot -u 7 --force-enable memcheck -o 1d
pmem2_map_prot_TES7_memcheck7.log
It might be due to a premature exit. The log is still not clean though.
==43049== Jump to the invalid address stated on the next line
==43049== at 0x8200000: ???
==43049== by 0x4046A3: TEST_CASE_PROCESS (unittest.h:700)
==43049== by 0x405B35: main (pmem2_map_prot.c:571)
==43049== Address 0x8200000 is 552,128 bytes inside an unallocated block of size 3,087,520 in arena "client"
==43049==
Let's check and fix it within 1.14
ISSUE:
Environment Information
Please provide a reproduction of the bug:
How often bug is revealed: (always, often, rare):
always
Actual behavior:
Tests failed.
Expected behavior:
Tests should pass