'Heap corruption detected' crashes in OS X app - macos

I'm seeing quite a few problems with the latest release of our software.
I'm getting customer complaints about crashes. Unfortunately though, I can't get any information from the crash reports. Here is one I receive the most:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
*** error for object 0x610000039720: Heap corruption detected, free list canary is damaged
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000010444c866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x000000010455735c pthread_kill + 92
2 libsystem_c.dylib 0x0000000104380b1a abort + 125
3 libsystem_malloc.dylib 0x00000001044ccbee nanozone_error + 486
4 libsystem_malloc.dylib 0x00000001044ccdb0 _nano_malloc_check_clear + 445
5 libsystem_malloc.dylib 0x00000001044cb6b0 nano_malloc + 35
6 libsystem_malloc.dylib 0x00000001044c9868 malloc_zone_malloc + 71
7 com.apple.CoreFoundation 0x0000000103e63fed _CFRuntimeCreateInstance + 253
8 com.apple.CoreGraphics 0x0000000104a45d70 CGTypeCreateInstance + 79
9 com.apple.CoreGraphics 0x0000000104a45c25 region_create_with_shape + 37
10 com.apple.CoreGraphics 0x0000000104a6c0d1 CGSNewEmptyRegion + 24
11 com.apple.AppKit 0x0000000100570ae2 -[NSView _regionForOpaqueDescendants:forMove:] + 4090
12 com.apple.AppKit 0x00000001005706eb -[NSView _regionForOpaqueDescendants:forMove:] + 3075
13 com.apple.AppKit 0x00000001005706eb -[NSView _regionForOpaqueDescendants:forMove:] + 3075
14 com.apple.AppKit 0x00000001005706eb -[NSView _regionForOpaqueDescendants:forMove:] + 3075
15 com.apple.AppKit 0x00000001005706eb -[NSView _regionForOpaqueDescendants:forMove:] + 3075
16 com.apple.AppKit 0x00000001005706eb -[NSView _regionForOpaqueDescendants:forMove:] + 3075
17 com.apple.AppKit 0x000000010069b59d -[NSView _drawRect:clip:] + 1010
18 com.apple.AppKit 0x000000010069903c -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3199
19 com.apple.AppKit 0x0000000100699bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
20 com.apple.AppKit 0x0000000100699bc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
21 com.apple.AppKit 0x0000000100697eb1 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
22 com.apple.AppKit 0x0000000100694e9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
23 com.apple.AppKit 0x00000001006742da -[NSView displayIfNeeded] + 1680
24 com.apple.AppKit 0x00000001006d974e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
25 com.apple.AppKit 0x0000000100caf061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
26 com.apple.CoreFoundation 0x0000000103edfd67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
27 com.apple.CoreFoundation 0x0000000103edfcd7 __CFRunLoopDoObservers + 391
28 com.apple.CoreFoundation 0x0000000103ed13b8 __CFRunLoopRun + 776
29 com.apple.CoreFoundation 0x0000000103ed0e75 CFRunLoopRunSpecific + 309
30 com.apple.HIToolbox 0x0000000109bd2a0d RunCurrentEventLoopInMode + 226
31 com.apple.HIToolbox 0x0000000109bd27b7 ReceiveNextEventCommon + 479
32 com.apple.HIToolbox 0x0000000109bd25bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
33 com.apple.AppKit 0x000000010053d24e _DPSNextEvent + 1434
34 com.apple.AppKit 0x000000010053c89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
35 com.apple.AppKit 0x000000010053099c -[NSApplication run] + 553
36 com.apple.AppKit 0x000000010051b783 NSApplicationMain + 940
37 libdyld.dylib 0x00000001042b65fd start + 1
The odd thing is that in the piece of code that produces the crash, the application is not doing anything. It's almost completely idle sitting there and waiting. This really makes it look like a memory corruption issue.
I've tried and profiled with Instruments to find any leaks. I also tried Xcode 7's new address sanitizer. To no avail.
Can anyone please give me a hint on what I could try to fix the issue?
I'm pretty sure that the issue only appears with release builds but I still couldn't pin down the reason of the crashes.

Related

Crash with objc_msgSend() selector name: countByEnumeratingWithState:objects:count:

My cocoa app occasionally crashes with the above specific information. I'm sure that it's due to NSTableView display in my app but I can't figure out what's wrong. The crash report is as below. Can anyone tell what's going on?
Application Specific Information:
objc_msgSend() selector name: countByEnumeratingWithState:objects:count:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff8847a0dd objc_msgSend + 29
1 com.apple.AppKit 0x00007fff8ae1a44a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 6008
2 com.apple.AppKit 0x00007fff8add12be -[NSView displayIfNeeded] + 1876
3 com.apple.AppKit 0x00007fff8add0b19 -[NSWindow displayIfNeeded] + 236
4 com.apple.AppKit 0x00007fff8add0782 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
5 com.apple.AppKit 0x00007fff8b506191 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46
6 com.apple.CoreFoundation 0x00007fff8dd32127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
7 com.apple.CoreFoundation 0x00007fff8dd32080 __CFRunLoopDoObservers + 368
8 com.apple.CoreFoundation 0x00007fff8dd24188 __CFRunLoopRun + 872
9 com.apple.CoreFoundation 0x00007fff8dd23bd8 CFRunLoopRunSpecific + 296
10 com.apple.HIToolbox 0x00007fff950db56f RunCurrentEventLoopInMode + 235
11 com.apple.HIToolbox 0x00007fff950db2ea ReceiveNextEventCommon + 431
12 com.apple.HIToolbox 0x00007fff950db12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
13 com.apple.AppKit 0x00007fff8adcd9bb _DPSNextEvent + 978
14 com.apple.AppKit 0x00007fff8adccf68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
15 com.apple.AppKit 0x00007fff8adc2bf3 -[NSApplication run] + 594
16 com.apple.AppKit 0x00007fff8ad3f354 NSApplicationMain + 1832
17 libdyld.dylib 0x00007fff8980e5c9 start + 1

