-
Notifications
You must be signed in to change notification settings - Fork 814
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
Swift REPL does not start #4030
Comments
I encountered the same issue. Any fixes or workarounds? |
Workaround: Use WSL 2. |
Same issue here. |
Same issue |
I confirm. Debugging and REPL do not function on WSL1. On WSL2 we can do both REPL and debugging. |
Maybe we can close this issue ? @thorsteneb |
Certainly. I think closing it says something about ongoing WSL 1 development - and, I am perfectly fine by that. |
Sorry, I am not a contributor so I can't close tickets. Maybe someone from WSL team can close it ? |
Your Windows build number: 18894 20H1 Insider build - same behavior on 1809 release
WSL 1, Ubuntu 18.04
Swift 5.01 installed from https://swift.org/download/
Please note this NOT a duplicate of fis-gtm does not run due to missing support for executable stack #286 , the execstack issue has since been solved upstream in Swift
What you're doing and what's happening:
Execute 'swift'
Terminal does not show further output, Ctrl-C does not end swift REPL. strace shows "process launch failed: 'A' packet returned an error: 8"
swift REPL should start, output along the lines of:
swift-strace.txt
From roughly line 4340 in strace, a number of EBADF, then on line 6383, a failed ptrace with EPERM followed by an fseek with ESPIPE.
Same behavior with "sudo /path/to/swift/usr/bin/swift"
The text was updated successfully, but these errors were encountered: