photokandyStudios / gbible

Greek Interlinear Bible for iOS (native)
http://www.photokandy.com/apps/gib
41 stars 31 forks source link

Searches with extra spaces (or only spaces) crash the app #79

Closed kerrishotts closed 11 years ago

kerrishotts commented 11 years ago

-[__NSCFString characterAtIndex:]: Range or index out of bounds 5 gbible 0x000ab8cd +PKBible passagesMatching:withGreekBible:andEnglishBible: 6 gbible 0x000ab779 +PKBible passagesMatching:requireParsings:...

0 CoreFoundation 0x3716888f exceptionPreprocess + 163 1 libobjc.A.dylib 0x34e6d259 objc_exception_throw + 33 2 CoreFoundation 0x37168789 +[NSException raise:format:] + 1 3 CoreFoundation 0x371687ab +[NSException raise:format:] + 35 4 CoreFoundation 0x370d5fed -[NSCFString characterAtIndex:] + 89 5 gbible 0x000ab8cd +PKBible passagesMatching:withGreekBible:andEnglishBible: 6 gbible 0x000ab779 +PKBible passagesMatching:requireParsings: 7 gbible 0x000b2e4d __58-[PKSearchViewController doSearchForTerm:requireParsings:]_block_invoke_0 (PKSearchViewController.m:59) 8 libdispatch.dylib 0x30288c59 _dispatch_call_block_and_release + 13 9 libdispatch.dylib 0x302939a9 _dispatch_after_timer_callback + 13 10 libdispatch.dylib 0x30296259 _dispatch_source_invoke + 517 11 libdispatch.dylib 0x30293b25 _dispatch_queue_invoke$VARIANT$up + 49 12 libdispatch.dylib 0x30293e6b _dispatch_main_queue_callback_4CF$VARIANT$up + 159 13 CoreFoundation 0x3713b2ad __CFRunLoopRun + 1269 14 CoreFoundation 0x370be4a5 CFRunLoopRunSpecific + 301 15 CoreFoundation 0x370be36d CFRunLoopRunInMode + 105 16 GraphicsServices 0x3387d439 GSEventRunModal + 137 17 UIKit 0x30e6acd5 UIApplicationMain + 1081 18 gbible 0x000852d7 main (main.m:16) 19 gbible 0x0007d3a8 start + 40