JSONKit icon indicating copy to clipboard operation
JSONKit copied to clipboard

After update to iOS 7.1 and Xcode 5.1

Open brightsider opened this issue 11 years ago • 3 comments

My app now crash when view disappear. Before update app was not crashed.

Log: malloc: *** error for object 0x14643bf4: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug

Highlighted string:

if(JK_EXPECT_T((parseState->cache.items[bucket].bytes = (unsigned char *)reallocf(parseState->cache.items[bucket].bytes, parseState->token.value.ptrRange.length)) != NULL)) in function static void *jk_cachedObjects(JKParseState *parseState)

brightsider avatar Mar 11 '14 07:03 brightsider

I'm fix Xcode warnings for NSInteger types with adding (unsigned long) and app stop crashes.

Crashes still have not stopped. Help!

brightsider avatar Mar 11 '14 07:03 brightsider

You might have to remove the 64 bit architecture from your project settings. My guess is this is happening because Apple added arm64 as part of the standard architectures. You might have to manually set it to armv7, armv7s...

etiennemartin avatar Mar 11 '14 19:03 etiennemartin

Hi, so JSONKit not support arm64 yet. I also got this issue when building my app with architect arm64.

ttv100682 avatar Mar 14 '14 09:03 ttv100682