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

Xcode 10: Trap 6 in Merge swiftmodule

    Details

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

      Xcode 10 beta 1

      Description

      Since Xcode 10 we cannot build our project anymore with SWIFT_COMPILATION_MODE = singlefile. For SWIFT_COMPILATION_MODE = wholemodule it compiles fine. For singlefile, we get the following build error:

      <unknown>:0: error: fatal error encountered while reading from module 'Willhaben'; 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                    0x00000001071dfc5a PrintStackTraceSignalHandler(void*) + 42
      1  swift                    0x00000001071df066 SignalHandler(int) + 966
      2  libsystem_platform.dylib 0x00007fff588eaf5a _sigtramp + 26
      3  libsystem_platform.dylib 0x00007ffeec7ca328 _sigtramp + 2481845224
      4  libsystem_c.dylib        0x00007fff586881ae abort + 127
      5  swift                    0x000000010468599b swift::ModuleFile::fatal(llvm::Error) + 1915
      6  swift                    0x00000001046bd4d2 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890
      7  swift                    0x0000000104767f9a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234
      8  swift                    0x00000001034badbe performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750
      9  swift                    0x00000001034af10f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7839
      10 swift                    0x0000000103458c48 main + 13144
      11 libdyld.dylib            0x00007fff585dc015 start + 1
      [..]
      2.	While deserializing SIL global "UIEdgeInsetsZero"
      error: Abort trap: 6
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fabb Fabian Ehrentraud
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: