Problem with the Sample application on iPad 3.2 - crash with EXC_BAD_ACCESS

Anonimous's Avatar


21 Jun, 2011 04:46 PM


First of all, let me say how much I am impressed with FastPDFKit and what it can do. That being said, I downloaded the source code yesterday (881908a) and compiled the FastPdfKit Sample project for iPhone Device 3.2 base SDK and then ran it on iPad. I am experiencing EXC_BAD_ACCESS pointers any time I am trying to search the supplied unencrypted document (FastPdfKit.pdf) for virtually any word - some search results will appear in the results table, but then the crash invariably happens.

Attached please find the screenshot of the stack so you can see where it happens. To reproduce, try to search for word "index".

Thank you. Please let me know if you guys plan to fix this some time soon....


  1. 1 Posted by Nicolò on 24 Jun, 2011 10:15 AM

    Nicolò's Avatar

    It seems to only affect iOS 3.2. It is provoked by an internal error of the Quartz pdf library in certain circumstances, evidently fixed since iOS 4.0. Anyway, is now fixed and will be online soon.

  2. 2 Posted by Anonimous on 24 Jun, 2011 10:16 AM

    Anonimous's Avatar

    I can confirm that this issue is solved. Thank you!

    Hi, it crashed in my iOS 3.1.3 because you use method [NSBundel URLForResource:withExtension]. I've downloaded the latest update (04/21/2011) but it still this error.

  3. Support Staff 3 Posted by Matteo on 24 Jun, 2011 10:17 AM

    Matteo's Avatar

    Thanks we will fix it soon.

  4. 4 Posted by Nicolò on 24 Jun, 2011 10:17 AM

    Nicolò's Avatar

    Occurrences of URLForResource have been replace with pathForResources:ofType + fileURLWithPath:. The fix will be online with the next update.

  5. Nicolò closed this discussion on 24 Jun, 2011 10:17 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac