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

rr invents spurious syscall restart #3287

Closed
Keno opened this issue Jun 25, 2022 · 1 comment
Closed

rr invents spurious syscall restart #3287

Keno opened this issue Jun 25, 2022 · 1 comment

Comments

@Keno
Copy link
Member

Keno commented Jun 25, 2022

I this test that I wrote while investigating #3285, rr changes the behavior of the execution: https://gist.github.com/Keno/eb3a40a9e63ba33c7d49b82a519c04f7

keno@antarctic:~/rr-build$ ./bin/desched_sigreturn
EXIT-SUCCESS
keno@antarctic:~/rr-build$ ./bin/rr record ./bin/desched_sigreturn
rr: Saving execution to trace directory `/home/keno/.local/share/rr/desched_sigreturn-16'.
FAILED at /home/keno/rr/src/test/desched_sigreturn.c:78: !(0) errno:0 (Success)
Aborted
keno@antarctic:~/rr-build$ ./bin/rr record -n ./bin/desched_sigreturn
rr: Saving execution to trace directory `/home/keno/.local/share/rr/desched_sigreturn-17'.
FAILED at /home/keno/rr/src/test/desched_sigreturn.c:78: !(0) errno:0 (Success)
Aborted
@Keno
Copy link
Member Author

Keno commented Jun 25, 2022

Never mind, I forgot there's a difference between kill and tgkill. This is just an artifact of the signal targeting the wrong task, which is a well-known edge case of rr.

@Keno Keno closed this as completed Jun 25, 2022
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

No branches or pull requests

1 participant