Closed nth10sd closed 7 years ago
The stack with rr from 16.04 apt-get is version 4.1.0 and shows the following error:
$ rr record firefox
rr: Saving the execution of `firefox' to trace directory `/home/winworklin/.local/share/rr/firefox-0'.
[FATAL /build/rr-jR8ti5/rr-4.1.0/src/task.cc:3223:spawn() errno: 22 'Invalid argument']
-> PTRACE_SEIZE failed for tid 9636
Aborted (core dumped)
WSL's "kernel" doesn't have a complete ptrace implementation, and it doesn't have a seccomp implementation at all as far as I can tell. They might get there some day but until then this won't be possible. (And if they do get there, rr should Just Work (TM))
I opened a WSL issue on PTRACE_SEIZE
not working: https://github.com/Microsoft/WSL/issues/3031 . That seems like a specific, tractable thing that they could fix. seccomp is a whole other ball of wax, for sure.
Thanks. There are a lot of other bits and pieces they'd have to implement/fix though.
It is possible to run
firefox
on Ubuntu 16.04 WSL Win10 1709 with Xming installed as a X11 server on Windows, but running it with rr 5.0.0 fails with the following stack:I am on Dell XPS 15 with Kaby Lake Core i7-7700HQ.
Might this be a possible supported use case in the future?