Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #3159
Closed
Open
Issue created Sep 10, 2018 by Administrator@rootContributor

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 <[email protected]>
Date:   Tue Aug 28 11:51:11 2018 -0400
Assignee
Assign to
Time tracking