johnezang / JSONKit

Objective-C JSON
6.21k stars 1.66k forks source link

Crash on jk_managedBuffer_resize #150

Open loretoparisi opened 10 years ago

loretoparisi commented 10 years ago

iOS 7.1 / iPhone5

Thread : Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0x2db2cf03 exceptionPreprocess + 130 1 libobjc.A.dylib 0x382c1ce7 objc_exception_throw + 38 2 CoreFoundation 0x2db2cdd5 +[NSException raise:format:] 3 Foundation 0x2e4d9e8b -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 86 4 musiXmatch 0x00307d5d jk_managedBuffer_resize (JSONKit.m:1190) 5 musiXmatch 0x0030a2d5 jk_parse_next_token (JSONKit.m:1459) 6 musiXmatch 0x0030a75b jk_object_for_token (JSONKit.m:1917) 7 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 8 musiXmatch 0x0030a875 jk_object_for_token (JSONKit.m:1853) 9 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 10 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 11 musiXmatch 0x0030a875 jk_object_for_token (JSONKit.m:1853) 12 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 13 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 14 musiXmatch 0x0030a77f jk_object_for_token (JSONKit.m:1927) 15 musiXmatch 0x0030488b _JKParseUTF8String (JSONKit.m:1951) 16 musiXmatch 0x00304fef -JSONDecoder objectWithData:error: 17 musiXmatch 0x0031a037 -MXMLoader mXmRequestDidFinish:withCache: 18 musiXmatch 0x0035a735 -MXMArtistImagesLoader mXmRequestDidFinish: 19 musiXmatch 0x0034ad45 -ASIHTTPRequest reportFinished 20 Foundation 0x2e515c23 NSThreadPerformPerform + 386 21 CoreFoundation 0x2daf7fe7 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 14 22 CoreFoundation 0x2daf74af CFRunLoopDoSources0 + 206 23 CoreFoundation 0x2daf5c9f CFRunLoopRun + 630 24 CoreFoundation 0x2da607a9 CFRunLoopRunSpecific + 524 25 CoreFoundation 0x2da6058b CFRunLoopRunInMode + 106 26 GraphicsServices 0x329cd6d3 GSEventRunModal + 138 27 UIKit 0x303bf891 UIApplicationMain + 1136 28 musiXmatch 0x000e0987 main (main.m:12) 29 libdyld.dylib 0x387bfab7 start + 2