Skip to content

Instantly share code, notes, and snippets.

@palimondo
Created June 20, 2018 06:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palimondo/1af3c794ef2efe17bbb15e71127a61aa to your computer and use it in GitHub Desktop.
Save palimondo/1af3c794ef2efe17bbb15e71127a61aa to your computer and use it in GitHub Desktop.
SwiftPM benchmarks build crashing
Mondoshawan:benchmark[master] mondo$ swift build
/Users/mondo/Developer/swift-source/swift/benchmark: error: manifest parse error(s):
Fatal error: Index out of range
0 swift 0x000000010be99c5a PrintStackTraceSignalHandler(void*) + 42
1 swift 0x000000010be99066 SignalHandler(int) + 966
2 libsystem_platform.dylib 0x00007fff600ddf5a _sigtramp + 26
3 libsystem_platform.dylib 0x00007fffdc9af921 _sigtramp + 2089621985
4 libswiftCore.dylib 0x000000011019c025 $Ss12_ArrayBufferV37_checkInoutAndNativeTypeCheckedBounds_03wasfgH0ySi_SbtF + 261
5 libswiftCore.dylib 0x00000001101b93f7 $SSayxSicig + 103
6 libswiftCore.dylib 0x000000010f558939 $SSayxSicig + 4281988521
7 libswiftCore.dylib 0x00000001103583bc $Ss10CollectionPsE7flatMapySaySSGSSSg7ElementQzKXEKF + 444
8 libswiftCore.dylib 0x000000010f558718 $Ss10CollectionPsE7flatMapySaySSGSSSg7ElementQzKXEKF + 4280288536
9 libswiftCore.dylib 0x000000010f55702c $Ss10CollectionPsE7flatMapySaySSGSSSg7ElementQzKXEKF + 4280282668
10 swift 0x0000000108f01a2d llvm::MCJIT::runFunction(llvm::Function*, llvm::ArrayRef<llvm::GenericValue>) + 365
11 swift 0x0000000108f0842c llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const*) + 1004
12 swift 0x000000010817934b performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 52555
13 swift 0x000000010816910f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7839
14 swift 0x0000000108112c48 main + 13144
15 libdyld.dylib 0x00007fff5fdcf015 start + 1
Stack dump:
0. Program arguments: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -interpret /Users/mondo/Developer/swift-source/swift/benchmark/Package.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4 -suppress-warnings -swift-version 4 -module-name Package -lPackageDescription -- -fileno 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment