Giter VIP home page Giter VIP logo

Comments (1)

kareman avatar kareman commented on May 29, 2024

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 $SWIFT_FRAMEWORK_ARGUMENTS "$@"
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.