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

Crash in MFTextStateGlyphData #80

Open
RobbeVDC opened this issue Sep 16, 2016 · 2 comments
Open

Crash in MFTextStateGlyphData #80

RobbeVDC opened this issue Sep 16, 2016 · 2 comments

Comments

@RobbeVDC
Copy link

RobbeVDC commented Sep 16, 2016

Happens on iOS 9 and iOS 10 and not sure why.

-[MFTextStateGlyphData showCodes:length:]: unrecognized selector sent to instance 0x78a91400
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MFTextStateGlyphData showCodes:length:]: unrecognized selector sent to instance 0x78a91400'

Any idea what's going on?

@RobbeVDC
Copy link
Author

Any update on this?

100 % reproducible I'm afraid. Happens after calling glyphBoxesForPage: in the MFDocumentManager.h file.
When this method is called, the app crashes:

 -[MFTextStateGlyphData showCodes:length:]: unrecognized selector sent to instance 0x1011a2600
2016-10-10 10:43:23.918861 SWIFTBoard[457:125918] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MFTextStateGlyphData showCodes:length:]: unrecognized selector sent to instance 0x1011a2600'
*** First throw call stack:
(0x18fa4c1c0 0x18e48455c 0x18fa53278 0x18fa50278 0x18f94a59c 0x10011f624 0x19119eeb8 0x19119e6f4 0x10011f37c 0x10012caa8 0x1000cee30 0x1000be19c 0x195e5c83c 0x195e5ff44 0x195a21614 0x1958bfb54 0x195e4ff88 0x18f9f97dc 0x18f9f740c 0x18f9f789c 0x18f926048 0x1913a9198 0x1958f9628 0x1958f4360 0x1000a988c 0x18e9085b8)
libc++abi.dylib: terminating with uncaught exception of type NSException

@RobbeVDC
Copy link
Author

RobbeVDC commented Dec 9, 2016

I have updated to the latest version on the develop branch. It still crashes on exactly the same thing, however there is some more info in the logs:
You must override showCodes:length:adjustment: in a subclass

Any update on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant