-
Notifications
You must be signed in to change notification settings - Fork 566
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
CRASH and RANK ORDER VIOLATION with -exit_after_tracing #3346
Comments
derekbruening
added a commit
that referenced
this issue
Jan 18, 2019
Removes the lock acquisition from check_in_last_thread_vm_area to avoid deadlock. The scenario we're trying to catch will read and match with no extra lock due to the bb building lock. It would be nice to have a test but it is not easy to write due to the race that needs to be arranged. Issue: #3346
derekbruening
added a commit
that referenced
this issue
Jan 18, 2019
) Removes the lock acquisition from check_in_last_thread_vm_area to avoid deadlock. The scenario we're trying to catch will read and match with no extra lock due to the bb building lock. It would be nice to have a test but it is not easy to write due to the race that needs to be arranged. Issue: #3346
I am seeing SIGSEGV with -exit_after_tracing. It is easily reproducible as long as it is not too small (before threads have spawned) and not too large (after "Estimation of pi" message is printed)
|
prasun3
added a commit
that referenced
this issue
Oct 12, 2023
prasun3
added a commit
that referenced
this issue
Oct 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I was gathering the new test trace
clients/drcachesim/tests/drmemtrace.threadsig.x64.tracedir/drmemtrace.threadsig.10506.7343.trace.gz
I hit problems when I used -exit_after_tracing but only with certain values.
This only happens with a large -trace_after_instrs: so if we start tracing
near the end.
More info on the crash (from different run so addrs different):
For the rank order: that lock acquisition looks bad in general. No, we
can't reorder to avoid this violation. We probably want to have
check_in_last_thread_vm_area() do a first read w/o the lock and only grab
it to confirm.
The text was updated successfully, but these errors were encountered: