You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Apple Swift REPL cannot run on BashOnWindows because of a missing kernel feature - I believe the missing feature is the one associated with debugging processes.
Expected results:
$ swift
>
Actual results:
$ swift
error: failed to launch REPL process: process launch failed: 'A' packet returned an error: 8
Reacted by Sergey Yamshchikov, Steve Theodore, Alice Hernandez, therealkenc, venkat Kongara, Brahim Elmssilha, Ehsan Azar, Erik Werner, Zhiyu Zhu/朱智语, Jimx and 1 more
Do you have a link I can follow to update this? O native Windows it does nothing. It runs and returns to the command prompt. On Ubuntu 20.04 on WSL2 it hangs.
Activity
stehufntdev commentedon Jul 25, 2016
Thanks for reporting the issue. Can you please collect an strace of the failing process so we can see why the application is failing?
therealkenc commentedon Jul 26, 2016
#555 dup possibly.
jhoareau commentedon Jul 27, 2016
therealkenc Indeed, I believe it is the same issue. You can mark it as duplicate.
therealkenc commentedon Aug 27, 2016
The failing syscall appears to be:
ptrace(PTRACE_TRACEME, 0, 0, 0) = -1 EPERM (Operation not permitted)sunitjoshi commentedon Feb 14, 2017
I've the same issue on Windows 10, with Ubuntu 14.04.5 LTS
sunilmut commentedon Mar 2, 2017
Marking it duplicate as per the above comments.
yanite commentedon Apr 29, 2019
I've the same issue on Windows 10, with Ubuntu 18.04 swift 5.0.1
PseudonymPatel commentedon Nov 22, 2019
Still having this issue, it would be nice to see if something could be done about it
viegasfh commentedon Jan 6, 2022
Any update on this?
jhoareau commentedon Jan 6, 2022
This was fixed with WSL2 using a virtual machine instead of rewriting system calls.
viegasfh commentedon Jan 6, 2022
Hi, Julien Hoareau (@jhoareau) !
Do you have a link I can follow to update this? O native Windows it does nothing. It runs and returns to the command prompt. On Ubuntu 20.04 on WSL2 it hangs.