How can logging a pointer value cause EXC_BAD_ACCESS?
I'm really losing it; or maybe I never understood to begin with. How can this code crash? - (void)dealloc { NSLog(@0988 %p %s, self, __PRETTY_FUNCTION__) ; NSLog(@1250 ) ; CRASH- int myPointer = (int)m_managedObjectContext ; NSLog(@1335 myPointer =
Re: How can logging a pointer value cause EXC_BAD_ACCESS?
On Sun, May 29, 2011 at 1:30 PM, Jerry Krinock je...@ieee.org wrote: I'm really losing it; or maybe I never understood to begin with. How can this code crash? - (void)dealloc { NSLog(@0988 %p %s, self, __PRETTY_FUNCTION__) ; NSLog(@1250 ) ; CRASH- int