Xcode 7 doesn't run more: Bad Access

I was working with Xcode last night, in morning I relaunch the XCode and it crash, an error appears.
I tried to delete the Preferences, cache, reinstall all... nothing.
But if I run Xcode from terminal with root privilege, it runs but Simulator doesn't work properly...
Error dump:
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes:
0x000000000000000a, 0x000000010e8ac000 Exception Note:
EXC_CORPSE_NOTIFY
VM Regions Near 0x10e8ac000:
__LINKEDIT 000000010e83e000-000000010e83f000 [ 4K] rw-/rwx SM=NUL
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
--> mapped file 000000010e83f000-000000010e9e3000 [ 1680K] r--/rwx SM=COW
MALLOC_LARGE 000000010e9e3000-000000010ebe9000 [ 2072K] rw-/rwx SM=PRV
Application Specific Information: ProductBuildVersion: 7B1005
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0
com.apple.CoreFoundation 0x00007fff99b9852b
CFStringCreateImmutableFunnel3 + 795 1 com.apple.CoreFoundation 0x00007fff99ba844b CFStringCreateWithBytes + 59 2
com.apple.CoreFoundation 0x00007fff99bd4ff9
__CFBinaryPlistCreateObjectFiltered + 7273 3 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 4 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 5 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 6 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 7 com.apple.CoreFoundation 0x00007fff99bd4347
__CFBinaryPlistCreateObjectFiltered + 4023 8 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 9 com.apple.CoreFoundation 0x00007fff99bb8427
__CFTryParseBinaryPlist + 215 10 com.apple.CoreFoundation 0x00007fff99bb7ca9 _CFPropertyListCreateWithData + 89 11
com.apple.CoreFoundation 0x00007fff99bb7bad
CFPropertyListCreateWithData + 93 12 com.apple.Foundation
0x00007fff8b8400d7 +[NSPropertyListSerialization
propertyListWithData:options:format:error:] + 94 13
com.apple.dt.DVTFoundation 0x00000001066a81f3 -[DVTPlugInManager
_loadPlugInCache:] + 260 14 com.apple.dt.DVTFoundation 0x00000001066a34a5 -[DVTPlugInManager _scanForPlugIns:] + 3304 15
com.apple.dt.IDEFoundation 0x00000001073e25e9 IDEInitialize + 3250
16 com.apple.dt.IDEKit 0x0000000107adf2fc
-[IDEApplicationController applicationWillFinishLaunching:] + 708 17 com.apple.CoreFoundation 0x00007fff99c33c9c
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12 18 com.apple.CoreFoundation 0x00007fff99c33c2f
___CFXRegistrationPost_block_invoke + 63 19 com.apple.CoreFoundation 0x00007fff99c33ba7 _CFXRegistrationPost + 407 20
com.apple.CoreFoundation 0x00007fff99c33912
___CFXNotificationPost_block_invoke + 50 21 com.apple.CoreFoundation 0x00007fff99bf06d2 -[_CFXNotificationRegistrar
find:object:observer:enumerator:] + 1922 22 com.apple.CoreFoundation
0x00007fff99bef925 _CFXNotificationPost + 693 23
com.apple.Foundation 0x00007fff8b82f0fa
-[NSNotificationCenter postNotificationName:object:userInfo:] + 66 24 com.apple.dt.DVTFoundation 0x0000000106883d35
-[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698 25 com.apple.AppKit 0x00007fff9249d022 -[NSApplication finishLaunching] + 354 26
com.apple.dt.DVTKit 0x0000000106e83494 -[DVTApplication
finishLaunching] + 149 27 com.apple.AppKit
0x00007fff9249cb65 -[NSApplication run] + 231 28 com.apple.AppKit
0x00007fff92465fbe NSApplicationMain + 1176 29 libdyld.dylib
0x00007fff8b5eb5ad start + 1

Strange crash when bringing up a window on Sandboxed cocoa app only on OSX 10.8.3

This one is quite weird. I recently upgraded to Mountain Lion on my dev machine and now every time I bring up the main project window of my app it crashes. The strange thing is that it only happens on 10.8.3 and it only happen if I sandbox the app. I have another test machine running 10.8.2 (also Mountain Lion) and the crash does not happen. Also, if I recreate the app without sandboxing it does not crash. This app is actually created with an implementation of common lisp the uses a cocoa bridge called CCL.
Here are some of the reports I get in the console when my app crashes:
4/19/13 11:30:15.605 AM AgentCubes[56676]: kCGErrorIllegalArgument: _getWindowRegion: Invalid window
4/19/13 11:30:15.606 AM AgentCubes[56676]: CGSSetWindowLevel: Invalid window 0x137c
4/19/13 11:30:15.607 AM AgentCubes[56676]: PSsetwindowlevel, error setting window level (1000)
4/19/13 11:30:15.607 AM AgentCubes[56676]: CGSClearWindowTags: Invalid window 0x137c
4/19/13 11:30:15.607 AM AgentCubes[56676]: CGSSetIgnoresCycle: error 1000 setting or clearing window tags
4/19/13 11:30:15.623 AM AgentCubes[56676]: *** Assertion failure in -[NativeScrollView scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:], /SourceCache/AppKit/AppKit-1187.37/AppKit.subproj/NSScrollView.m:5402
4/19/13 11:30:15.623 AM AgentCubes[56676]: An uncaught exception was raised
4/19/13 11:30:15.624 AM AgentCubes[56676]: Invalid parameter not satisfying: scrollerImpPair == SCROLLER_IMP_PAIR
and the big trace:
4/19/13 11:30:15.626 AM AgentCubes[56676]: (
0 CoreFoundation 0x99cbee9b __raiseError + 219
1 libobjc.A.dylib 0x90a6552e objc_exception_throw + 230
2 CoreFoundation 0x99c1e6a8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x93dfb814 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x977cd7ab -[NSScrollView(NSPrivate) scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:] + 150
5 AppKit 0x977cd6a5 +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:] + 406
6 AppKit 0x977cd4ff +[NSScrollerImpPair _scrollerStyleRecommendationChanged:] + 159
7 Foundation 0x93e52152 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
8 CoreFoundation 0x99c80861 ___CFXNotificationPost_block_invoke_0 + 257
9 CoreFoundation 0x99bcbe9a _CFXNotificationPost + 2794
10 Foundation 0x93e3ac88 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
11 AppKit 0x977cd3f5 -[_NSScrollerStyleRecommender setRecommendedScrollerStyleAndNotify:] + 248
12 AppKit 0x977cd2e3 __75-[_NSScrollerStyleRecommender scrollerStyleRecommendationUpdateTimerFired:]_block_invoke_0 + 43
13 AppKit 0x97eff42f __block_global_0 + 32
14 libdispatch.dylib 0x98f10f8f _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x98f0cc82 _dispatch_client_callout + 46
16 libdispatch.dylib 0x98f122e3 _dispatch_main_queue_callback_4CF + 223
17 CoreFoundation 0x99bbac39 __CFRunLoopRun + 1961
18 CoreFoundation 0x99bba02a CFRunLoopRunSpecific + 378
19 CoreFoundation 0x99bb9e9b CFRunLoopRunInMode + 123
20 HIToolbox 0x91e16f5a RunCurrentEventLoopInMode + 242
21 HIToolbox 0x91e16cc9 ReceiveNextEventCommon + 374
22 HIToolbox 0x91e16b44 BlockUntilNextEventMatchingListInMode + 88
23 AppKit 0x976e99aa _DPSNextEvent + 724
24 AppKit 0x976e91dc -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
25 AppKit 0x976df63c -[NSApplication run] + 855
26 AgentCubes 0x0001991d ffcall_return + 0
27 ??? 0x003cbf9c 0x0 + 3981212
28 ??? 0x003cbf9c 0x0 + 3981212
29 AgentCubes 0x00019f79 func_start + 94
30 AgentCubes 0x0001c52e main + 1310
31 AgentCubes 0x00033fb4 _start + 207
32 AgentCubes 0x00033ee4 start + 40
)
and finally:
4/19/13 11:30:15.627 AM AgentCubes[56676]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: scrollerImpPair == SCROLLER_IMP_PAIR'
*** Call stack at first throw:
(
0 CoreFoundation 0x99cbee9b __raiseError + 219
1 libobjc.A.dylib 0x90a6552e objc_exception_throw + 230
2 CoreFoundation 0x99c1e6a8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x93dfb814 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x977cd7ab -[NSScrollView(NSPrivate) scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:] + 150
5 AppKit 0x977cd6a5 +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:] + 406
6 AppKit 0x977cd4ff +[NSScrollerImpPair _scrollerStyleRecommendationChanged:] + 159
7 Foundation 0x93e52152 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
8 CoreFoundation 0x99c80861 ___CFXNotificationPost_block_invoke_0 + 257
9 CoreFoundation 0x99bcbe9a _CFXNotificationPost + 2794
10 Foundation 0x93e3ac88 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
11 AppKit 0x977cd3f5 -[_NSScrollerStyleRecommender setRecommendedScrollerStyleAndNotify:] + 248
12 AppKit 0x977cd2e3 __75-[_NSScrollerStyleRecommender scrollerStyleRecommendationUpdateTimerFired:]_block_invoke_0 + 43
13 AppKit 0x97eff42f __block_global_0 + 32
14 libdispatch.dylib 0x98f10f8f _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x98f0cc82 _dispatch_client_callout + 46
16 libdispatch.dylib 0x98f122e3 _dispatch_main_queue_callback_4CF + 223
17 CoreFoundation 0x99bbac39 __CFRunLoopRun + 1961
18 CoreFoundation 0x99bba02a CFRunLoopRunSpecific + 378
19 CoreFoundation 0x99bb9e9b CFRunLoopRunInMode + 123
20 HIToolbox 0x91e16f5a RunCurrentEventLoopInMode + 242
21 HIToolbox 0x91e16cc9 ReceiveNextEventCommon + 374
22 HIToolbox 0x91e16b44 BlockUntilNextEventMatchingListInMode + 88
23 AppKit 0x976e99aa _DPSNextEvent + 724
24 AppKit 0x976e91dc -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
25 AppKit 0x976df63c -[NSApplication run] + 855
26 AgentCubes 0x0001991d ffcall_return + 0
27 ??? 0x003cbf9c 0x0 + 3981212
28 ??? 0x003cbf9c 0x0 + 3981212
29 AgentCubes 0x00019f79 func_start + 94
30 AgentCubes 0x0001c52e main + 1310
31 AgentCubes 0x00033fb4 _start + 207
32 AgentCubes 0x00033ee4 start + 40
)
I am very confused by all this and I am wondering what could have changed in 10.8.3 that interacts badly with the sandboxing?

