DynamoRIO / DynamoRIO/dynamorio

drcachesim tests failing with exit code 11 on 32-bit (g)linux.

Open
#3,685 1 comment 0 reactions 0 assignees View on GitHub
Bug-AppFail Component-DrMemtrace Component-Tests OpSys-Linux OpSys-x86
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

Machine:

```
Linux version 4.19.28-2rodete1-amd64 (glinux-team@google.com) (gcc version 8.0.1 20180218 (experimental) [trunk revision 257787] (Debian 8-20180218-1)) #1 SMP Debian 4.19.28-2rodete1 (2019-03-18 > 2018)
```

The following tests are failing with 32-bit debug:

```
228 - code_api|tool.drcachesim.simple (Failed)
229 - code_api|tool.drcachesim.simple-config-file (Failed)
230 - code_api|tool.drcachesim.TLB-simple (Failed)
231 - code_api|tool.drcachesim.missfile (Failed)
232 - code_api|tool.drcachesim.missfile-config-file (Failed)
233 - code_api|tool.drcachesim.phys (Failed)
234 - code_api|tool.drcachesim.filter-simple (Failed)
235 - code_api|tool.drcachesim.filter-no-i (Failed)
236 - code_api|tool.drcachesim.filter-no-d (Failed)
238 - code_api|tool.drcachesim.warmup-valid (Failed)
239 - code_api|tool.drcachesim.warmup-zeros (Failed)
240 - code_api|tool.drcachesim.threads (Failed)
241 - code_api|tool.drcachesim.threads-with-config-file (Failed)
242 - code_api|tool.drcachesim.TLB-threads (Failed)
243 - code_api|tool.drcachesim.multiproc (Failed)
244 - code_api|tool.drcachesim.miss_analyzer (Failed)
```

For example

```
231: Test command: /usr/local/google/home/hgreving/dynamorio/build/bin32/drrun "-s" "90" "-quiet" "-debug" "-killpg" "-stderr_mask" "0xC" "-dumpcore_mask" "0" "-code_api" "-t" "drcachesim" "-ipc_name" "/usr/local/google/home/hgreving/dynamorio/build/suite/tests/drtestpipe_missfile" "-LL_miss_file" "/usr/local/google/home/hgreving/dynamorio/build/suite/tests/drtestmf.gz" "--" "/usr/local/google/home/hgreving/dynamorio/build/suite/tests/bin/simple_app"
231: Test timeout computed to be: 1500
231: Hello, world!
231: ---- ----
[..]
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the listed code_api|tool.drcachesim tests in the bin32 debug build, starting with the missfile command and suite/tests/bin/simple_app. Compare the failing exit-code-11 runs across the drcachesim cases and inspect the available failure output or dump-core settings. Done means the affected 32-bit debug tests complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems, testing-qa, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.