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
Replay fails when watchpoint is set #2238
Comments
Are you running in a VM? Do watchpoints work in GDB? |
I am not; this is running directly on my Skylake laptop. Yes, watchpoints work under GDB. Looking more carefully it looks like this is somewhat address-specific. For a given replay setting a watchpoint on some addresses work whereas others fail with the above error (regardless of whether the program is running forward or backwards). |
Weird. Can you characterize which addresses work and which don't? |
I'm still trying to sort that out; I'm debugging a language runtime (namely that of the Glasgow Haskell Compiler and the issue has been hard to reproduce since I first saw it. |
I am once again seeing this; which addresses fail seems to be quite random. However, they all share the property that they reside in the Haskell heap. @rocallahan, any hints on debugging this? I'd be happy to dig in a bit as I'm quite reliant on |
The simplest approach is probably to run |
Alright, I've uploaded the packed trace here. The following will hopefully reproduce the issue:
This fails with,
with rr-5.2.0. Thanks for your help! |
Hmm, I'm actually having trouble reproducing this on |
Alright, I'm going to close this until I see it again with |
Might have been fixed by 3858729. |
I'm seeing the following failure on Linux 4.17.12 (running NixOS) whenever a watchpoint is enabled:
Any idea what might be going on here?
The text was updated successfully, but these errors were encountered: