Reply To: multiple OpenEars delegates are getting mixed up with ARC on

Home Forums OpenEars multiple OpenEars delegates are getting mixed up with ARC on Reply To: multiple OpenEars delegates are getting mixed up with ARC on

#1021507
gsboris
Participant

IT IS WORKING NOW, sort of, but crashing
it does not call VC1 now from VC2 when I just .delegate=nil on view disappear

it is crashing while trying:
[fliteController say:[txtArr objectAtIndex:hlIndx] withVoice:self.slt];

here is bt:
* thread #1: tid = 0x63a5f, 0x0003d506 AIMExplorer`feat_find_featpair + 70, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=1, address=0xe8240489)
frame #0: 0x0003d506 AIMExplorer`feat_find_featpair + 70
frame #1: 0x0003d9e4 AIMExplorer`feat_set + 52
frame #2: 0x0003daed AIMExplorer`feat_set_float + 77
frame #3: 0x0003c769 AIMExplorer`flite_feat_set_float + 57
frame #4: 0x000e898a AIMExplorer`-[FliteController say:withVoice:] + 746
* frame #5: 0x0000df9b AIMExplorer`-[HighlightAndReadAloudViewController say_hlTxt](self=0x0a653b50, _cmd=0x00131581) + 203 at HighlightAndReadAloudViewController.m:180
frame #6: 0x0000ceca AIMExplorer`-[HighlightAndReadAloudViewController buttonHandler:](self=0x0a653b50, _cmd=0x00130577, sender=0x0a6dba60) + 4186 at HighlightAndReadAloudViewController.m:100
frame #7: 0x02245880 libobjc.A.dylib`-[NSObject performSelector:withObject:withObject:] + 77
frame #8: 0x00ef53b9 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 108
frame #9: 0x00ef5345 UIKit`-[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
frame #10: 0x00ff6bd1 UIKit`-[UIControl sendAction:to:forEvent:] + 66
frame #11: 0x00ff6fc6 UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 577
frame #12: 0x00ff6243 UIKit`-[UIControl touchesEnded:withEvent:] + 641
frame #13: 0x00f34ddd UIKit`-[UIWindow _sendTouchesForEvent:] + 852
frame #14: 0x00f359d1 UIKit`-[UIWindow sendEvent:] + 1117
frame #15: 0x00f075f2 UIKit`-[UIApplication sendEvent:] + 242
frame #16: 0x00ef1353 UIKit`_UIApplicationHandleEventQueue + 11455
frame #17: 0x0243d77f CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
frame #18: 0x0243d10b CoreFoundation`__CFRunLoopDoSources0 + 235
frame #19: 0x0245a1ae CoreFoundation`__CFRunLoopRun + 910
frame #20: 0x024599d3 CoreFoundation`CFRunLoopRunSpecific + 467
frame #21: 0x024597eb CoreFoundation`CFRunLoopRunInMode + 123
frame #22: 0x04b075ee GraphicsServices`GSEventRunModal + 192
frame #23: 0x04b0742b GraphicsServices`GSEventRun + 104
frame #24: 0x00ef3f9b UIKit`UIApplicationMain + 1225
frame #25: 0x0000be3d AIMExplorer`main(argc=1, argv=0xbfffed74) + 141 at main.m:16