Getting exc_bad_access error only when mallocguard is enabled

Posted by Nareshkumar on Stack Overflow See other posts from Stack Overflow or by Nareshkumar
Published on 2010-02-08T10:16:24Z Indexed on 2010/05/03 0:08 UTC
Read the original article Hit count: 213

Filed under:
|
|

I have an app for iPhone in development which works properly when the Malloc guard is not enabled. However when i try to enable the malloc guard i get the following error after the app is loaded.

#0  0x95f65684 in objc_msgSend ()

#1 0x30506515 in NSPopAutoreleasePool ()

#2 0x30901697 in _UIApplicationHandleEvent ()

#3 0x32046375 in PurpleEventCallback ()

#4 0x30245560 in CFRunLoopRunSpecific ()

#5 0x30244628 in CFRunLoopRunInMode ()

#6 0x308f930d in -[UIApplication _run] ()

#7 0x309021ee in UIApplicationMain () Now my problem is that i am not able to debug the exact location where its getting the error.. have tried malloc_error_break but didnt work out. Is it that malloc guard enabling auto releases some of the objects based on allocation??

© Stack Overflow or respective owner

Related posts about iphone

Related posts about malloc