Re: [swift-users] Swift REPL broken after updating to Sierra, is it just me?

2016-10-06 Thread Jens Persson via swift-users
Thanks! I moved the following to a temporary location: ~ ├── .lldb │ ├── lldb-history │ ├── lldb-repl-history │ └── lldb-swift-history └── .lldb-swift-history And that made the REPL work again. I will zip and attach those files to 28657007. /Jens On Thu, Oct 6, 2016 at 9:52 PM, Jim Ingham

Re: [swift-users] Swift REPL broken after updating to Sierra, is it just me?

2016-10-06 Thread Jim Ingham via swift-users
There is a known bug in libedit's history file reader that can cause this crash. libedit is a system component that lldb uses to do command-line editing and the like. Try moving ~/.lldb-history to some other name, and then rerunning the REPL. If that works, can you attach that history file

Re: [swift-users] Swift REPL broken after updating to Sierra, is it just me?

2016-10-06 Thread Jens Persson via swift-users
Here is with Xcode.app: › sudo xcode-select -s /Applications/Xcode.app Password: › › swift -v Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38) Target: x86_64-apple-macosx10.9 /Applications/Xcode.app/Contents/Developer/usr/bin/lldb "--repl=-target x86_64-apple-macosx10.9

Re: [swift-users] Swift REPL broken after updating to Sierra, is it just me?

2016-10-06 Thread Jens Persson via swift-users
I was trying both Xcode and Xcode-beta, I just happened to copy paste while Xcode-beta was selected ... Anyway, both of them crash like that. /Jens On Thu, Oct 6, 2016 at 7:22 PM, Kate Stone wrote: > If you’ve specified “sudo xcode-select -s /Applications/Xcode.app” then >

Re: [swift-users] Swift REPL broken after updating to Sierra, is it just me?

2016-10-06 Thread Kate Stone via swift-users
If you’ve specified “sudo xcode-select -s /Applications/Xcode.app” then it’s surprising that the REPL session is attempting to use the LLDB and SDK from /Applications/Xcode-beta.app. Can you double-check what “xcode-select -p” reports? I can’t say I’ve seen a segmentation fault on REPL