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 when using wholeTextForPage #84

Open
muchabartek opened this issue Jan 10, 2017 · 0 comments
Open

Crash when using wholeTextForPage #84

muchabartek opened this issue Jan 10, 2017 · 0 comments

Comments

@muchabartek
Copy link

Hi, first of all thanks for this great library, we are using it for quite a long time and it is very useful to us.

Unfortunately we have a problem wholeTextForPage method. When we try to search for text application crashes in -[MFToUnicodeCMapScannerMultibyte scan] due to EXC_BAD_ACCESS issue. This crash occurs on iOS 10.2 (any other iOS versions parsing is successful). Document is in Korean language.

#1	0x0000000100109848 in -[MFToUnicodeCMapScannerMultibyte scan]
#2	0x00000001001039d9 in parseToUnicodeCMapStreamMultibyte
#3	0x000000010010484d in sniffType0Font
#4	0x00000001001058ef in fontDictionarySnifferFunction
#5	0x00000001014b4233 in CGPDFDictionaryApplyFunction ()
#6	0x0000000100105a8e in -[MFStreamScanner scan]
#7	0x0000000100110d14 in -[MFDocumentManager wholeTextForPage:]

Is there any way to fix it using current version of library, or to provide any hotfix so that we can successfully use it under latest iOS?

If needed I can provide a test pdf which is failing, but please provide an email address or any other option share this file securely, as it's not something I can share to anyone.
Any help appreaciated.

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