Sporadic crash on 10.5 when loading IKImageBrowserViews in nib

I'm having a weird crashing problem with my app that only happens on 10.5. It doesn't happen all the time, but it happens on startup, seemingly when the nib is loading. (BWTransparentScrollView appears in the crash report, but the crash there happens in initWithCoder:, and I can still trigger the crash if I remove BWToolkit from my project.)
In fact, it seems there's a problem with the two IKImageBrowserView objects in my nib. If I delete them from the nib, the crash seems to never happen (although my UI is messed up because these two views are essential to the interface).
Interface Builder doesn't notify me of any problems with the IKImageBrowserViews.
Below is a typical crash report for this problem:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
objc[22521]: garbage collection is ON
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFString objectForKey:]: unrecognized selector sent to instance 0x7fff704d15d0'
Thread 0 Crashed:
0 libSystem.B.dylib 0x00007fff81da5f16 __kill + 10
1 libstdc++.6.dylib 0x00007fff80b82085 dyld_stub__Unwind_DeleteException + 0
2 libobjc.A.dylib 0x00007fff80a4cadf _objc_terminate + 102
3 libstdc++.6.dylib 0x00007fff80b80425 __gxx_personality_v0 + 1259
4 libstdc++.6.dylib 0x00007fff80b8045b std::terminate() + 19
5 libstdc++.6.dylib 0x00007fff80b8054c __cxa_rethrow + 0
6 libobjc.A.dylib 0x00007fff80a4c966 objc_exception_rethrow + 0
7 com.apple.CoreFoundation 0x00007fff8218645b -[NSObject doesNotRecognizeSelector:] + 171
8 com.apple.CoreFoundation 0x00007fff82184ae4 ___forwarding___ + 756
9 com.apple.CoreFoundation 0x00007fff82184c38 _CF_forwarding_prep_0 + 232
10 com.apple.CoreText 0x00007fff839f0f43 TDescriptor::CreateMatchingDescriptorInternal(__CFSet const*) const + 237
11 com.apple.CoreText 0x00007fff839f0dd0 TDescriptor::InitBaseFont() + 30
12 com.apple.CoreText 0x00007fff839f0d59 TDescriptor::CreateMatchingDescriptor(__CFSet const*) const + 47
13 com.apple.AppKit 0x00007fff842df2d3 __NSFontFactoryWithName + 412
14 com.apple.AppKit 0x00007fff842df075 +[NSFont fontWithName:size:] + 51
15 com.apple.imageKit 0x00000001000d246b -[IKImageBrowserView _setDefaultTextAttributes] + 288
16 com.apple.imageKit 0x00000001000d2936 -[IKImageBrowserView setAppearanceStyle:] + 42
17 com.apple.imageKit 0x00000001000d0a88 -[IKImageBrowserView _ikCommonInit] + 2122
18 com.apple.imageKit 0x00000001000d1470 -[IKImageBrowserView initWithCoder:] + 76
19 com.apple.AppKit 0x00007fff8423f750 -[NSClassSwapper initWithCoder:] + 483
20 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
21 com.apple.Foundation 0x00007fff80bc7b33 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1363
22 com.apple.Foundation 0x00007fff80bc7f91 -[NSArray(NSArray) initWithCoder:] + 385
23 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
24 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
25 com.apple.AppKit 0x00007fff841fe77a -[NSView initWithCoder:] + 367
26 com.apple.AppKit 0x00007fff842406a0 -[NSClipView initWithCoder:] + 55
27 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
28 com.apple.Foundation 0x00007fff80bc7b33 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1363
29 com.apple.Foundation 0x00007fff80bc7f91 -[NSArray(NSArray) initWithCoder:] + 385
30 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
31 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
32 com.apple.AppKit 0x00007fff841fe77a -[NSView initWithCoder:] + 367
33 com.apple.AppKit 0x00007fff84240edd -[NSScrollView initWithCoder:] + 127
34 ...onwalkin.BWToolkitFramework 0x00000001003bcb7d -[BWTransparentScrollView initWithCoder:] + 41
35 com.apple.AppKit 0x00007fff8423f750 -[NSClassSwapper initWithCoder:] + 483
36 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
37 com.apple.Foundation 0x00007fff80bc7b33 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1363
38 com.apple.Foundation 0x00007fff80bc7f91 -[NSArray(NSArray) initWithCoder:] + 385
39 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
40 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
41 com.apple.AppKit 0x00007fff841fe77a -[NSView initWithCoder:] + 367
42 com.apple.AppKit 0x00007fff841ffc92 -[NSCustomView initWithCoder:] + 651
43 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
44 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
45 com.apple.AppKit 0x00007fff841f8928 -[NSNibConnector initWithCoder:] + 409
46 com.apple.AppKit 0x00007fff841fd404 -[NSNibOutletConnector initWithCoder:] + 350
47 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
48 com.apple.Foundation 0x00007fff80bc7b33 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1363
49 com.apple.Foundation 0x00007fff80bc7f91 -[NSArray(NSArray) initWithCoder:] + 385
50 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
51 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
52 com.apple.AppKit 0x00007fff841f784c -[NSIBObjectData initWithCoder:] + 2014
53 com.apple.Foundation 0x00007fff80bc631e _decodeObjectBinary + 1214
54 com.apple.Foundation 0x00007fff80bc5de4 _decodeObject + 244
55 com.apple.AppKit 0x00007fff841f6f55 loadNib + 156
56 com.apple.AppKit 0x00007fff841f698d +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 836
57 com.apple.AppKit 0x00007fff841f6568 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 355
58 com.apple.AppKit 0x00007fff841f6299 NSApplicationMain + 286
59 ...ittleappfactory.Tagalicious 0x00000001000015cc start + 52
Thread 1:
0 libauto.dylib 0x00007fff83fcfaae Auto::MemoryScanner::scan_range(Auto::Range const&, Auto::WriteBarrier*) + 366
1 libauto.dylib 0x00007fff83fbe3df Auto::WriteBarrier::scan_ranges(void*, unsigned long, Auto::MemoryScanner&) + 607
2 libauto.dylib 0x00007fff83fd10c7 bool Auto::visitAllocatedBlocks<Auto::scan_retained_and_old_blocks_visitor>(Auto::Zone*, Auto::scan_retained_and_old_blocks_visitor&) + 343
3 libauto.dylib 0x00007fff83fd080d Auto::MemoryScanner::scan_retained_and_old_blocks() + 29
4 libauto.dylib 0x00007fff83fc95d7 Auto::Collector::check_roots() + 23
5 libauto.dylib 0x00007fff83fd0b0d Auto::MemoryScanner::scan() + 45
6 libauto.dylib 0x00007fff83fc0a40 Auto::Zone::collect(bool, void*, unsigned long long*) + 496
7 libauto.dylib 0x00007fff83fae8fd auto_collect_internal(Auto::Zone*, unsigned int) + 381
8 libauto.dylib 0x00007fff83faf3b0 auto_collection_thread(void*) + 112
9 libSystem.B.dylib 0x00007fff81d6ce8f _pthread_start + 316
10 libSystem.B.dylib 0x00007fff81d6cd51 thread_start + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff81d45da2 __semwait_signal + 10
1 libGLProgrammability.dylib 0x00007fff826d057b glvmDoWork + 155
2 libSystem.B.dylib 0x00007fff81d6ce8f _pthread_start + 316
3 libSystem.B.dylib 0x00007fff81d6cd51 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff702717d8 rcx: 0x00007fff5fbfb628 rdx: 0x0000000000000000
rdi: 0x00000000000057f9 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfb640 rsp: 0x00007fff5fbfb628
r8: 0x00007fff5fbfb1b0 r9: 0x0000000000000000 r10: 0x00007fff81d7de36 r11: 0x0000000000000206
r12: 0x00007fff821aea28 r13: 0x0000000000000000 r14: 0x00007fff80a56d00 r15: 0x00007fff7032d0a0
rip: 0x00007fff81da5f16 rfl: 0x0000000000000206 cr2: 0x00007fff70093028
Any idea what could be happening?
Ugh. I tried a bunch of things to try and fix this problem. I tried recreating new IKImageBrowserViews from scratch (in case the xib file itself was somehow damaged). I tried making sure that my custom IKImageBrowserView classes (I set their classes in Interface Builder) were not causing the problem.
In the end, I deleted the IKImageBrowserViews from the xib and created them both programatically. The crashes on 10.5 disappeared. It wasn't too hard, but it was the only solution that seemed to fix the on-launch crashes.

