{"id":4437,"date":"2014-03-30T10:58:41","date_gmt":"2014-03-30T10:58:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-instruments-causing-app-crash-collection-of-common-programming-errors\/"},"modified":"2014-03-30T10:58:41","modified_gmt":"2014-03-30T10:58:41","slug":"xcode-instruments-causing-app-crash-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-instruments-causing-app-crash-collection-of-common-programming-errors\/","title":{"rendered":"xcode instruments causing app crash-Collection of common programming errors"},"content":{"rendered":"<p>I am using xcode Instruments to track Allocations and Leaks. My app is crashing though. It does not crash when running the regular debug or release builds standalone, only when under Instruments:<\/p>\n<p>Any thoughts ideas very gratefully received&#8230;.<\/p>\n<pre>\nException Type:  EXC_BAD_ACCESS (SIGBUS)\nException Codes: KERN_PROTECTION_FAILURE at 0x0002b2e0\nCrashed Thread:  0\n\nThread 0 name:  Dispatch queue: com.apple.main-thread\nThread 0 Crashed:\n0   libobjc.A.dylib                 0x34499c96 objc_msgSend + 14\n1   ZZZ Test Suite                  0x000a3d74 0x95000 + 60788\n2   CoreFoundation                  0x308e4c3c -[NSObject(NSObject) release] + 24\n3   CoreFoundation                  0x308e519a CFRelease + 62\n4   CoreFoundation                  0x308e7eb4 _CFAutoreleasePoolPop + 140\n5   Foundation                      0x341b41c4 -[NSAutoreleasePool release] + 92\n6   UIKit                           0x309e5f08 _UIApplicationHandleEvent + 5784\n7   GraphicsServices                0x30269e70 PurpleEventCallback + 660\n8   CoreFoundation                  0x30957a90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20\n9   CoreFoundation                  0x30959838 __CFRunLoopDoSource1 + 160\n10  CoreFoundation                  0x3095a606 __CFRunLoopRun + 514\n11  CoreFoundation                  0x308eaebc CFRunLoopRunSpecific + 224\n12  CoreFoundation                  0x308eadc4 CFRunLoopRunInMode + 52\n13  GraphicsServices                0x30269418 GSEventRunModal + 108\n14  GraphicsServices                0x302694c4 GSEventRun + 56\n15  UIKit                           0x30a10d62 -[UIApplication _run] + 398\n16  UIKit                           0x30a0e800 UIApplicationMain + 664\n17  ZZZ Test Suite                  0x0009665c 0x95000 + 5724\n18  ZZZ Test Suite                  0x00096604 0x95000 + 5636\n\n <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am using xcode Instruments to track Allocations and Leaks. My app is crashing though. It does not crash when running the regular debug or release builds standalone, only when under Instruments: Any thoughts ideas very gratefully received&#8230;. Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0002b2e0 Crashed Thread: 0 Thread 0 name: Dispatch queue: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4437","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4437"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4437\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}