[swift-dev] Is developer snapshot 2016-07-29 broken?

Joe Groff jgroff at apple.com
Mon Aug 1 18:11:03 CDT 2016


> On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev <swift-dev at swift.org> wrote:
> 
> I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

> 
> MergeSwiftModule normal x86_64 /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
>     cd /Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin
>     /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
> 
> 0  swift                    0x0000000112971c7b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
> 1  swift                    0x0000000112970ec6 llvm::sys::RunSignalHandlers() + 70
> 2  swift                    0x00000001129723cf SignalHandler(int) + 383
> 3  libsystem_platform.dylib 0x0000000115177d7a _sigtramp + 26
> 4  libsystem_platform.dylib 0x0000000000000045 _sigtramp + 3941106405
> 5  swift                    0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
> 6  swift                    0x00000001101682f7 (anonymous namespace)::ObjCPrinter::printCollectionElement(swift::Type) + 279
> 7  swift                    0x0000000110167fd6 (anonymous namespace)::ObjCPrinter::printObjCBridgeableType(swift::NominalTypeDecl const*, swift::ClassDecl const*, llvm::ArrayRef<swift::Type>, llvm::Optional<swift::OptionalTypeKind>) + 550
> 8  swift                    0x000000011016374d swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 1725
> 9  swift                    0x0000000110163a26 swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 2454
> 10 swift                    0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
> 11 swift                    0x000000011016e8c6 (anonymous namespace)::ObjCPrinter::printAbstractFunctionAsMethod(swift::AbstractFunctionDecl*, bool, bool) + 2118
> 12 swift                    0x000000011016dcd2 (anonymous namespace)::ObjCPrinter::printMembers(swift::IteratorRange<swift::DeclIterator>) + 338
> 13 swift                    0x000000011016c640 swift::ASTVisitor<(anonymous namespace)::ObjCPrinter, void, void, void, void, void, void>::visit(swift::Decl*) + 4768
> 14 swift                    0x000000011015ec74 swift::printAsObjC(llvm::raw_ostream&, swift::ModuleDecl*, llvm::StringRef, swift::Accessibility) + 1700
> 15 swift                    0x000000010fccaafe printAsObjC(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, swift::ModuleDecl*, llvm::StringRef, bool) + 462
> 16 swift                    0x000000010fcc962a performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) + 14746
> 17 swift                    0x000000010fcc49bf swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2895
> 18 swift                    0x000000010fc87390 main + 2448
> 19 libdyld.dylib            0x0000000114e56255 start + 1
> 20 libdyld.dylib            0x0000000000000040 start + 3944390124
> Stack dump:
> 0.	Program arguments: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule 
> 1.	While generating Objective-C header
> 2.	While printing declaration 0x7fd1ac17fda0 at <invalid loc>
> 3.	While printing type '[String : Any]'
> 4.	While printing NULL type!
> 
> 
> 
> > Is it only me or is anyone else unable to use snapshot 2016-07-29-a?
> > 
> > In Xcode 8 beta 3, selecting that toolchain, creating a new command line app, and trying to compile it results in:
> > ld: library not found for -lswiftDispatch for architecture x86_64
> > 
> > /Jens
> > 
> > 
> > 
> > 
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev



More information about the swift-dev mailing list