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

Runtime crash when Mirror attempts to access type metadata

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Standard Library
    • Environment:

      Xcode 10.0 (10A255), macOS 10.13.6, Swift 4.2

      Description

      There is EXC_BAD_ACCESS crash during attempt to access Mirror's child when mirror reflects generic with type constraints resolved  to another generic type.

      Crash is always reproducible on Xcode 10 but non-reproducible on Xcode 9.

      Stacktrace and sample project is attached.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            xardas Kanstantsin Charnukha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: