DynamoRIO / DynamoRIO/dynamorio

privload_os_finalize stuck on 32-bit drcachesim

Open
#5,761 0 comments 0 reactions 0 assignees View on GitHub
Bug-Hang OpSys-Linux OpSys-x86
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

Running on Linux kernel 5.18 with glibc 2.35, the following command gets stuck on the 32-bit build:

```
$ ./bin32/drrun -t drcachesim -- ./suite/tests/bin/simple_app
```
Works fine under plain DR (without drcachesim).

Looking at `-log_to_stderr` logs, I see that it gets stuck in `privload_os_finalize` at `calling __libc_early_init`. Maybe something changed in glibc 2.35 that broke the workaround we put for glibc 2.34 in #5437?

This wasn't detected yet because we don't have a 32-bit CI on glibc 2.35, and also when I worked on #5431, I focused on only 64-bit.

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.