Skip to content

AV in LIBOBJC2.DLL!isEmptyProtocol() when loading a module that implements *only* a forward-declared protocol #1647

Closed

Description

I thought we fixed this last march, but I am still able to reproduce the issue easily:

  1. Once UIKit has hilarious include issues #1380 goes in, comment out the bottom line of UIApplication.h that #imports UIApplicationDelegate.h
  2. Rebuild the functional tests
  3. Run the functional tests under the debugger

You'll hit an AV in isEmptyProtocol() because the functional tests implement an undefined/forward-declared UIApplicationDelegate protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions