[swift-dev] Compiler crash when optimisation enabled

Mark Woollard mark.woollard at mac.com
Fri Apr 7 10:32:13 CDT 2017


https://bugs.swift.org/browse/SR-4528 <https://bugs.swift.org/browse/SR-4528>

> On 7 Apr 2017, at 16:22, Johannes Weiß <johannesweiss at apple.com> wrote:
> 
> fantastic, that's definitely a Swift/LLVM bug. From what I can see the most relevant bit is
> 
> --- SNIP ---
>>  "output": "PHI node operands are not the same type as the result!\n  %384 = phi %CSo7UIColor* [ %395, %394 ], [ %377, %379 ], !dbg !469\nPHI node operands are not the same type as the result!\n  %395 = phi %CSo7UIColor* [ %349, %346 ], [ %377, %378 ], !dbg !469\nPHI node operands are not the same type as the result!\n  %738 = phi %CSo7UIColor* [ %749, %748 ], [ %731, %733 ], !dbg !517\nPHI node operands are not the same type as the result!\n  %749 = phi %CSo7UIColor* [ %703, %700 ], [ %731, %732 ], !dbg !517\nPHI node operands are not the same type as the result!\n  %1109 = phi %CSo7UIColor* [ %1125, %1124 ], [ %1102, %1104 ], !dbg !562\nPHI node operands are not the same type as the result!\n  %1125 = phi %CSo7UIColor* [ %1074, %1071 ], [ %1102, %1103 ], !dbg !562\nPHI node operands are not the same type as the result!\n  %1462 = phi %CSo7UIColor* [ %1478, %1477 ], [ %1455, %1457 ], !dbg !604\nPHI node operands are not the same type as the result!\n  %1478 = phi %CSo7UIColor* [ %1427, %1424 ], [ %1455, %1456 ], !dbg !604\nLLVM ERROR: Broken function found, compilation aborted!\n",
> --- SNAP ---
> 
> I'm sure the Swift developers will be most interested in a bug report will all this info.
> 
> Cheers,
>  Johannes
> 
>> On 7 Apr 2017, at 15:39, Mark Woollard <mark.woollard at mac.com> wrote:
>> 
>> Looks like running in Terminal may give you a lot more of a clue, got the following output:
>> 
>> 17227
>> {
>>  "kind": "began",
>>  "name": "compile",
>>  "command": "\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/swift -frontend -emit-bc \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppearanceManager.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppAgenciesRequest.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppOperatorsResponse.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/ProductOptionsManager.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/GeoJSON.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/PlacePointPropertiesService.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/ColorTheme.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/Dip.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppSearchRequest.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/CodeableAgency.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppSearchResponse.swift \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/DipObjCAdapter.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk \/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/SDKs\/iPhoneOS10.3.sdk -I \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/BuildProductsPath\/Release-iphoneos -F \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/BuildProductsPath\/Release-iphoneos -F \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios -F \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/..\/Fabric -F \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/..\/GoogleMaps -F \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/..\/Facebook -F \/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/..\/GoogleSignIn -application-extension -g -import-underlying-module -module-cache-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ModuleCache -D RELEASE -serialize-debugging-options -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/swift-overrides.hmap -Xcc -iquote -Xcc \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/CheckerShared-generated-files.hmap -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/CheckerShared-own-target-headers.hmap -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/CheckerShared-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/all-product-headers.yaml -Xcc -iquote -Xcc \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/CheckerShared-project-headers.hmap -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/BuildProductsPath\/Release-iphoneos\/include -Xcc -I\/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/include -Xcc -IFAGeneralCategories -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64 -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/DerivedSources\/arm64 -Xcc -I\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/DerivedSources -Xcc -DNS_BLOCK_ASSERTIONS -Xcc -ivfsoverlay -Xcc \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/unextended-module-overlay.yaml -Xcc -working-directory\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios -emit-module-doc-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared.swiftdoc -color-diagnostics -serialize-diagnostics-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.dia -O -module-name CheckerShared -emit-module-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared.swiftmodule -emit-objc-header-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared-Swift.h -emit-dependencies-path \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.d -num-threads 8 -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppAgenciesRequest.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppOperatorsResponse.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/ProductOptionsManager-600FE8184C73584C.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/GeoJSON.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/PlacePointPropertiesService.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/ColorTheme.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/Dip.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppSearchRequest.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CodeableAgency.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppSearchResponse.bc -o \/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/DipObjCAdapter.bc",
>>  "inputs": [
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppearanceManager.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppAgenciesRequest.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppOperatorsResponse.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/ProductOptionsManager.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/GeoJSON.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/PlacePointPropertiesService.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/ColorTheme.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/Dip.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppSearchRequest.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/CodeableAgency.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/AppSearchResponse.swift",
>>    "\/Users\/markw\/UrbanThings\/zt\/checker_frameworks_ios\/CheckerShared\/DipObjCAdapter.swift"
>>  ],
>>  "outputs": [
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppAgenciesRequest.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppOperatorsResponse.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/ProductOptionsManager-600FE8184C73584C.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/GeoJSON.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/PlacePointPropertiesService.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/ColorTheme.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/Dip.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppSearchRequest.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CodeableAgency.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppSearchResponse.bc"
>>    },
>>    {
>>      "type": "llvm-bc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/DipObjCAdapter.bc"
>>    },
>>    {
>>      "type": "dependencies",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.d"
>>    },
>>    {
>>      "type": "swiftmodule",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared.swiftmodule"
>>    },
>>    {
>>      "type": "swiftdoc",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared.swiftdoc"
>>    },
>>    {
>>      "type": "diagnostics",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/AppearanceManager.dia"
>>    },
>>    {
>>      "type": "objc-header",
>>      "path": "\/Users\/markw\/Library\/Developer\/Xcode\/DerivedData\/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn\/Build\/Intermediates\/ArchiveIntermediates\/ZipTrip\/IntermediateBuildFilesPath\/Checker.build\/Release-iphoneos\/CheckerShared.build\/Objects-normal\/arm64\/CheckerShared-Swift.h"
>>    }
>>  ],
>>  "pid": 73085
>> }
>> 1182
>> {
>>  "kind": "finished",
>>  "name": "compile",
>>  "pid": 73085,
>>  "output": "PHI node operands are not the same type as the result!\n  %384 = phi %CSo7UIColor* [ %395, %394 ], [ %377, %379 ], !dbg !469\nPHI node operands are not the same type as the result!\n  %395 = phi %CSo7UIColor* [ %349, %346 ], [ %377, %378 ], !dbg !469\nPHI node operands are not the same type as the result!\n  %738 = phi %CSo7UIColor* [ %749, %748 ], [ %731, %733 ], !dbg !517\nPHI node operands are not the same type as the result!\n  %749 = phi %CSo7UIColor* [ %703, %700 ], [ %731, %732 ], !dbg !517\nPHI node operands are not the same type as the result!\n  %1109 = phi %CSo7UIColor* [ %1125, %1124 ], [ %1102, %1104 ], !dbg !562\nPHI node operands are not the same type as the result!\n  %1125 = phi %CSo7UIColor* [ %1074, %1071 ], [ %1102, %1103 ], !dbg !562\nPHI node operands are not the same type as the result!\n  %1462 = phi %CSo7UIColor* [ %1478, %1477 ], [ %1455, %1457 ], !dbg !604\nPHI node operands are not the same type as the result!\n  %1478 = phi %CSo7UIColor* [ %1427, %1424 ], [ %1455, %1456 ], !dbg !604\nLLVM ERROR: Broken function found, compilation aborted!\n",
>>  "exit-status": 1
>> }
>> 
>>> On 7 Apr 2017, at 12:59, Johannes Weiß <johannesweiss at apple.com> wrote:
>>> 
>>> Hi,
>>> 
>>> So as far as I know Xcode doesn't really discriminate between exit codes and signals. So it could be signal 1 (SIGHUP, unlikely) or exit code 1 (more likely). I guess the next step would be to open Terminal.app and just paste everything from the step that's failing in the Xcode build output.
>>> 
>>> Ie paste all of this:
>>> 
>>> --- SNIP ---
>>>   cd /Users/markw/UrbanThings/zt/checker_frameworks_ios
>>>   export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
>>>   export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>>   export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
>>>   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name CheckerShared -O -whole-module-optimization -DRELEASE -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/markw/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -application-extension -embed-bitcode -I /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos -F /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos -F /Users/markw/UrbanThings/zt/checker_frameworks_ios -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../Fabric -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../GoogleMaps -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../Facebook -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../GoogleSignIn -c -num-threads 8 /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppearanceManager.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppAgenciesRequest.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppOperatorsResponse.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/ProductOptionsManager.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/GeoJSON.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/PlacePointPropertiesService.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/ColorTheme.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/Dip.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppSearchRequest.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/CodeableAgency.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppSearchResponse.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/DipObjCAdapter.swift -output-file-map /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared.swiftmodule -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-generated-files.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-own-target-headers.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-project-headers.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -IFAGeneralCategories -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64 -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/DerivedSources/arm64 -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/DerivedSources -Xcc -DNS_BLOCK_ASSERTIONS -emit-objc-header -emit-objc-header-path /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/markw/UrbanThings/zt/checker_frameworks_ios
>>> 
>>> echo "Exit code is $?"
>>> 
>>> 
>>> --- SNAP ---
>>> 
>>> that might give you more output and really should print "Exit code is ???" and if ??? is 1, then swiftc actually existed with one. If it's 129 then it would be SIGHUP.
>>> 
>>> Cheers,
>>> Johannes
>>> 
>>> 
>>>> On 7 Apr 2017, at 12:53, Mark Woollard <mark.woollard at mac.com> wrote:
>>>> 
>>>> Here’s the command and failure from Xcode log - exit 1 maybe not a crash I guess since no crash stack or logs but some other decision by the toolchain to fail without any detail :-)
>>>> Mark
>>>> 
>>>> CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
>>>>   cd /Users/markw/UrbanThings/zt/checker_frameworks_ios
>>>>   export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
>>>>   export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>>>   export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
>>>>   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name CheckerShared -O -whole-module-optimization -DRELEASE -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/markw/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -application-extension -embed-bitcode -I /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos -F /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos -F /Users/markw/UrbanThings/zt/checker_frameworks_ios -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../Fabric -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../GoogleMaps -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../Facebook -F /Users/markw/UrbanThings/zt/checker_frameworks_ios/../GoogleSignIn -c -num-threads 8 /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppearanceManager.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppAgenciesRequest.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppOperatorsResponse.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/ProductOptionsManager.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/GeoJSON.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/PlacePointPropertiesService.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/ColorTheme.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/Dip.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppSearchRequest.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/CodeableAgency.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/AppSearchResponse.swift /Users/markw/UrbanThings/zt/checker_frameworks_ios/CheckerShared/DipObjCAdapter.swift -output-file-map /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared.swiftmodule -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-generated-files.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-own-target-headers.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/CheckerShared-project-headers.hmap -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/BuildProductsPath/Release-iphoneos/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -IFAGeneralCategories -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64 -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/DerivedSources/arm64 -Xcc -I/Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/DerivedSources -Xcc -DNS_BLOCK_ASSERTIONS -emit-objc-header -emit-objc-header-path /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/Objects-normal/arm64/CheckerShared-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/markw/Library/Developer/Xcode/DerivedData/ZipTrip-fnpqeenuvfvjnbcckyfzwkgbdlxn/Build/Intermediates/ArchiveIntermediates/ZipTrip/IntermediateBuildFilesPath/Checker.build/Release-iphoneos/CheckerShared.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/markw/UrbanThings/zt/checker_frameworks_ios
>>>> 
>>>> Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
>>>> 
>>>>> On 7 Apr 2017, at 12:50, Johannes Weiß <johannesweiss at apple.com> wrote:
>>>>> 
>>>>> Ok, one more question: How do you know swiftc crashed, what exactly is printed?
>>>>> 
>>>>> In Xcode for example, do you see something like
>>>>> 
>>>>> Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6
>>>>> 
>>>>> in the "Report navigator". Maybe you could paste the whole swiftc invocation and it's exit code / the signal it existed with.
>>>>> 
>>>>> Thanks, Johannes
>>>>> 
>>>>>> On 7 Apr 2017, at 12:46, Mark Woollard <mark.woollard at mac.com> wrote:
>>>>>> 
>>>>>> Nothing in the system wide logs (not even a diagnostics directory there) - I’ll wait and see what the West Coast guys have to say :-)
>>>>>> Mark
>>>>>> 
>>>>>>> On 7 Apr 2017, at 12:44, Johannes Weiß <johannesweiss at apple.com> wrote:
>>>>>>> 
>>>>>>> Hi Mark,
>>>>>>> 
>>>>>>> 
>>>>>>>> Here’s the directory although these are all old and not related to the crash under discussion (the most recent crash is for swiftc 800.0.63, the Xcode 3.1 toolchain appears to be 802.0.48). I was able to reproduce today with Xcode 8.3.1 update but no log with today’s date. 
>>>>>>> 
>>>>>>> oh, that's interesting. Just for completeness, maybe it went into the system wide reports (unlikely):
>>>>>>> 
>>>>>>> ls /Library/Logs/DiagnosticReports/swift*.crash
>>>>>>> 
>>>>>>> ?
>>>>>>> 
>>>>>>> 
>>>>>>>> I’ll file a bug report, if anything else you think worth my trying to help understand cause let me know. I’ve build Swift toolchain from source in the past so could try setting up with debug version etc. to see if that gets any further info.
>>>>>>> 
>>>>>>> That sounds like it could prove really helpful. Most of the Swift core devs are in California so they'll wake up in a couple of hours and might have some more questions.
>>>>>>> 
>>>>>>> Many thanks,
>>>>>>> Johannes
>>>>>>> 
>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Mark
>>>>>>>> 
>>>>>>>> $ ls ~/Library/Logs/DiagnosticReports/swift*.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-18-114620_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-18-134122_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-18-134156_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-18-134450_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-18-173731_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-075327_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-081344_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-090802_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-090921_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-094003_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-094027_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-095907_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-201252_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-19-201726_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-20-065123_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-20-065148_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-20-065323_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-20-070358_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-20-103428_MacBook-Pro-5.crash
>>>>>>>> /Users/markw/Library/Logs/DiagnosticReports/swift_2017-03-24-075534_MacBook-Pro-5.crash
>>>>>>>> 
>>>>>>>>> On 7 Apr 2017, at 12:00, Johannes Weiß <johannesweiss at apple.com> wrote:
>>>>>>>>> 
>>>>>>>>> Hi Mark,
>>>>>>>>> 
>>>>>>>>> That's unfortunate. Assuming you're on macOS, do you mind running
>>>>>>>>> 
>>>>>>>>> ls ~/Library/Logs/DiagnosticReports/swift*.crash
>>>>>>>>> 
>>>>>>>>> that might reveal some compiler crash reports. If yes I think the best would be to file a bug for these crashes on http://bugs.swift.org . What presumably would be most helpful is a small reproduction of that crash but I realise that can be hard at times...
>>>>>>>>> 
>>>>>>>>> Thanks,
>>>>>>>>> Johannes
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> On 7 Apr 2017, at 07:31, Mark Woollard via swift-dev <swift-dev at swift.org> wrote:
>>>>>>>>>> 
>>>>>>>>>> Following upgrade to Xcode 8.3 / Swift 3.1 I have a project where the compiler is crashing when Swift optimisation is enabled in release builds (whole module or single file). Project builds fine for earlier compiler releases. The crash gives no stack trace in console. The crash occurs for one framework component within a complex project with multiple frameworks + app with lots of inter-dependency so its hard to know what specifically is causing the issue or produce something to reproduce and file with a bug report. If I turn off optimisation for that one framework the whole project builds.
>>>>>>>>>> 
>>>>>>>>>> I gather crashes related to optimisation have been seen by others from discussions I’ve seen elsewhere ?
>>>>>>>>>> What is the status of the issue, ETA for a fix ?
>>>>>>>>>> Is there anything I can do to help provide info to fix the issue ? I might be able to build debug version of compiler and try and use it under debugger with the project for example, or is there anything else I can do to get you useful info ?
>>>>>>>>>> 
>>>>>>>>>> Thanks
>>>>>>>>>> Mark
>>>>>>>>>> _______________________________________________
>>>>>>>>>> swift-dev mailing list
>>>>>>>>>> swift-dev at swift.org
>>>>>>>>>> https://lists.swift.org/mailman/listinfo/swift-dev
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170407/05870173/attachment.html>


More information about the swift-dev mailing list