Originator:jforester
Number:rdar://40823324 Date Originated:6/5/18
Status: Resolved:
Product:Xcode/Swift Product Version:4.2
Classification: Reproducible:Yes
 
Summary:

After converting to Swift 4.2, compiler crashes during compilation.

Steps to Reproduce:

Compiler after Swift 4.2 migration 

Version/Build:

4.2

Stack trace:

*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
result is ambiguous
0  swift                    0x0000000112935c5a PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x0000000112935066 SignalHandler(int) + 966
2  libsystem_platform.dylib 0x00007fff73600f5a _sigtramp + 26
3  libsystem_platform.dylib 0x000000011c7752c4 _sigtramp + 2836874116
4  libsystem_c.dylib        0x00007fff7339e1ae abort + 127
5  swift                    0x000000010fddb99b swift::ModuleFile::fatal(llvm::Error) + 1915
6  swift                    0x000000010fe134d2 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890
7  swift                    0x000000010febdf9a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234
8  swift                    0x000000010ec10dbe performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750
9  swift                    0x000000010ec0510f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7839
10 swift                    0x000000010ebaec48 main + 13144
11 libdyld.dylib            0x00007fff732f2015 start + 1
12 libdyld.dylib            0x0000000000000071 start + 2362499165

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!