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

LLDB can't load type information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: LLDB for Swift
    • Labels:
      None
    • Environment:
      • Ubuntu 16.04
      • Swift 5.1.2

       

      Description

      I was trying to debug a sigsegv in one of the SwiftNIO tests and ran it with lldb:

      $ while time lldb --batch -o run -k "image list" -k "register read" -k "bt all" -k "exit 134" .build/debug/swift-nioPackageTests.xctest – NIOTests.ChannelTests/testDescriptionCanBeCalledFromNonEventLoopThreads; do true; done

      When the test eventually failed this was the output of bt all:

       
      (lldb) bt all/Users/georgebarnett/workspace/swift-nio/.build/debug/swift-nioPackageTests.xctest: Cannot load Swift type information; AST validation error: The serialized module is corrupted.Unable to load module.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aprantl Adrian Prantl
              Reporter:
              gbrntt George Barnett
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: