Uploaded image for project: 'Swift'
  1. Swift
  2. SR-13512

Swift REPL Fails to Launch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: LLDB for Swift
    • Labels:
      None
    • Environment:

      Mac OS 10.15.6

      XCode 11.7

       

      Description

      On Swift 5.2.5 Release, 5.3 Development Snapshot, and latest 5.2 Development Snapshot, when I launch the REPL by running:

      swift

      I get the following error:

      **

      error: failed to launch REPL process: process exited with status -1 (Error 1)

      I tried another system, which currently had an older 5.2 development snapshot installed (01-23) and the REPL launched without issue. However, when I installed the 5.2.5 Release toolchain to that system and launched the REPL, I got the same error as above. If I switch my toolchain back to the January snapshot, the REPL works as expected.

      I also tried downloading the oldest 5.2 snapshot off Swift.org (4/28), and the REPL also failed. This would indicate the REPL issue was introduced somewhere between 1/23 and 4/28. 

      Also, the REPL works in the current Swift for TensorFlow toolchain.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            reuschj Justin Reusch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: