Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #2838
jaredhms opened this issue Jan 6, 2017 · 1 comment

Comments

@jaredhms
Copy link
Contributor

jaredhms commented Jan 6, 2017

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
Projects
None yet
Development

No branches or pull requests

5 participants