Uploaded image for project: 'Swift'
  1. Swift
  2. SR-7892

Swift compiler crashes with `error: Abort trap: 6` status

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: None
    • Labels:
      None
    • Environment:

      Xcode 10 beta 1, Swift 4.2, macOS 10.13.5

      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

       

       

      You can try by building `https://github.com/omise/omise-ios/` repository on `swift-4.2` branch on the `OmiseSDK` scheme

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pitiphong.p Pitiphong Phongpattranont
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: