ASSERT unix/signal.c pend_unit_size does not have AVX_ALIGNMENT on processor without AVX
Created by: egberts
The error message is:
<Application /bin/ls (2089). Internal Error: DynamoRIO debug check failure: /home/drmemory/dynamorio/core/unix/signal.c:511 ALIGNED(pend_unit_size, AVX_ALIGNMENT)
On Debian 9 (stretch), I git-cloned the master and built it as followed:
cd drmemory
mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j8
./dynamorio/bin64/drrun -debug /bin/ls
And got the following ASSERT error in unix/signal.c:511
:
drmemory/debug$ ./dynamorio/bin64/drrun -debug /bin/ls
WARNING: cannot find /home/drmemory/debug/dynamorio/bin64/../lib64/release/libdynamorio.so: is this an incomplete installation?
WARNING: /home/drmemory/debug/dynamorio/bin64/.. does not appear to be a valid DynamoRIO root
<Starting application /bin/ls (2089)>
<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 >
<Application /bin/ls (2089). Internal Error: DynamoRIO debug check failure: /home/steve/work/instrumentations/emulation/drmemory/dynamorio/core/unix/signal.c:511 ALIGNED(pend_unit_size, AVX_ALIGNMENT)
(Error occurred @0 frags)
version 7.0.17768, custom build
-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
0x00007ffe4011b5e0 0x00007f3cea62f054
0x00007ffe4011b830 0x00007f3cea80c85e
0x00007ffe4011b8e0 0x00007f3cea7f5fd6
0x00007ffe4011b990 0x00007f3cea5a879c
0x00007ffe4011b9e0 0x00007f3cea5a5d37
0x00007ffe4011c210 0x00007f3cea829f78
0x00007ffe4011cc50 0x00007f3cea7db127>
drmemory/debug$
git log shows:
commit a564eba23768a3f871a46f7e332bbe67b1742937
Author: Derek Bruening <bruening@google.com>
Date: Tue Aug 28 11:51:11 2018 -0400