DynamoRIO / DynamoRIO/dynamorio

HANG drcachesim online across setarch execve

Open
#4,296 0 comments 0 reactions 0 assignees View on GitHub
Bug-Hang Component-DrMemtrace Hotlist-Release OpSys-Linux
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

This surprised me b/c I thought we had multi-process tests including execve, so there is likely something particular about this specific execve?

I just wanted to disable ASLR for the app and it hangs:

```
$ bin64/drrun -t drcachesim -- setarch `uname -m` -R suite/tests/bin/simple_app

<(1+x) Handling our fault in a TRY at 0x00007f8597a8d93b>
<-- execve suite/tests/bin/simple_app -->

<(1+x) Handling our fault in a TRY at 0x00007ffff7e1c93b>
```

It just hangs there trying to read the pipe. So sthg with the pipe is not handled properly across that execve it seems. Not sure how other tests w/ execve differ.

In any case the workaround here is to run `drrun` under the `setarch`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.