Closed pitiphong-p closed 6 years ago
duplicates:
Issue Description:
Hello, I tried the Xcode 10 with the Swift 4.2 and found that the Swift compiler crashes on one of our open source projects with
\<unknown>:0: error: fatal error encountered while reading from module 'OmiseSDK'; please file a bug report with your project and the crash log * ** DESERIALIZATION FAILURE (please include this section in any bug report) *** result is ambiguous 0 swift 0x0000000109229c5a PrintStackTraceSignalHandler(void*) + 42 1 swift 0x0000000109229066 SignalHandler(int) + 966 2 libsystem_platform.dylib 0x00007fff66317f5a _sigtramp + 26 3 libsystem_platform.dylib 0x000000010d668608 _sigtramp + 2805270216 4 libsystem_c.dylib 0x00007fff660b51ae abort + 127 5 swift 0x00000001066cf99b swift::ModuleFile::fatal(llvm::Error) + 1915 6 swift 0x00000001067074d2 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890 7 swift 0x00000001067b1f9a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234 8 swift 0x0000000105504dbe performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef\<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750 9 swift 0x00000001054f910f swift::performFrontend(llvm::ArrayRef\<char const*>, char const*, void*, swift::FrontendObserver*) + 7839 10 swift 0x00000001054a2c48 main + 13144 11 libdyld.dylib 0x00007fff66009015 start + 1 12 libdyld.dylib 0x0000000000000061 start + 2583654477 ... 1. While deserializing SIL global "UIEdgeInsetsZero" error: Abort trap: 6
\<unknown>:0: error: fatal error encountered while reading from module 'OmiseSDK'; please file a bug report with your project and the crash log
*
**
result is ambiguous
0 swift 0x0000000109229c5a PrintStackTraceSignalHandler(void*) + 42
1 swift 0x0000000109229066 SignalHandler(int) + 966
2 libsystem_platform.dylib 0x00007fff66317f5a _sigtramp + 26
3 libsystem_platform.dylib 0x000000010d668608 _sigtramp + 2805270216
4 libsystem_c.dylib 0x00007fff660b51ae abort + 127
5 swift 0x00000001066cf99b swift::ModuleFile::fatal(llvm::Error) + 1915
6 swift 0x00000001067074d2 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890
7 swift 0x00000001067b1f9a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234
8 swift 0x0000000105504dbe performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef\<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750
9 swift 0x00000001054f910f swift::performFrontend(llvm::ArrayRef\<char const*>, char const*, void*, swift::FrontendObserver*) + 7839
10 swift 0x00000001054a2c48 main + 13144
11 libdyld.dylib 0x00007fff66009015 start + 1
12 libdyld.dylib 0x0000000000000061 start + 2583654477
...
1. While deserializing SIL global "UIEdgeInsetsZero"
error: Abort trap: 6
You can try by building `https://github.com/omise/omise-ios/` repository on `swift-4.2` branch on the `OmiseSDK` scheme
I believe that this is a duplicate of SR-7879.
@nevil Oh year, you're right 🙂
Environment
Xcode 10 beta 1, Swift 4.2, macOS 10.13.5Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 6ea5e76f7748c472ced3191612024aefduplicates:
Issue Description:
Hello, I tried the Xcode 10 with the Swift 4.2 and found that the Swift compiler crashes on one of our open source projects with
You can try by building `https://github.com/omise/omise-ios/` repository on `swift-4.2` branch on the `OmiseSDK` scheme