EXEC_BAD_ACCES .. with ARC, no ideas
I'm stuck on this bad memory access error. I've tried to look for
"zombies" as i read in other posts, but with no luck! I'm using Automatic
reference counting..
The only thing that makes me suspect is that i changed the project folder
name yesterday, and i've got a lot of errors, wich after i fixed. Then
when the project was working again, i did no particoular changes to the
code, so i really don't understand.
This appens after clicking on a button, even if the method call inside the
button's IBAction is commented, i still got the error.
I had problems with the .pch file, plist, relocated all the folders of the
project to the new path (this yesterday).
* thread #1: tid = 0xadfee, 0x0000000000000000, queue =
'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1,
address=0x0)
frame #0: 0x0000000000000000
frame #1: 0x00007fff8c6ab460 AppKit`-[NSUserDefaultsController
_invokeSingleSelector:withArguments:onKeyPath:] + 99
frame #2: 0x00007fff8c6e9c31
AppKit`-[NSObject(_NSBinderKeyValueCodingAdditions)
_invokeSelector:withArguments:onKeyPath:] + 745
frame #3: 0x00007fff8c311cbd AppKit`-[NSBinder
_invokeSelector:withArguments:onKeyPath:ofObject:mode:raisesForNotApplicableKeys:]
+ 234
frame #4: 0x00007fff8c3121d0 AppKit`-[NSBinder
invokeSelector:withArguments:forBinding:error:] + 173
frame #5: 0x00007fff8c2e2f1e AppKit`-[NSActionBinder
_invokeSelector:withArguments:forBinding:] + 131
frame #6: 0x00007fff8c2e375f AppKit`-[NSActionBinder
_performActionWithCommitEditing:didCommit:contextInfo:] + 314
frame #7: 0x00007fff8c6ed096 AppKit`_NSSendCommitEditingSelector + 267
frame #8: 0x00007fff8c39a288 AppKit`-[NSController
_controllerEditor:didCommit:contextInfo:] + 182
frame #9: 0x00007fff91655d4c CoreFoundation`__invoking___ + 140
frame #10: 0x00007fff91655bb4 CoreFoundation`-[NSInvocation invoke] + 308
frame #11: 0x00007fff916f87f6 CoreFoundation`-[NSInvocation
invokeWithTarget:] + 54
frame #12: 0x00007fff89b38117 Foundation`__NSFireDelayedPerform + 333
frame #13: 0x00007fff916d17a4
CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ +
20
frame #14: 0x00007fff916d12df CoreFoundation`__CFRunLoopDoTimer + 1151
frame #15: 0x00007fff9174296a CoreFoundation`__CFRunLoopDoTimers + 298
frame #16: 0x00007fff9168cb55 CoreFoundation`__CFRunLoopRun + 1525
frame #17: 0x00007fff9168c325 CoreFoundation`CFRunLoopRunSpecific + 309
frame #18: 0x00007fff8ccd7b1d HIToolbox`RunCurrentEventLoopInMode + 226
frame #19: 0x00007fff8ccd7793 HIToolbox`ReceiveNextEventCommon + 173
frame #20: 0x00007fff8ccd76ca
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65
frame #21: 0x00007fff8bf5a5fe AppKit`_DPSNextEvent + 1434
frame #22: 0x00007fff8bf59c4b AppKit`-[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
frame #23: 0x00007fff8bf4dbbc AppKit`-[NSApplication run] + 553
frame #24: 0x00007fff8bf38a53 AppKit`NSApplicationMain + 940
frame #25: 0x0000000100001dd2 Mp3_Radar`main(argc=3,
argv=0x00007fff5fbff838) + 34 at main.m:13
frame #26: 0x0000000100001da4 Mp3_Radar`start + 52
(lldb)
No comments:
Post a Comment