Comments (1)
It's the same problem on Yosemite DP 8:
Mac-c82a141c0e4c:Scripts karemorstol$ ./callswiftscriptfromswift.swift
0 swift 0x000000010c3a7eb8 llvm::sys::PrintStackTrace(_sFILE) + 40
1 swift 0x000000010c3a83a4 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff87b8bf1a _sigtramp + 26
3 libsystem_platform.dylib 0x000000000000ffff sigtramp + 2018001151
4 SwiftShell 0x000000010eedb47e TTWCSo12NSFileHandle10SwiftShell18ReadableStreamTypeFS1_8readSomeUS1___fRQPS1_FT_GSqSS + 46
5 SwiftShell 0x000000010eedad65 TF10SwiftShelloi2ogFTPS_18ReadableStreamType_PS_19WriteableStreamType__T + 69
6 SwiftShell 0x00000001104593f5 TF10SwiftShelloi2ogFTPS_18ReadableStreamType_PS_19WriteableStreamType__T + 22537941
7 swift 0x000000010ba1d019 llvm::JIT::runFunction(llvm::Function, std::__1::vector<llvm::GenericValue, std::_1::allocatorllvm::GenericValue > const&) + 329
8 swift 0x000000010bcc9403 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > > > const&, char const const) + 1523
9 swift 0x000000010b9063ba swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 1066
10 swift 0x000000010b6fc183 frontend_main(llvm::ArrayRef, char const, void) + 5107
11 swift 0x000000010b6f964d main + 1677
12 libdyld.dylib 0x00007fff8de2e5c9 start + 1
Stack dump:
0. Program arguments: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret ./listallexecutablesinpath.swift -target x86_64-apple-darwin14.0.0 -target-cpu core2 -sdk /Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -F /Users/karemorstol/Library/Frameworks -F /Library/Frameworks -color-diagnostics -module-name listallexecutablesinpath
/Users/karemorstol/Data/bin/swiftshell: line 21: 1083 Illegal instruction: 4 xcrun swift
Mac-c82a141c0e4c:Scripts karemorstol$ xcrun swift -v
Swift version 1.1 (swift-600.0.54.4)
Target: x86_64-apple-darwin14.0.0
/Applications/Xcode-Beta.app/Contents/Developer/usr/bin/lldb "--repl=-target x86_64-apple-darwin14.0.0 -target-cpu core2 -sdk /Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -color-diagnostics"
Welcome to Swift! Type :help for assistance.
1> ^D
Mac-c82a141c0e4c:Scripts karemorstol$ xcrun swift -F /Users/karemorstol/Library/Frameworks stream_out.swift
0 swift 0x0000000109052eb8 llvm::sys::PrintStackTrace(_sFILE) + 40
1 swift 0x00000001090533a4 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff87b8bf1a _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 sigtramp + 2017935616
4 SwiftShell 0x000000010bb8647e TTWCSo12NSFileHandle10SwiftShell18ReadableStreamTypeFS1_8readSomeUS1___fRQPS1_FT_GSqSS + 46
5 SwiftShell 0x000000010bb85d65 TF10SwiftShelloi2ogFTPS_18ReadableStreamType_PS_19WriteableStreamType__T + 69
6 SwiftShell 0x000000010c98c0db TF10SwiftShelloi2ogFTPS_18ReadableStreamType_PS_19WriteableStreamType__T + 14705595
7 swift 0x00000001086c8019 llvm::JIT::runFunction(llvm::Function, std::__1::vector<llvm::GenericValue, std::_1::allocatorllvm::GenericValue > const&) + 329
8 swift 0x0000000108974403 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > > > const&, char const const) + 1523
9 swift 0x00000001085b13ba swift::RunImmediately(swift::CompilerInstance&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > > > const&, swift::IRGenOptions&, swift::SILOptions const&) + 1066
10 swift 0x00000001083a7183 frontend_main(llvm::ArrayRef, char const, void) + 5107
11 swift 0x00000001083a464d main + 1677
12 libdyld.dylib 0x00007fff8de2e5c9 start + 1
Stack dump:
0. Program arguments: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret stream_out.swift -target x86_64-apple-darwin14.0.0 -target-cpu core2 -sdk /Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -F /Users/karemorstol/Library/Frameworks -color-diagnostics -module-name stream_out
Illegal instruction: 4
Mac-c82a141c0e4c:Scripts karemorstol$
from swiftshell.
Related Issues (20)
- runAsync(bash"") cannot write nothing on onStringOutput on mac osx app standalone HOT 2
- `waitUntilExit` cause slow execution HOT 1
- How to execute rm -rf /xxx/* HOT 3
- Could not find module 'SwiftShell' for target 'arm64-apple-macos'; found: x86_64, x86_64-apple-macos
- How to execute an ncurses-based command? HOT 2
- run shell empty output HOT 4
- PID of the command launched using SwiftShell
- The interactive command is suspended at the terminal
- Im trying to find a way to make a run cancellable
- Not support `Pod` command HOT 5
- New syntax? HOT 2
- Xcode 12 beta / Swift 5.3 not building HOT 5
- Tupling issue? HOT 1
- Request for an API that do not exit when executable to run is not found HOT 2
- Final released Swift 5.3 crashes on compile HOT 10
- Using ubuntu-latest for GHAction Test HOT 4
- Make run and throwable HOT 1
- onStringOutput returning nothing.
- Allow `run` to take an array HOT 1
- How to pipe with different contexts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftshell.