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
Remote connection closed while reverse continuing #1833
Comments
I'll try to reproduce this. In the meantime, can you run with |
I reproduced the Firefox crash in rr. It crashed here:
There's no |
That was in an opt build. In a debug build I guess I see what I'm supposed to see:
|
I'm not sure exactly what watchpoint I'm supposed to set? |
But I can't do much with that.
Should I have seen the bug by now? Are you on rr master? |
Frustratingly, I can no longer get the crash to reproduce, but I still had an old rr recording around. Here is the result of running that with RR_LOG=GdbConnection set: When Firefox crashes, I set the watchpoint like this: Then reverse continue. As you can see in the log, the connection is eventually closed. It's been a while since I last recompiled rr. The version I am using is version 4.3.0. Let me know if there's anything else I can do to help analyse this. |
We fixed a leak since 4.3.0 that caused rr to crash with OOM during some reverse-continues. If you watch rr's memory usage and see it growing a lot, that's probably what you're hitting. Whether that's it or not, 4.3.0 is quite old now so it's probably not worth spending any more time investigating unless you can reproduce on master. Thanks!!! |
I ran into an issue with rr while trying to analyse the following bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1260239
Steps to reproduce:
Note that I ran the above steps on Linux Mint in VMWare Fusion on OS X.
Expected results:
The watchpoint eventually triggers.
Actual results:
rr eventually displays the following message:
rr: /home/ejpbruel/Projects/rr/src/ReplayTimeline.cc:213: void rr::ReplayTimeline::mark_after_singlestep(const rr::ReplayTimeline::Mark&, const rr::ReplayResult&): Assertion `i + 1 < mark_vector.size() && mark_vector[i + 1] == m.ptr' failed.
Remote connection closed
After this, I can no longer debug the program.
The text was updated successfully, but these errors were encountered: