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
  • #4718
Closed
Open
Issue created Feb 05, 2021 by Derek Bruening@derekbrueningContributor

client.drwrap-test-detach fails 28/100 times on aarch64: hang

Split from #1578 Xref #4474

Other issues revealed by this test: Xref #4616: timeout on Windows Xref #4593: failed several times on GA CI on 32-bit x86: mysterious crashes Xref #4219: Translation problems in clean call mangling causing post-detach crashes

See https://github.com/DynamoRIO/dynamorio/pull/4467#issuecomment-705049234 where it fails 28/100 times on Jenkins.

On tx1 I saw a weird failure where the output seems to match:

derek@tx1:~/dr/build$ ctest --repeat-until-fail 100 -V -R drwrap-test-detach

209: Test command: /home/derek/dr/build/bin64/runstats "-s" "90" "-killpg" "-silent" "-env" "LD_LIBRARY_PATH" "/home/derek/dr/build/lib64/debug:/home/derek/dr/build/ext/lib64/debug:" "-env" "DYNAMORIO_OPTIONS" "-stderr_mask 0xC -dumpcore_mask 0 -code_api" "/home/derek/dr/build/suite/tests/bin/client.drwrap-test-detach"
209: Test timeout computed to be: 1500
209: in dr_client_main
209: client done
209: app done
    Test #209: code_api|client.drwrap-test-detach ...   Passed    0.63 sec
    Start 209: code_api|client.drwrap-test-detach

209: Test command: /home/derek/dr/build/bin64/runstats "-s" "90" "-killpg" "-silent" "-env" "LD_LIBRARY_PATH" "/home/derek/dr/build/lib64/debug:/home/derek/dr/build/ext/lib64/debug:" "-env" "DYNAMORIO_OPTIONS" "-stderr_mask 0xC -dumpcore_mask 0 -code_api" "/home/derek/dr/build/suite/tests/bin/client.drwrap-test-detach"
209: Test timeout computed to be: 1500
209: in dr_client_main
209: client done
209: app done
    Test #209: code_api|client.drwrap-test-detach ...***Failed  Required regular expression not found.Regex=[^in dr_client_main
client done
app done
$
]  0.63 sec

Instead running in a loop we see a hang on the 3rd invocation:

derek@tx1:~/dr/build$ for ((i=0; i<100; i++)); do echo -e "\n============\n$i\n"; LD_LIBRARY_PATH=lib64/debug DYNAMORIO_OPTIONS="-stderr_mask 0xf -dumpcore_mask 0 -code_api" suite/tests/bin/client.drwrap-test-detach; done > OUT 2>&1

A loop with the harness to time out:

derek@tx1:~/dr/build$ for ((i=0; i<100; i++)); do echo -e "\n============\n$i\n"; ctest -V -R drwrap-test-detach; done > OUT 2>&1

That is in progress; will update when done. So far, seeing a lot of hangs. Has no reproduced the weird failure above.

Assignee
Assign to
Time tracking