I have seen this crash twice in running my code over 100 times, so it’s pretty hard to reproduce, but definitely there.
It seems to be related to deallocating an OUIInspectorPane object, but when I look in the debugger, it is actually my subclass of that object. I have zombies turned on, but that didn’t seem to isolate the problem. Can anyone suggest a way of tracking this down? * thread #1: tid = 0x9b3267, 0x026c492b libobjc.A.dylib`weak_unregister_no_lock + 119, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=1, address=0x2936f6d0) frame #0: 0x026c492b libobjc.A.dylib`weak_unregister_no_lock + 119 frame #1: 0x026c50fa libobjc.A.dylib`objc_destroyWeak_slow(objc_object**) + 135 frame #2: 0x002db8f1 NovaMind`-[OUIInspectorPane .cxx_destruct](self=0x168effd0, _cmd=0x026ca62e) + 113 at OUIInspectorPane.m:21 frame #3: 0x026b32d4 libobjc.A.dylib`object_cxxDestructFromClass(objc_object*, objc_class*) + 128 frame #4: 0x026b324f libobjc.A.dylib`object_cxxDestruct + 20 frame #5: 0x026be22c libobjc.A.dylib`objc_destructInstance + 48 frame #6: 0x02dfdecc CoreFoundation`-[NSObject(NSObject) __dealloc_zombie] + 156 frame #7: 0x01327c56 UIKit`-[UIViewController dealloc] + 1818 frame #8: 0x00361747 NovaMind`-[OUIViewController dealloc](self=0x168effd0, _cmd=0x026ca678) + 167 at OUIViewController.m:69 frame #9: 0x01324975 UIKit`-[UIViewController release] + 89 frame #10: 0x026c4e97 libobjc.A.dylib`objc_release + 71 frame #11: 0x0120a5fc UIKit`__destroy_helper_block_121 + 124 frame #12: 0x04c557a5 libsystem_sim_blocks.dylib`_Block_release + 207 frame #13: 0x01277e3f UIKit`-[UIViewAnimationBlockDelegate dealloc] + 66 frame #14: 0x026c5692 libobjc.A.dylib`objc_object::sidetable_release(bool) + 268 frame #15: 0x026c6adf libobjc.A.dylib`-[NSObject release] + 25 frame #16: 0x02ce1cb0 CoreFoundation`CFRelease + 272 frame #17: 0x02de974e CoreFoundation`-[__NSDictionaryI dealloc] + 126 frame #18: 0x026c5692 libobjc.A.dylib`objc_object::sidetable_release(bool) + 268 frame #19: 0x026c4e81 libobjc.A.dylib`objc_release + 49 frame #20: 0x026c5ce7 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 537 frame #21: 0x02d01968 CoreFoundation`_CFAutoreleasePoolPop + 24 frame #22: 0x02d066c3 CoreFoundation`__CFRunLoopRun + 1971 frame #23: 0x02d05ac3 CoreFoundation`CFRunLoopRunSpecific + 467 frame #24: 0x02d058db CoreFoundation`CFRunLoopRunInMode + 123 frame #25: 0x040529e2 GraphicsServices`GSEventRunModal + 192 frame #26: 0x04052809 GraphicsServices`GSEventRun + 104 frame #27: 0x01215d3b UIKit`UIApplicationMain + 1225 frame #28: 0x0000216d NovaMind`main(argc=1, argv=0xbfffec78) + 141 at main.m:16 Thanks Gideon _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com