farre / midas

A GDB/MI Visual Studio Code Debug Adapter
MIT License
29 stars 1 forks source link

[Bug] Fails to launch midas-rr while an rr record is in progress #188

Closed sj-raima closed 8 months ago

sj-raima commented 8 months ago

Background: We are running tests through some script that sometimes takes hours to complete. We want to use rr record on each test executable individually to examine just the failed tests. However, while a recording is executing we can not launch a midas-rr session.

Launchingmidas-rr while a recording is going on, gives the following error:

rr: Trace file/home/sj/.local/share/rr/longtest-1/incomplete' found. rr recording terminated abnormally and the trace is incomplete.`

This can be reproduce with at least one recording completed and record the execution of this trivial code:

int main (int argc, char *argv[]) { for (int i=0; 1; i++) { } }

and then launch a midas-rr debug session.