Opening xib crashes xcode and old xcode is not opening the nib in old interface builder

I'm getting following crash report when opening the xib file in Xcode.
Crash Report:
Process: Xcode [5891]
Path: /Xcode4/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.0 (4.0)
Build Info: IDEApplication-540000~1
Code Type: X86-64 (Native)
Parent Process: launchd [89]
Date/Time: 2010-11-13 13:03:49.931 +0500
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
Interval Since Last Report: 1223931 sec
Crashes Since Last Report: 110
Per-App Interval Since Last Report: 1068654 sec
Per-App Crashes Since Last Report: 20
Anonymous UUID: EFCCCE57-6AC6-49DC-8818-B592EA41E40D
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
Encountered multiple assertions. First assertion was:
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-240/IBPlugin/Utilities/IBObjectMarshalling.m:122
Details: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (5897) failed to launch and exited with status 10. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
Function: NSDistantObject<IBCocoaTouchToolProtocol> *IBAttachToCocoaTouchTool(IBCocoaTouchTargetRuntime *)
Thread: <NSThread: 0x2000205a0>{name = (null), num = 1}
Backtrace:
0 0x00000001006a1c2d -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x00000001000218b0 _DVTAssertionHandler (in DVTFoundation)
2 0x0000000100021936 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000117073c11 IBAttachToCocoaTouchTool (in IDEInterfaceBuilderCocoaTouchIntegration)
4 0x0000000117073736 IBInstallAppPatches (in IDEInterfaceBuilderCocoaTouchIntegration)
5 0x00000001170755b0 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext (in IDEInterfaceBuilderCocoaTouchIntegration)
6 0x000000011706e6cd IBReleaseIsWildcat (in IDEInterfaceBuilderCocoaTouchIntegration)
7 0x000000011706e720 IBReleaseIsWildcat (in IDEInterfaceBuilderCocoaTouchIntegration)
8 0x000000011706e769 IBReleaseIsWildcat (in IDEInterfaceBuilderCocoaTouchIntegration)
9 0x000000011706902d IBReplaceClassNamePrefixWith (in IDEInterfaceBuilderCocoaTouchIntegration)
10 0x0000000117068b13 IBReplaceClassNamePrefixWith (in IDEInterfaceBuilderCocoaTouchIntegration)
11 0x0000000117074890 IBBuildMarshalledDescriptionOfDocument (in IDEInterfaceBuilderCocoaTouchIntegration)
12 0x0000000117075177 IBBuildMarshalledDescriptionOfObject (in IDEInterfaceBuilderCocoaTouchIntegration)
13 0x000000011709eb08 IBIsContainedTabBarItem (in IDEInterfaceBuilderCocoaTouchIntegration)
14 0x000000011709e9e6 IBIsContainedTabBarItem (in IDEInterfaceBuilderCocoaTouchIntegration)
15 0x000000011709f2c6 IBIsContainedTabBarItem (in IDEInterfaceBuilderCocoaTouchIntegration)
16 0x00007fff836961d5 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] (in AppKit)
17 0x00007fff83695a0e -[NSView displayRectIgnoringOpacity:inContext:] (in AppKit)
18 0x0000000116960253 -[IBCoreGraphicsRenderer renderViewRect:intoCoreGraphicsContext:] (in IDEInterfaceBuilderKit)
19 0x000000011696074a __39-[IBCoreGraphicsRenderer renderContent]_block_invoke_0 (in IDEInterfaceBuilderKit)
20 0x00000001002b4cbb -[NSGraphicsContext(DVTNSGraphicsContextAdditions) dvt_drawBlockByPreservingState:] (in DVTKit)
21 0x00000001169581c8 -[NSGraphicsContext(IBGraphicsContextsAdditions) temporarilyMakeCurrentAndDoOperationPerservingState:] (in IDEInterfaceBuilderKit)
22 0x0000000116960604 -[IBCoreGraphicsRenderer renderContent] (in IDEInterfaceBuilderKit)
23 0x000000011695a1d9 -[IBViewRenderer renderViewImage] (in IDEInterfaceBuilderKit)
24 0x000000011695985c -[IBViewRasterizer image] (in IDEInterfaceBuilderKit)
25 0x00000001169597ae +[IBViewRasterizer imageOfView:] (in IDEInterfaceBuilderKit)
26 0x000000011709dcad IBIsContainedTabBarItem (in IDEInterfaceBuilderCocoaTouchIntegration)
27 0x000000011709f3d3 IBIsContainedTabBarItem (in IDEInterfaceBuilderCocoaTouchIntegration)
28 0x00007fff8360e081 -[NSView _drawRect:clip:] (in AppKit)
29 0x00007fff8360ccf4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
30 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
31 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
32 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
33 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
34 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
35 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit)
36 0x00007fff8360b3c6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
37 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
38 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
39 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
40 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
41 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
42 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
43 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
44 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
45 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
46 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
47 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
48 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
49 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
50 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
51 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
52 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
53 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
54 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
55 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
56 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
57 0x00007fff8360aee8 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit)
58 0x00007fff8360779a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] (in AppKit)
59 0x00007fff83580ff6 -[NSView displayIfNeeded] (in AppKit)
60 0x00007fff8357bea2 _handleWindowNeedsDisplay (in AppKit)
61 0x00007fff887d8077 __CFRunLoopDoObservers (in CoreFoundation)
62 0x00007fff887b3ef4 __CFRunLoopRun (in CoreFoundation)
63 0x00007fff887b384f CFRunLoopRunSpecific (in CoreFoundation)
64 0x00007fff8711891a RunCurrentEventLoopInMode (in HIToolbox)
65 0x00007fff8711867d ReceiveNextEventCommon (in HIToolbox)
66 0x00007fff871185d8 BlockUntilNextEventMatchingListInMode (in HIToolbox)
67 0x00007fff8355129e _DPSNextEvent (in AppKit)
68 0x00007fff83550bed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
69 0x00007fff835168d3 -[NSApplication run] (in AppKit)
70 0x00007fff8350f5f8 NSApplicationMain (in AppKit)
71 0x0000000100000eec
abort() called
objc[5891]: garbage collection is ON
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff825b13d6 __kill + 10
1 libSystem.B.dylib 0x00007fff82651972 abort + 83
2 com.apple.dt.IDEKit 0x00000001006a152e __53+[IDEAssertionHandler _handleAssertionWithLogString:]_block_invoke_0 + 0
3 com.apple.dt.DVTFoundation 0x00000001000218b0 _DVTAssertionHandler + 330
4 com.apple.dt.DVTFoundation 0x0000000100021936 _DVTAssertionFailureHandler + 110
5 ...uilderCocoaTouchIntegration 0x0000000117073c11 IBAttachToCocoaTouchTool + 1161
6 ...uilderCocoaTouchIntegration 0x0000000117073736 IBInstallAppPatches + 2038
7 ...uilderCocoaTouchIntegration 0x00000001170755b0 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 70
8 ...uilderCocoaTouchIntegration 0x000000011706e6cd IBReleaseIsWildcat + 1082
9 ...uilderCocoaTouchIntegration 0x000000011706e720 IBReleaseIsWildcat + 1165
10 ...uilderCocoaTouchIntegration 0x000000011706e769 IBReleaseIsWildcat + 1238
11 ...uilderCocoaTouchIntegration 0x000000011706902d IBReplaceClassNamePrefixWith + 1905
12 ...uilderCocoaTouchIntegration 0x0000000117068b13 IBReplaceClassNamePrefixWith + 599
13 ...uilderCocoaTouchIntegration 0x0000000117074890 IBBuildMarshalledDescriptionOfDocument + 2503
14 ...uilderCocoaTouchIntegration 0x0000000117075177 IBBuildMarshalledDescriptionOfObject + 174
15 ...uilderCocoaTouchIntegration 0x000000011709eb08 IBIsContainedTabBarItem + 37518
16 ...uilderCocoaTouchIntegration 0x000000011709e9e6 IBIsContainedTabBarItem + 37228
17 ...uilderCocoaTouchIntegration 0x000000011709f2c6 IBIsContainedTabBarItem + 39500
18 com.apple.AppKit 0x00007fff836961d5 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1349
19 com.apple.AppKit 0x00007fff83695a0e -[NSView displayRectIgnoringOpacity:inContext:] + 461
20 ....IDE.IDEInterfaceBuilderKit 0x0000000116960253 -[IBCoreGraphicsRenderer renderViewRect:intoCoreGraphicsContext:] + 131
21 ....IDE.IDEInterfaceBuilderKit 0x000000011696074a __39-[IBCoreGraphicsRenderer renderContent]_block_invoke_0 + 211
22 com.apple.dt.DVTKit 0x00000001002b4cbb -[NSGraphicsContext(DVTNSGraphicsContextAdditions) dvt_drawBlockByPreservingState:] + 34
23 ....IDE.IDEInterfaceBuilderKit 0x00000001169581c8 -[NSGraphicsContext(IBGraphicsContextsAdditions) temporarilyMakeCurrentAndDoOperationPerservingState:] + 72
24 ....IDE.IDEInterfaceBuilderKit 0x0000000116960604 -[IBCoreGraphicsRenderer renderContent] + 849
25 ....IDE.IDEInterfaceBuilderKit 0x000000011695a1d9 -[IBViewRenderer renderViewImage] + 252
26 ....IDE.IDEInterfaceBuilderKit 0x000000011695985c -[IBViewRasterizer image] + 82
27 ....IDE.IDEInterfaceBuilderKit 0x00000001169597ae +[IBViewRasterizer imageOfView:] + 82
28 ...uilderCocoaTouchIntegration 0x000000011709dcad IBIsContainedTabBarItem + 33843
29 ...uilderCocoaTouchIntegration 0x000000011709f3d3 IBIsContainedTabBarItem + 39769
30 com.apple.AppKit 0x00007fff8360e081 -[NSView _drawRect:clip:] + 3390
31 com.apple.AppKit 0x00007fff8360ccf4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
32 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
33 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
34 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
35 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
36 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
37 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
38 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
39 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
40 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
41 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
42 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
43 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
44 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
45 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
46 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
47 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
48 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
49 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
50 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
51 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
52 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
53 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
54 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
55 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
56 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
57 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
58 com.apple.AppKit 0x00007fff8360b3c6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767
59 com.apple.AppKit 0x00007fff8360aee8 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
60 com.apple.AppKit 0x00007fff8360779a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
61 com.apple.AppKit 0x00007fff83580ff6 -[NSView displayIfNeeded] + 969
62 com.apple.AppKit 0x00007fff8357bea2 _handleWindowNeedsDisplay + 678
63 com.apple.CoreFoundation 0x00007fff887d8077 __CFRunLoopDoObservers + 519
64 com.apple.CoreFoundation 0x00007fff887b3ef4 __CFRunLoopRun + 468
65 com.apple.CoreFoundation 0x00007fff887b384f CFRunLoopRunSpecific + 575
66 com.apple.HIToolbox 0x00007fff8711891a RunCurrentEventLoopInMode + 333
67 com.apple.HIToolbox 0x00007fff8711867d ReceiveNextEventCommon + 148
68 com.apple.HIToolbox 0x00007fff871185d8 BlockUntilNextEventMatchingListInMode + 59
69 com.apple.AppKit 0x00007fff8355129e _DPSNextEvent + 708
70 com.apple.AppKit 0x00007fff83550bed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
71 com.apple.AppKit 0x00007fff8378bed3 -[NSApplication _realDoModalLoop:peek:] + 442
72 com.apple.AppKit 0x00007fff83789a61 -[NSApplication runModalForWindow:] + 129
73 com.apple.dt.IDEKit 0x00000001006a0bbd -[IDE_IBDetailedAlert runModal] + 72
74 com.apple.dt.IDEKit 0x00000001006a16c7 __53+[IDEAssertionHandler _handleAssertionWithLogString:]_block_invoke_018 + 132
75 com.apple.dt.IDEKit 0x00000001006a14e7 +[IDEAssertionHandler _handleAssertionWithLogString:] + 318
76 com.apple.dt.DVTFoundation 0x00000001000218b0 _DVTAssertionHandler + 330
77 com.apple.dt.DVTFoundation 0x0000000100021936 _DVTAssertionFailureHandler + 110
78 ...uilderCocoaTouchIntegration 0x0000000117073c11 IBAttachToCocoaTouchTool + 1161
79 ...uilderCocoaTouchIntegration 0x0000000117073736 IBInstallAppPatches + 2038
80 ...uilderCocoaTouchIntegration 0x00000001170755b0 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 70
81 ...uilderCocoaTouchIntegration 0x000000011706e6cd IBReleaseIsWildcat + 1082
82 ...uilderCocoaTouchIntegration 0x000000011706e720 IBReleaseIsWildcat + 1165
83 ...uilderCocoaTouchIntegration 0x000000011706e769 IBReleaseIsWildcat + 1238
84 ...uilderCocoaTouchIntegration 0x000000011706902d IBReplaceClassNamePrefixWith + 1905
85 ...uilderCocoaTouchIntegration 0x0000000117068b13 IBReplaceClassNamePrefixWith + 599
86 ...uilderCocoaTouchIntegration 0x0000000117074890 IBBuildMarshalledDescriptionOfDocument + 2503
87 ...uilderCocoaTouchIntegration 0x0000000117075177 IBBuildMarshalledDescriptionOfObject + 174
88 ...uilderCocoaTouchIntegration 0x000000011709eb08 IBIsContainedTabBarItem + 37518
89 ...uilderCocoaTouchIntegration 0x000000011709e9e6 IBIsContainedTabBarItem + 37228
90 ...uilderCocoaTouchIntegration 0x000000011709f2c6 IBIsContainedTabBarItem + 39500
91 com.apple.AppKit 0x00007fff836961d5 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1349
92 com.apple.AppKit 0x00007fff83695a0e -[NSView displayRectIgnoringOpacity:inContext:] + 461
93 ....IDE.IDEInterfaceBuilderKit 0x0000000116960253 -[IBCoreGraphicsRenderer renderViewRect:intoCoreGraphicsContext:] + 131
94 ....IDE.IDEInterfaceBuilderKit 0x000000011696074a __39-[IBCoreGraphicsRenderer renderContent]_block_invoke_0 + 211
95 com.apple.dt.DVTKit 0x00000001002b4cbb -[NSGraphicsContext(DVTNSGraphicsContextAdditions) dvt_drawBlockByPreservingState:] + 34
96 ....IDE.IDEInterfaceBuilderKit 0x00000001169581c8 -[NSGraphicsContext(IBGraphicsContextsAdditions) temporarilyMakeCurrentAndDoOperationPerservingState:] + 72
97 ....IDE.IDEInterfaceBuilderKit 0x0000000116960604 -[IBCoreGraphicsRenderer renderContent] + 849
98 ....IDE.IDEInterfaceBuilderKit 0x000000011695a1d9 -[IBViewRenderer renderViewImage] + 252
99 ....IDE.IDEInterfaceBuilderKit 0x000000011695985c -[IBViewRasterizer image] + 82
100 ....IDE.IDEInterfaceBuilderKit 0x00000001169597ae +[IBViewRasterizer imageOfView:] + 82
101 ...uilderCocoaTouchIntegration 0x000000011709dcad IBIsContainedTabBarItem + 33843
102 ...uilderCocoaTouchIntegration 0x000000011709f3d3 IBIsContainedTabBarItem + 39769
103 com.apple.AppKit 0x00007fff8360e081 -[NSView _drawRect:clip:] + 3390
104 com.apple.AppKit 0x00007fff8360ccf4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1325
105 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
106 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
107 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
108 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
109 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
110 com.apple.AppKit 0x00007fff8360d05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2199
111 com.apple.AppKit 0x00007fff8360b3c6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 767
112 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
113 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
114 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
115 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
116 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
117 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
118 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
119 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
120 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
121 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
122 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
123 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
124 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
125 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
126 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
127 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
128 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
129 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
130 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
131 com.apple.AppKit 0x00007fff8360c292 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
132 com.apple.AppKit 0x00007fff8360aee8 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
133 com.apple.AppKit 0x00007fff8360779a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
134 com.apple.AppKit 0x00007fff83580ff6 -[NSView displayIfNeeded] + 969
135 com.apple.AppKit 0x00007fff8357bea2 _handleWindowNeedsDisplay + 678
136 com.apple.CoreFoundation 0x00007fff887d8077 __CFRunLoopDoObservers + 519
137 com.apple.CoreFoundation 0x00007fff887b3ef4 __CFRunLoopRun + 468
138 com.apple.CoreFoundation 0x00007fff887b384f CFRunLoopRunSpecific + 575
139 com.apple.HIToolbox 0x00007fff8711891a RunCurrentEventLoopInMode + 333
140 com.apple.HIToolbox 0x00007fff8711867d ReceiveNextEventCommon + 148
141 com.apple.HIToolbox 0x00007fff871185d8 BlockUntilNextEventMatchingListInMode + 59
142 com.apple.AppKit 0x00007fff8355129e _DPSNextEvent + 708
143 com.apple.AppKit 0x00007fff83550bed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
144 com.apple.AppKit 0x00007fff835168d3 -[NSApplication run] + 395
145 com.apple.AppKit 0x00007fff8350f5f8 NSApplicationMain + 364
146 com.apple.dt.Xcode 0x0000000100000eec 0x100000000 + 3820
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8257c08a kevent + 10
1 libSystem.B.dylib 0x00007fff8257df5d _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff8257dc34 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff8257d75e _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff8257d088 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff8257cf25 start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff825632fa mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff8256396d mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff887b43c2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff887b384f CFRunLoopRunSpecific + 575
4 com.apple.Foundation 0x00007fff8561c4c3 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5 com.apple.Foundation 0x00007fff8559ce8d __NSThread__main__ + 1429
6 libSystem.B.dylib 0x00007fff8259c456 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8259c309 thread_start + 13
Thanks.
Try closing everything in XCode, IB and cleaning all build files. Also delete the app from the simulator. You might even consider restarting the computer.
Make sure that youre not linking to any non existent objects inside the nib file and that all defined class types in the nib exist.

Resources