Skip to content
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

[SR-1203] Swift interactive shell fail to load in Bash on Ubuntu on Windows #4525

Closed
swift-ci opened this issue Apr 10, 2016 · 1 comment
Closed
Labels
bug Something isn't working LLDB for Swift REPL

Comments

@swift-ci
Copy link

Previous ID SR-1203
Radar None
Original Reporter vista980622 (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment

Bash on Ubuntu (14.04 LTS) on Windows (Windows 10 Build 14316)

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, REPL
Assignee None
Priority Medium

md5: a78ca77ef61b07d4cdc5c0816143a84d

blocks:

  • SR-54 Unable to launch REPL in restricted Docker container

Issue Description:

When trying to launch Swift interactive shell, bash prompts the following:
error: failed to launch REPL process: process launch failed: 'A' packet returned an error: -1

However, when trying to compile other .swift files, Swift works just fine.
This issue seem to relate to kernel level capabilities that are restricted in a sandboxed container.

@swift-ci
Copy link
Author

Comment by Kate Stone (JIRA)

The interactive REPL provides full debugging facilities, and as such it requires the associated privileges to attach to processes for debugging purposes. When running Linux distributions in any sandboxed environment (Docker et al) this is expected behavior.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 7, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LLDB for Swift REPL
Projects
None yet
Development

No branches or pull requests

1 participant