Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#5495: Fix drcachesim fork bug #5500

Merged
merged 4 commits into from
May 25, 2022
Merged

i#5495: Fix drcachesim fork bug #5500

merged 4 commits into from
May 25, 2022

Conversation

derekbruening
Copy link
Contributor

Fixes a bug where drcachesim -offline complained about an open file
across a fork. This bug blocked tracing of SPECCPU perlbench.

Adds a new test of drcachesim -offline with an app that forks. As is,
this matched the -satisfy_w_xor_x test regex, and I tried to make it
work with that option by fixing a file close bug here. However, I did
not have time to figure out another bug which I filed as #5499. I
thus tightened the "fork" regex to exclude this test from
-satisfy_w_xor_x.

Fixes #5495

Fixes a bug where drcachesim -offline complained about an open file
across a fork.  This bug blocked tracing of SPECCPU perlbench.

Adds a new test of drcachesim -offline with an app that forks.  As is,
this matched the -satisfy_w_xor_x test regex, and I tried to make it
work with that option by fixing a file close bug here.  However, I did
not have time to figure out another bug which I filed as #5499.  I
thus tightened the "fork" regex to exclude this test from
-satisfy_w_xor_x.

Fixes #5495
@derekbruening
Copy link
Contributor Author

Grrr, the 32-bit test hits heap use from droption's C++ classes which is #4660 and doesn't have a simple solution.

@derekbruening derekbruening merged commit b9bec98 into master May 25, 2022
@derekbruening derekbruening deleted the i5495-drmemtrace-fork branch May 25, 2022 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drcachesim offline fails on fork child with error about file creation
2 participants