Why did IntelliJ IDEA crash? - intellij-idea

My IntelliJ IDEA's Version is 15.0.6 (IU-143.2370.31)
It always crashes when I use it.
Here is the snippet of the problem report
Process: idea [7902]
Path: /Applications/IntelliJ IDEA 15.app/Contents/MacOS/idea
Identifier: com.jetbrains.intellij
Version: 15.0.6 (IU-143.2370.31)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: idea [7902]
User ID: 501
Date/Time: 2016-07-18 19:11:13.744 +0800
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: F89C4D90-6E24-6839-A0EC-646466E39AF6
Sleep/Wake UUID: 483379D4-51BE-4BC7-9DAA-912784CD219D
Time Awake Since Boot: 68000 seconds
Time Since Wake: 37000 seconds
System Integrity Protection: enabled
Crashed Thread: 18 Java: Java2D Queue Flusher
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9ab45f72 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9ab453b3 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8b8e51c4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8b8e468c __CFRunLoopRun + 1356
4 com.apple.CoreFoundation 0x00007fff8b8e3ed8 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff9befc935 RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff9befc76f ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fff9befc5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff8bd1adf6 _DPSNextEvent + 1067
9 com.apple.AppKit 0x00007fff8bd1a226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
10 libosxapp.dylib 0x000000012c0c54e3 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
11 com.apple.AppKit 0x00007fff8bd0ed80 -[NSApplication run] + 682
12 libosxapp.dylib 0x000000012c0c5346 +[NSApplicationAWT runAWTLoopWithApp:] + 156
13 liblwawt.dylib 0x000000012cac617d -[AWTStarter starter:] + 873
14 com.apple.Foundation 0x00007fff9cf15fde __NSThreadPerformPerform + 279
15 com.apple.CoreFoundation 0x00007fff8b905881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff8b8e4fbc __CFRunLoopDoSources0 + 556
17 com.apple.CoreFoundation 0x00007fff8b8e44df __CFRunLoopRun + 927
18 com.apple.CoreFoundation 0x00007fff8b8e3ed8 CFRunLoopRunSpecific + 296
19 com.jetbrains.intellij 0x00000001000013bf main + 357
20 com.jetbrains.intellij 0x0000000100001238 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9ab4cefa kevent_qos + 10
1 libdispatch.dylib 0x00007fff97b8a165 _dispatch_mgr_invoke + 216
2 libdispatch.dylib 0x00007fff97b89dcd _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9ab4bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8afaa728 _pthread_cond_wait + 767
2 libjvm.dylib 0x0000000104d2f85f os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000104d0f97a ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000104d1016c Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000104d10348 Monitor::wait(bool, long, bool) + 246
6 libjvm.dylib 0x0000000104e0943c Threads::destroy_vm() + 80
7 libjvm.dylib 0x0000000104c20cdd jni_DestroyJavaVM + 223
8 com.jetbrains.intellij 0x0000000100003837 -[Launcher launch] + 851
9 com.apple.Foundation 0x00007fff9ced4e64 __NSThread__start__ + 1351
10 libsystem_pthread.dylib 0x00007fff8afa999d _pthread_body + 131
11 libsystem_pthread.dylib 0x00007fff8afa991a _pthread_start + 168
12 libsystem_pthread.dylib 0x00007fff8afa7351 thread_start + 13
I don't know why is this, who can explain it for me?

Looks like a bug in IDEA, see the issue IDEA-146955.

Related

Interpret Mac OS X crash report

I just really need some help deciphering this crash report:
Process: Farm Hand [616]
Path: /Applications/Farm Hand.app/Contents/MacOS/Farm Hand
Identifier: Farm Hand
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: Instruments [386]
Responsible: Instruments [386]
User ID: 501
Date/Time: 2014-10-12 00:13:17.116 +0100
OS Version: Mac OS X 10.10 (14A388a)
Report Version: 11
Anonymous UUID: 9C6E9671-468C-DBE5-F856-4D6923A3F425
Time Awake Since Boot: 1400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fd37a589ae0
VM Regions Near 0x7fd37a589ae0:
MALLOC_TINY 00007fd37a400000-00007fd37a500000 [ 1024K] rw-/rwx SM=PRV
--> MALLOC_TINY 00007fd37a500000-00007fd37a800000 [ 3072K] rw-/rwx SM=COW
MALLOC_SMALL 00007fd37a800000-00007fd37a83c000 [ 240K] rw-/rwx SM=ZER
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x00007fd37a589ae0 0 + 140546267454176
1 com.apple.AppKit 0x00007fff9230b67a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1875
2 com.apple.AppKit 0x00007fff92309516 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 913
3 com.apple.AppKit 0x00007fff92308c73 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 333
4 com.apple.AppKit 0x00007fff923057cb -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2761
5 com.apple.AppKit 0x00007fff922e41ca -[NSView displayIfNeeded] + 1876
6 com.apple.AppKit 0x00007fff923016c5 -[NSWindow displayIfNeeded] + 232
7 com.apple.AppKit 0x00007fff9233e8c2 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
8 com.apple.AppKit 0x00007fff92903d91 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1523 + 46
9 com.apple.CoreFoundation 0x00007fff8c8f9d87 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
10 com.apple.CoreFoundation 0x00007fff8c8f9ce0 __CFRunLoopDoObservers + 368
11 com.apple.CoreFoundation 0x00007fff8c8ebde8 __CFRunLoopRun + 872
12 com.apple.CoreFoundation 0x00007fff8c8eb838 CFRunLoopRunSpecific + 296
13 com.apple.HIToolbox 0x00007fff990a043f RunCurrentEventLoopInMode + 235
14 com.apple.HIToolbox 0x00007fff990a00be ReceiveNextEventCommon + 179
15 com.apple.HIToolbox 0x00007fff9909fffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
16 com.apple.AppKit 0x00007fff921df821 _DPSNextEvent + 964
17 com.apple.AppKit 0x00007fff921defd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
18 com.apple.AppKit 0x00007fff921d2f73 -[NSApplication run] + 594
19 com.apple.AppKit 0x00007fff921be424 NSApplicationMain + 1832
20 libdyld.dylib 0x00007fff919c15c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8e8dc22e kevent64 + 10
1 libdispatch.dylib 0x00007fff9a706a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8e8db946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9aac04a1 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8e8db946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9aac04a1 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-qos
0 libsqlite3.dylib 0x00007fff97cdf4b4 sqlite3HashInsert + 100
1 libsqlite3.dylib 0x00007fff97d7ef9e sqlite3CreateForeignKey + 1358
2 libsqlite3.dylib 0x00007fff97cea93e yy_reduce + 4622
3 libsqlite3.dylib 0x00007fff97ce95ea sqlite3Parser + 122
4 libsqlite3.dylib 0x00007fff97ce8544 sqlite3RunParser + 324
5 libsqlite3.dylib 0x00007fff97ce7cfa sqlite3Prepare + 794
6 libsqlite3.dylib 0x00007fff97ce78e7 sqlite3LockAndPrepare + 231
7 libsqlite3.dylib 0x00007fff97d0d3c3 sqlite3InitCallback + 771
8 libsqlite3.dylib 0x00007fff97ce74a4 sqlite3_exec + 964
9 libsqlite3.dylib 0x00007fff97d0ce21 sqlite3InitOne + 1457
10 libsqlite3.dylib 0x00007fff97d0c7de sqlite3Init + 94
11 libsqlite3.dylib 0x00007fff97d27f75 selectExpander + 1941
12 libsqlite3.dylib 0x00007fff97d27671 sqlite3WalkSelect + 81
13 libsqlite3.dylib 0x00007fff97def1ba sqlite3SelectPrep + 154
14 libsqlite3.dylib 0x00007fff97d1bde0 sqlite3Select + 464
15 libsqlite3.dylib 0x00007fff97ceaaae yy_reduce + 4990
16 libsqlite3.dylib 0x00007fff97ce95ea sqlite3Parser + 122
17 libsqlite3.dylib 0x00007fff97ce85f6 sqlite3RunParser + 502
18 libsqlite3.dylib 0x00007fff97ce7cfa sqlite3Prepare + 794
19 libsqlite3.dylib 0x00007fff97ce78e7 sqlite3LockAndPrepare + 231
20 libsqlite3.dylib 0x00007fff97d7de33 sqlite3_prepare_v2 + 195
21 rh.CoreFarmHand 0x0000000109eeb500 -[RHFileController loadSheepMovementsOff:fromDatabaseAtPath:] + 624 (RHFileController.m:3330)
22 rh.CoreFarmHand 0x0000000109ebd442 __73-[RHFarmDataController loadResourcesFromDatabaseForYear:animation:error:]_block_invoke + 4690 (RHFarmDataController.m:218)
23 libdispatch.dylib 0x00007fff9a708323 _dispatch_call_block_and_release + 12
24 libdispatch.dylib 0x00007fff9a703c13 _dispatch_client_callout + 8
25 libdispatch.dylib 0x00007fff9a70688f _dispatch_root_queue_drain + 935
26 libdispatch.dylib 0x00007fff9a714fe4 _dispatch_worker_thread3 + 91
27 libsystem_pthread.dylib 0x00007fff9aac26cb _pthread_wqthread + 729
28 libsystem_pthread.dylib 0x00007fff9aac04a1 start_wqthread + 13
Thread 5:: Dispatch queue: com.apple.root.default-qos
0 libobjc.A.dylib 0x00007fff97aefb89 getMethodNoSuper_nolock(objc_class*, objc_selector*) + 71
1 libobjc.A.dylib 0x00007fff97ae3a09 class_getInstanceMethod + 75
2 com.apple.Foundation 0x00007fff8e4d5218 -[NSKeyValueUndefinedSetter initWithContainerClassID:key:containerIsa:] + 76
3 com.apple.Foundation 0x00007fff8e4d515b +[NSObject(NSKeyValueCodingPrivate) _createValuePrimitiveSetterWithContainerClassID:key:] + 504
4 com.apple.Foundation 0x00007fff8e4b89db +[NSObject(NSKeyValueCodingPrivate) _createValueSetterWithContainerClassID:key:] + 540
5 com.apple.Foundation 0x00007fff8e4b8748 _NSKeyValueSetterForClassAndKey + 268
6 com.apple.Foundation 0x00007fff8e4b7e36 _NSKVONotifyingEnableForInfoAndKey + 222
7 com.apple.Foundation 0x00007fff8e491c7e -[NSKeyValueUnnestedProperty _isaForAutonotifying] + 101
8 com.apple.Foundation 0x00007fff8e491ada -[NSKeyValueUnnestedProperty isaForAutonotifying] + 74
9 com.apple.Foundation 0x00007fff8e4b737d -[NSObject(NSKeyValueObserverRegistration) _addObserver:forProperty:options:context:] + 602
10 com.apple.Foundation 0x00007fff8e4b6f7a -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] + 107
11 rh.CoreFarmHand 0x0000000109e965f9 __38-[RHPersistentManager addSheepDeaths:]_block_invoke259 + 681 (RHPersistentManager.m:1074)
12 libdispatch.dylib 0x00007fff9a708323 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x00007fff9a703c13 _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff9a70688f _dispatch_root_queue_drain + 935
15 libdispatch.dylib 0x00007fff9a714fe4 _dispatch_worker_thread3 + 91
16 libsystem_pthread.dylib 0x00007fff9aac26cb _pthread_wqthread + 729
17 libsystem_pthread.dylib 0x00007fff9aac04a1 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8e8db946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9aac04a1 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8e8d652e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e8d569f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8c8ecb14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8c8ebfdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8c8eb838 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff923428f7 _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff9aac22fc _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff9aac2279 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff9aac04b1 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fd37a7e96b0 rcx: 0x00000000000fc080 rdx: 0x000000000002fb10
rdi: 0x00007fd37a4a5700 rsi: 0x00007fff92b52ae3 rbp: 0x00007fff55df9420 rsp: 0x00007fff55df91d0
r8: 0x0000000000000006 r9: 0x00007fd37a400000 r10: 0x00007fd37b087e30 r11: 0x00007fff7c561ec8
r12: 0x00007fd37a4a5700 r13: 0x0000000000000000 r14: 0x0000014a164eaad8 r15: 0x0000000000000088
rip: 0x00007fd37a589ae0 rfl: 0x0000000000010202 cr2: 0x00007fd37a589ae0
Logical CPU: 1
Error Code: 0x00000015
Trap Number: 14
I'm fairly sure this is a stack overflow. Am I correct and is it a recursive loop that is doing it? If not what is happening!
No, it is not a stack overflow. The illegal access is at 0x00007fd37a589ae0. [NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:], 1875 bytes within its code, tried to jump there, and this memory area is reserved for data, not code. The particular piece of code [NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] does not have to be at fault, or indeed any piece of code that appears in the call stack. The crash may be the consequence of a bug in any function that has been called (directly or indirectly) by a function that appears in the call stack, and this function may no longer be featured in the call stack because it has finished executing and left a time bomb in memory.
The stack pointer register contains the value 0x00007fff55df91d0, confirming that an illegal access at 0x00007fd37a589ae0 is not likely to be the stack overflowing.
Also, if you are not the author of Farm Hand, there is nothing useful you can do with this report except send it to the author of Farm Hand (and hope this person is the kind of programmer that can make sense of it) or launch a debugger for a long and tedious session. All the interpretations you suggest in your question (recursion, stack overflow) appear to be wrong.

Selector name found in current argument registers: isEqual:

I am looking for some assistance with squashing a bug in an OSX app that i just can't work out. I am getting a logged error of:
Selector name found in current argument registers: isEqual:
But i can't for the life of me work out where it's coming from as the log is very unhelpful. Also i can't reproduce this on my own test systems, but it seems to be happening quite a lot on some of the beta testers machines. This only seems to happen on 10.9.
Here is the log file for the crash:
Incident Identifier: 77FAD32D-0316-489E-B898-9C084A4FF48A
CrashReporter Key: A9FEF4E7-53F7-5FD1-AEDE-915C87BD437F
Hardware Model: MacBookPro8,1
Process: iModerate Deskto [4155]
Path: /Users/USER/Desktop/iModerate Desktop.app/Contents/MacOS/iModerate Desktop
Identifier: com.fuzzybadger.iModerate-Desktop
Version: 1.1.549
Code Type: X86-64
Parent Process: launchd [159]
Date/Time: 2014-02-28 10:40:33 +0000
OS Version: Mac OS X 10.9.0 (13A603)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_NOOP at 0x0
Crashed Thread: 10
Application Specific Information:
Selector name found in current argument registers: isEqual:
Thread 0:
0 libsystem_kernel.dylib 0x00007fff852b1716 __psynch_cvwait + 10
1 QuartzCore 0x00007fff8769cce7 _ZN2CA13DispatchGroupD2Ev + 53
2 QuartzCore 0x00007fff8768916e _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 538
3 QuartzCore 0x00007fff876888f1 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 35
4 QuartzCore 0x00007fff8768837c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 236
5 QuartzCore 0x00007fff87688016 _ZN2CA11Transaction6commitEv + 388
6 QuartzCore 0x00007fff876987a1 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 71
7 CoreFoundation 0x00007fff8998d0a7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
8 CoreFoundation 0x00007fff8998d017 __CFRunLoopDoObservers + 391
9 CoreFoundation 0x00007fff8997e294 CFRunLoopRunSpecific + 340
10 HIToolbox 0x00007fff8fbd1f0d RunCurrentEventLoopInMode + 226
11 HIToolbox 0x00007fff8fbd1b85 ReceiveNextEventCommon + 173
12 HIToolbox 0x00007fff8fbd1abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
13 AppKit 0x00007fff8ce6828e _DPSNextEvent + 1434
14 AppKit 0x00007fff8ce678db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
15 AppKit 0x00007fff8ce5b9cc -[NSApplication run] + 553
16 AppKit 0x00007fff8ce46803 NSApplicationMain + 940
17 libdyld.dylib 0x00007fff8ce435fd start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff852b2662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91e9f152 _dispatch_mgr_init + 0
Thread 2:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 Foundation 0x00007fff90e47907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
5 Foundation 0x00007fff90e4770b __NSThread__main__ + 1318
6 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 3:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 AppKit 0x00007fff8d0081ce _NSEventThread + 144
5 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 4:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 Foundation 0x00007fff90e49a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
5 Simperium-OSX 0x000000010cb6b838 -[_SRRunLoopThread main] (SRWebSocket.m:1744)
6 Foundation 0x00007fff90e4770b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 5:
0 libsystem_kernel.dylib 0x00007fff852b19aa __select + 10
1 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
2 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 6:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 8:
0 libsystem_platform.dylib 0x00007fff8bde7cd1 OSAtomicDequeue + 17
1 libsystem_malloc.dylib 0x00007fff8f4b16c4 nano_malloc + 35
2 libsystem_malloc.dylib 0x00007fff8f4af87c malloc_zone_malloc + 71
3 CoreFoundation 0x00007fff899118df __CFBasicHashRehash + 287
4 CoreFoundation 0x00007fff89917566 __CFBasicHashAddValue + 86
5 CoreFoundation 0x00007fff89916609 CFDictionarySetValue + 217
6 libCGCMS.A.dylib 0x00007fff8b857fb8 CreateProfileSet + 104
7 libCGCMS.A.dylib 0x00007fff8b857e61 profileRef + 189
8 libCGCMS.A.dylib 0x00007fff8b858b79 create + 1205
9 libCGCMS.A.dylib 0x00007fff8b859454 get_cms_space_for_space + 140
10 libCGCMS.A.dylib 0x00007fff8b8592ca get_color_world_for_space + 166
11 libCGCMS.A.dylib 0x00007fff8b8591f0 CMSTransformCreateConverter + 63
12 CoreGraphics 0x00007fff86681ba1 CGColorTransformCacheGetConversionType + 145
13 CoreGraphics 0x00007fff86681aeb CGColorTransformConvertNeedsCMS + 113
14 CoreGraphics 0x00007fff8667f8e9 img_data_lock + 1217
15 CoreGraphics 0x00007fff8667e480 CGSImageDataLock + 149
16 libRIP.A.dylib 0x00007fff86548b3c ripc_AcquireImage + 769
17 libRIP.A.dylib 0x00007fff86547b85 ripc_DrawImage + 1025
18 CoreGraphics 0x00007fff8667e023 CGContextDrawImage + 457
19 AppKit 0x00007fff8cfd8c02 __74-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 835
20 AppKit 0x00007fff8cfd86a8 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1073
21 AppKit 0x00007fff8cfd7fee __71-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 896
22 AppKit 0x00007fff8cf63626 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 170
23 AppKit 0x00007fff8cfd7b6c -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1447
24 AppKit 0x00007fff8cfd7153 -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:] + 1453
25 AppKit 0x00007fff8d01fa21 -[NSImageCell _drawImageWithFrame:inView:] + 225
26 AppKit 0x00007fff8d01f8e5 -[NSImageCell drawInteriorWithFrame:inView:] + 625
27 AppKit 0x00007fff8cfd4728 -[NSControl drawRect:] + 341
28 AppKit 0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
29 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
30 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
31 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
32 AppKit 0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
33 AppKit 0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
34 AppKit 0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
35 QuartzCore 0x00007fff8768a852 CABackingStoreUpdate_ + 2220
36 QuartzCore 0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
37 QuartzCore 0x00007fff87689f5c x_blame_allocations + 84
38 QuartzCore 0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
39 AppKit 0x00007fff8cfc8713 _NSBackingLayerDisplay + 235
40 AppKit 0x00007fff8cf9faab -[_NSViewBackingLayer display] + 811
41 QuartzCore 0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
42 QuartzCore 0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
43 libdispatch.dylib 0x00007fff91e9d2ad _dispatch_client_callout + 8
44 libdispatch.dylib 0x00007fff91e9f09e _dispatch_root_queue_drain + 326
45 libdispatch.dylib 0x00007fff91ea0193 _dispatch_worker_thread2 + 40
46 libsystem_pthread.dylib 0x00007fff905e9ef8 _pthread_wqthread + 314
47 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 10 Crashed:
0 libobjc.A.dylib 0x00007fff87f0e097 objc_msgSend + 23
1 CoreFoundation 0x00007fff899573d9 -[__NSDictionaryM setObject:forKey:] + 505
2 AppKit 0x00007fff8ceb032b -[NSCell _textAttributes] + 531
3 AppKit 0x00007fff8ceb00e2 -[NSCell _unformattedAttributedStringValue:] + 301
4 AppKit 0x00007fff8cfead57 -[NSButtonCell _currentTitle] + 122
5 AppKit 0x00007fff8cfea3fb -[NSButtonCell _configureAndDrawTitleWithRect:cellFrame:controlView:] + 148
6 AppKit 0x00007fff8cfd62cf -[NSButtonCell drawInteriorWithFrame:inView:] + 1965
7 AppKit 0x00007fff8cfd5ac8 -[NSButtonCell drawWithFrame:inView:] + 498
8 AppKit 0x00007fff8cfd4728 -[NSControl drawRect:] + 341
9 AppKit 0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
10 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
11 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
12 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
13 AppKit 0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
14 AppKit 0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
15 AppKit 0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
16 AppKit 0x00007fff8d01e57c -[_NSBackingLayerContents drawLayer:inContext:] + 149
17 QuartzCore 0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
18 AppKit 0x00007fff8d01e0b8 -[_NSTiledLayer drawTile:inContext:] + 654
19 AppKit 0x00007fff8d01ddbc -[_NSTiledLayerContents drawLayer:inContext:] + 172
20 QuartzCore 0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
21 AppKit 0x00007fff8d7f2565 -[NSTileLayer drawInContext:] + 169
22 QuartzCore 0x00007fff8768a852 CABackingStoreUpdate_ + 2220
23 QuartzCore 0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
24 QuartzCore 0x00007fff87689f5c x_blame_allocations + 84
25 QuartzCore 0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
26 AppKit 0x00007fff8d01dccf -[NSTileLayer display] + 119
27 AppKit 0x00007fff8d01a175 -[_NSTiledLayerContents update:] + 5545
28 AppKit 0x00007fff8d0188e8 -[_NSTiledLayer display] + 404
29 QuartzCore 0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
30 QuartzCore 0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
31 libdispatch.dylib 0x00007fff91e9d2ad _dispatch_client_callout + 8
32 libdispatch.dylib 0x00007fff91e9f09e _dispatch_root_queue_drain + 326
33 libdispatch.dylib 0x00007fff91ea0193 _dispatch_worker_thread2 + 40
34 libsystem_pthread.dylib 0x00007fff905e9ef8 _pthread_wqthread + 314
35 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 10 crashed with X86-64 Thread State:
rip: 0x00007fff87f0e097 rbp: 0x000000011ab59d20 rsp: 0x000000011ab59cb8 rax: 0x00007fff76b7c648
rbx: 0x0000000000000001 rcx: 0x0000000000000000 rdx: 0x00007fff76b7c648 rdi: 0x00006080006321a0
rsi: 0x00007fff8d89320c r8: 0x00007fff8d85082b r9: 0x0000000000000032 r10: 0x00007fff8d89320c
r11: 0xbadd0dacedb8bead r12: 0x0000608000232d00 r13: 0x0000000000000002 r14: 0x0000000000000003
r15: 0x0000000000000003 rflags: 0x0000000000010246 cs: 0x000000000000002b fs: 0x0000000000000000
gs: 0x000000000e5d0000
The string Selector name found in current argument registers: isEqual: in the crash report is actually coming from HockeySDK and shows the last selector name objc_msgSend() was trying to call. It is identical to OS X showing the following string in their crash reports: objc_msgSend() selector name: isEqual:.
We'll improve this message in our SDK and also see what we can do in the backend for current incoming messages.
So the crash is not caused by HockeySDK!
The reason for the crash is, that objc_msgSend (thread 10 frame 0) was trying to call isEqual on an invalid object, hence the exception type SIGSEGV (See http://en.wikipedia.org/wiki/Segmentation_fault ). This was triggered by [NSButtonCell _currentTitle] in frame 4.
So you might want to check your table views and cells memory management. Especially when you assign a title to an NSButtonCell.

Cocos2D 2 OSX EXC_BAD_ACCESS (SIGSEGV)

I'm updating a Game I have for the Mac and the update works fine while running through XCode.
I try to Distribute through Developer ID-signed Application so I can have a friend test it and when I run the app and also give them the app it crashes just after the Main Menu. Am I exporting it wrong? Why would it run fine through XCode and then I try to export it and it crashes every time?
Here is my error log:
Crashed Thread: 6 CVDisplayLink
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000121028021
VM Regions Near 0x121028021:
CG shared images 000000011f294000-000000011f29c000 [ 32K] r--/r-- SM=SHM
-->
CG shared images 00000001c0001000-00000001c0009000 [ 32K] rw-/rw- SM=SHM
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff91ef6686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff91ef5c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8bf01803 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8bf06ee6 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8bf066b2 CFRunLoopRunSpecific + 290
5 com.apple.HIToolbox 0x00007fff943620a4 RunCurrentEventLoopInMode + 209
6 com.apple.HIToolbox 0x00007fff94361e42 ReceiveNextEventCommon + 356
7 com.apple.HIToolbox 0x00007fff94361cd3 BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff961c8613 _DPSNextEvent + 685
9 com.apple.AppKit 0x00007fff961c7ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10 com.apple.AppKit 0x00007fff961bf283 -[NSApplication run] + 517
11 com.apple.AppKit 0x00007fff96163cb6 NSApplicationMain + 869
12 libdyld.dylib 0x00007fff916837e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff91ef86d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8ce15eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8ce15cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8ce00171 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff91ef8d16 kevent + 10
1 libdispatch.dylib 0x00007fff91fbfdea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff91fbf9ee _dispatch_mgr_thread + 54
Thread 3:
0 libsystem_kernel.dylib 0x00007fff91ef86d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8ce15eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8ce15cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8ce00171 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff91ef86d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8ce15eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8ce15cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8ce00171 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff91ef86d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8ce15eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8ce15cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8ce00171 start_wqthread + 13
Thread 6 Crashed:: CVDisplayLink
0 com.lasthaven.wordshufflemac 0x000000010bacc52a -[GameScene scrambleWord:] + 158 (GameScene.m:322)
1 com.lasthaven.wordshufflemac 0x000000010baced36 -[GameScene setupNewWord] + 373 (GameScene.m:878)
2 com.lasthaven.wordshufflemac 0x000000010bacb6c1 -[GameScene initializeGame] + 941 (GameScene.m:112)
3 com.lasthaven.wordshufflemac 0x000000010bacb2fc -[GameScene init] + 428 (GameScene.m:56)
4 com.lasthaven.wordshufflemac 0x000000010baf30c1 +[CCNode node] + 33
5 com.lasthaven.wordshufflemac 0x000000010bacb11b +[GameScene scene] + 62 (GameScene.m:32)
6 com.lasthaven.wordshufflemac 0x000000010bac9f90 -[MenuScene playGame:] + 363 (MenuScene.m:301)
7 com.lasthaven.wordshufflemac 0x000000010baee7e3 -[CCMenu ccMouseUp:] + 112
8 com.lasthaven.wordshufflemac 0x000000010bb177fb -[CCEventDispatcher mouseUp:] + 101
9 com.apple.Foundation 0x00007fff97fa5220 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 212
10 com.apple.Foundation 0x00007fff97fdf8b9 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 122
11 com.lasthaven.wordshufflemac 0x000000010bb17f25 -[CCEventDispatcher dispatchEvent:] + 140
12 com.apple.Foundation 0x00007fff97fab677 __NSThreadPerformPerform + 225
13 com.apple.CoreFoundation 0x00007fff8bee4101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
14 com.apple.CoreFoundation 0x00007fff8bee3a25 __CFRunLoopDoSources0 + 245
15 com.apple.CoreFoundation 0x00007fff8bf06dc5 __CFRunLoopRun + 789
16 com.apple.CoreFoundation 0x00007fff8bf066b2 CFRunLoopRunSpecific + 290
17 com.apple.Foundation 0x00007fff97fb389e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
18 com.lasthaven.wordshufflemac 0x000000010bb16888 -[CCDirectorDisplayLink getFrameForTime:] + 162
19 com.apple.CoreVideo 0x00007fff8c0c603d CVDisplayLink::performIO(CVTimeStamp*) + 203
20 com.apple.CoreVideo 0x00007fff8c0c52a4 CVDisplayLink::runIOThread() + 632
21 com.apple.CoreVideo 0x00007fff8c0c5013 startIOThread(void*) + 148
22 libsystem_c.dylib 0x00007fff8ce13742 _pthread_start + 327
23 libsystem_c.dylib 0x00007fff8ce00181 thread_start + 13
scratch that.
after staring at this line for hours:
0 com.lasthaven.wordshufflemac 0x000000010bacc52a -[GameScene scrambleWord:] + 158 (GameScene.m:322)
I realized that the code consisted of a for loop and I couldn't figure out what was wrong with it! So in the end I forgot to initialize the int i in beginning of the for loop.
for(int i = 0; i < [word length]; i++ {
}
So for something so simple that caused a crash outside of XCode but not within it drove me nuts!
Thanks for reading!

Crash log from Apple approval team

Apple has rejected my app because it crashes and I can't find a way to know where the problem is. They say that the crash was on an iPhone 4 with iOS6.
I have built the archive with Xcode 4.4 and iOS 5.1. I have already upgrade to Xcode 4.5 and iOS 6. As you will see, Xcode doesn't identify the symbols on every line of the stack trace; in particular, the system function names are missing, maybe due to the update and not the same version on my computer; I don't know.
I'm just unable to reproduce this crash, I don't have an iPhone 4, just a 3GS and have no bugs.
Here is the log:
Incident Identifier: 23FCC6BC-FB56-4681-8254-E72A01891A80
CrashReporter Key: 1378004e4baa9919d5598a6dec7f08d687552155
Hardware Model: xxx
Process: Myapp [598]
Path: /var/mobile/Applications/31F1CD56-357C-4969-8DBA-F19E7D2AF638/Myapp.app/Myapp
Identifier: Myapp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-09-26 14:40:48.221 -0700
OS Version: iOS 6.0 (10A403)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3403129e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3380397a objc_exception_throw + 26
2 CoreFoundation 0x34031158 +[NSException raise:format:arguments:] + 96
3 Foundation 0x38ff62aa 0x38f86000 + 459434
4 UIKit 0x36c55776 0x36b66000 + 980854
5 UIKit 0x36c54fca -[UIViewController presentViewController:withTransition:completion:] + 3390
6 CoreFoundation 0x340349c0 0x33f6f000 + 809408
7 CoreFoundation 0x33f8bfe6 0x33f6f000 + 118758
8 UIKit 0x36d7372e -[_UIDelayedPresentationContext finishDelayedPresentation:] + 182
9 GameKit 0x32c1dd28 __41-[GKRemoteViewController setupRemoteView]_block_invoke_0327 + 20
10 libdispatch.dylib 0x3840a11a _dispatch_call_block_and_release + 6
11 libdispatch.dylib 0x384094b2 _dispatch_client_callout + 18
12 libdispatch.dylib 0x3840adc6 0x38408000 + 11718
13 CoreFoundation 0x34004f36 __CFRunLoopRun + 1286
14 CoreFoundation 0x33f77eb8 CFRunLoopRunSpecific + 352
15 CoreFoundation 0x33f77d44 0x33f6f000 + 36164
16 GraphicsServices 0x34ce02e6 0x34cdb000 + 21222
17 UIKit 0x36bbd2fc UIApplicationMain + 1116
18 Crossibus 0x0003cc96 main (main.m:16)
19 Crossibus 0x0003cc4c start + 36
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32d00350 __pthread_kill + 8
1 libsystem_c.dylib 0x380db11e pthread_kill + 54
2 libsystem_c.dylib 0x3811796e abort + 90
3 libc++abi.dylib 0x38c0dd4a abort_message + 70
4 libc++abi.dylib 0x38c0aff4 default_terminate() + 20
5 libobjc.A.dylib 0x33803a74 _objc_terminate() + 144
6 libc++abi.dylib 0x38c0b078 safe_handler_caller(void (*)()) + 76
7 libc++abi.dylib 0x38c0b110 std::terminate() + 16
8 libc++abi.dylib 0x38c0c50e __cxa_throw + 118
9 libobjc.A.dylib 0x338039ba objc_exception_throw + 90
10 CoreFoundation 0x34031158 +[NSException raise:format:arguments:] + 96
11 Foundation 0x38ff62aa -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 86
12 UIKit 0x36c55776 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 166
13 UIKit 0x36c54fca -[UIViewController presentViewController:withTransition:completion:] + 3390
14 CoreFoundation 0x340349c0 __invoking___ + 64
15 CoreFoundation 0x33f8bfe6 -[NSInvocation invoke] + 282
16 UIKit 0x36d7372e -[_UIDelayedPresentationContext finishDelayedPresentation:] + 182
17 GameKit 0x32c1dd28 __41-[GKRemoteViewController setupRemoteView]_block_invoke_0327 + 20
18 libdispatch.dylib 0x3840a11c _dispatch_call_block_and_release + 8
19 libdispatch.dylib 0x384094b4 _dispatch_client_callout + 20
20 libdispatch.dylib 0x3840adc6 _dispatch_main_queue_callback_4CF$VARIANT$up + 222
21 CoreFoundation 0x34004f36 __CFRunLoopRun + 1286
22 CoreFoundation 0x33f77eb8 CFRunLoopRunSpecific + 352
23 CoreFoundation 0x33f77d44 CFRunLoopRunInMode + 100
24 GraphicsServices 0x34ce02e6 GSEventRunModal + 70
25 UIKit 0x36bbd2fc UIApplicationMain + 1116
26 Crossibus 0x0003cc96 main (main.m:16)
27 Crossibus 0x0003cc4c start + 36
Thread 1 name: Dispatch queue: com.apple.root.default-priority
Thread 1:
0 libsystem_kernel.dylib 0x32d00d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x380b25e8 pthread_workqueue_addthreads_np + 44
2 libdispatch.dylib 0x38417eb0 _dispatch_queue_wakeup_global_slow + 72
3 libdispatch.dylib 0x384097da _dispatch_wakeup$VARIANT$up + 106
4 libdispatch.dylib 0x38417a24 _dispatch_queue_push_list_slow2 + 16
5 libxpc.dylib 0x3742a820 _xpc_connection_mach_event + 828
6 libdispatch.dylib 0x38419df4 _dispatch_mach_msg_invoke$VARIANT$up + 120
7 libdispatch.dylib 0x3840995a _dispatch_queue_drain$VARIANT$up + 82
8 libdispatch.dylib 0x3841a06a _dispatch_mach_invoke$VARIANT$up + 150
9 libdispatch.dylib 0x38418212 _dispatch_root_queue_drain + 190
10 libdispatch.dylib 0x384183b4 _dispatch_worker_thread2 + 80
11 libsystem_c.dylib 0x380b2a0e _pthread_wqthread + 358
12 libsystem_c.dylib 0x380b28a0 start_wqthread + 4
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x32cf0648 kevent64 + 24
1 libdispatch.dylib 0x384194ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3840bdf4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 3 name: Dispatch queue: com.apple.uikit._UIViewServiceXPCProxy 0x1ededbb0 target:<_UIQueueRedirectingProxy: 0x1ed77750; target: <_UIViewServiceFencingControlProxy: 0x1ed82fc0; target: <_UIViewServiceImplicitAnimationDecodingProxy: 0x1ed678e0; target: <_UIObjectArgumentReplacingProxy: 0x1ed6ef60; target: <_UIStrongToWeakAdapter: 0x1edae420; target: <GKRemoteAuthenticateViewController: 0x1ed6c490>>>>; suspension count: 0>; queue: 0x3bebd580 (com.apple.main-thread)>
Thread 3:
0 libobjc.A.dylib 0x33800f2a objc_release + 10
1 XPCObjects 0x37d9fc66 __destroy_helper_block_133 + 18
2 libsystem_blocks.dylib 0x3427bab0 _Block_release + 220
3 libxpc.dylib 0x374256c4 _xpc_connection_call_reply + 28
4 libdispatch.dylib 0x38409996 _dispatch_queue_drain$VARIANT$up + 142
5 libdispatch.dylib 0x38409890 _dispatch_queue_invoke$VARIANT$up + 32
6 libdispatch.dylib 0x38418212 _dispatch_root_queue_drain + 190
7 libdispatch.dylib 0x384183b4 _dispatch_worker_thread2 + 80
8 libsystem_c.dylib 0x380b2a0e _pthread_wqthread + 358
9 libsystem_c.dylib 0x380b28a0 start_wqthread + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x32cefeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x32cf0048 mach_msg + 36
2 CoreFoundation 0x34006040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x34004d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33f77eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33f77d44 CFRunLoopRunInMode + 100
6 WebCore 0x34d5ba70 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x380bd30e _pthread_start + 306
8 libsystem_c.dylib 0x380bd1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x32d00d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x380b2cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x380b2a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x380b28a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x3be7e534
r4: 0x00000006 r5: 0x3be7eb88 r6: 0x1ed61194 r7: 0x2fdc4a14
r8: 0x1ed61170 r9: 0x00000300 r10: 0x1ed65e20 r11: 0x36ffaa2f
ip: 0x00000148 sp: 0x2fdc4a08 lr: 0x380db123 pc: 0x32d00350
cpsr: 0x00070010
Can you provide any insight into what's wrong or how to determine what's wrong?
Edit:
I think i have found, it was a problem with Game Center and IOS 6. The method "authenticateWithCompletionHandler" is deprecated and make it crash.
Thanks.
1) Your 3GS works fine and its running iOS 6, right?
2) You don't need to switch completely to Xcode4.5 if you don't want to for some reason, just install it side by side with Xcode4.4.1 and just use it to test and run your app in a Retina iPhone simulator.
3) If you still cannot get the crash, then I am going to make a wild guess that this is your problem:
5 UIKit 0x36c54fca -[UIViewController presentViewController:withTransition:completion:] + 3390
Is the presentedViewController retained in a strong variable (if using ARC), or in a retained property in the presenting ViewController? If not make it so, but then, no way to know for sure if it fixes the problem.
A good reason to build up points here is to be able to add a bounty for an answer - I believe 50 points is the min. Assuming you know Android well (given last name, isn't going to make you friends here in iOS land), answer a few question now and get some points.
With a bounty, you maybe can get someone to test your app on their phone by building an Ad Hoc version of the app (but Provisioning H*ll awaits :-( )

What's going wrong in this crash log

So i have this crash log from my application. I don't have much experience in reading such logs :( Could someone please help me?
Thanks
CrashLog:
Process: SoundCloud Downloader [15495]
Path: /Applications/SoundCloud Downloader.app/Contents/MacOS/SoundCloud Downloader
Identifier: com.BirdiCode.SoundCloud_Downloader
Version: 2.1.1 (b7)
Code Type: X86-64 (Native)
Parent Process: launchd [227]
Date/Time: 2012-01-08 15:16:21.614 +0100
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Crashed Thread: 7
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100053000 [ 332K] r-x/rwx SM=COW /Applications/SoundCloud Downloader.app/Contents/MacOS/SoundCloud Downloader
Application Specific Information:
objc_msgSend() selector name: _cfTypeID
objc[15495]: garbage collection is OFF
Thread 0:: Dispatch queue: com.apple.main-thread
0 libunwind.dylib 0x00007fff8bf97239 libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncodingRBPFrame(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 1
1 libunwind.dylib 0x00007fff8bf971fd libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncoding(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 37
2 libunwind.dylib 0x00007fff8bf97171 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step() + 69
3 libobjc.A.dylib 0x00007fff91442294 objc_addExceptionHandler + 82
4 com.apple.CoreFoundation 0x00007fff94d27d44 _CFDoExceptionOperation + 308
5 com.apple.AppKit 0x00007fff8ffd3309 _NSAppKitLock + 73
6 com.apple.AppKit 0x00007fff9009acb2 -[NSCGSContext _invalidate] + 57
7 com.apple.AppKit 0x00007fff9009ac53 -[NSCGSContext dealloc] + 27
8 com.apple.AppKit 0x00007fff9009ac31 -[NSWindowGraphicsContext dealloc] + 67
9 com.apple.AppKit 0x00007fff9009abe5 -[NSBitmapGraphicsContext dealloc] + 92
10 libobjc.A.dylib 0x00007fff9144003c (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 434
11 com.apple.CoreFoundation 0x00007fff94cc5f75 _CFAutoreleasePoolPop + 37
12 com.apple.Foundation 0x00007fff8a83c2a6 __NSFireDelayedPerform + 468
13 com.apple.CoreFoundation 0x00007fff94cecf84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
14 com.apple.CoreFoundation 0x00007fff94cecad6 __CFRunLoopDoTimer + 534
15 com.apple.CoreFoundation 0x00007fff94ccd471 __CFRunLoopRun + 1617
16 com.apple.CoreFoundation 0x00007fff94cccae6 CFRunLoopRunSpecific + 230
17 com.apple.HIToolbox 0x00007fff8c02a3d3 RunCurrentEventLoopInMode + 277
18 com.apple.HIToolbox 0x00007fff8c03163d ReceiveNextEventCommon + 355
19 com.apple.HIToolbox 0x00007fff8c0314ca BlockUntilNextEventMatchingListInMode + 62
20 com.apple.AppKit 0x00007fff8ffd83f1 _DPSNextEvent + 659
21 com.apple.AppKit 0x00007fff8ffd7cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
22 com.apple.AppKit 0x00007fff8ffd462d -[NSApplication run] + 470
23 com.apple.AppKit 0x00007fff9025380c NSApplicationMain + 867
24 com.BirdiCode.SoundCloud_Downloader 0x0000000100001e50 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8c7c97e6 kevent + 10
1 libdispatch.dylib 0x00007fff8f5cb5be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8f5ca14e _dispatch_mgr_thread + 54
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8c7c767a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c7c6d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94cc4b6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94ccd2d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94cccae6 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8a8960ab +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
6 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8c7c8df2 __select + 10
1 com.apple.CoreFoundation 0x00007fff94d15f9b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8c7c9192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a610594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a611b85 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8c7c9192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a610594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a611b85 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8c7c9192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a610594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a611b85 start_wqthread + 13
Thread 7 Crashed:
0 libobjc.A.dylib 0x00007fff9143ae90 objc_msgSend + 16
1 com.apple.CoreFoundation 0x00007fff94ca6ae0 CFGetTypeID + 240
2 com.apple.CoreGraphics 0x00007fff8b1a31f0 CGSReleaseRegion + 23
3 com.apple.AppKit 0x00007fff9001ac0d -[NSRegion dealloc] + 33
4 com.apple.AppKit 0x00007fff900a23fc +[_NSAutomaticFocusRing showForView:] + 2655
5 com.apple.AppKit 0x00007fff9001acbe -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 136
6 com.apple.AppKit 0x00007fff9001493e -[NSView displayIfNeeded] + 1676
7 com.apple.AppKit 0x00007fff9016ca18 -[NSWindow setFrame:display:animate:] + 1320
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100015682 -[SoundCloud_DownloaderAppDelegate expandTheWindowForDownload] + 654
9 com.BirdiCode.SoundCloud_Downloader 0x0000000100016374 -[SoundCloud_DownloaderAppDelegate addToDownloadsQue:title:artist:buy:] + 2900
10 com.BirdiCode.SoundCloud_Downloader 0x00000001000126f9 -[SoundCloud_DownloaderAppDelegate prepareForDownloadThread:] + 727
11 com.BirdiCode.SoundCloud_Downloader 0x00000001000129c6 -[SoundCloud_DownloaderAppDelegate prepareThread1] + 70
12 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
13 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
14 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
15 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8c7c9192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a610594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a611b85 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8c7c767a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c7c6d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94cc4b6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94ccd2d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94cccae6 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8a83c04f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.BirdiCode.SoundCloud_Downloader 0x0000000100029601 -[ASIHTTPRequest startSynchronous] + 229
7 com.BirdiCode.SoundCloud_Downloader 0x0000000100013849 -[SoundCloud_DownloaderAppDelegate downloadThisFromThread:] + 952
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100014db2 -[SoundCloud_DownloaderAppDelegate downloadT1] + 70
9 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
10 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
11 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
12 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8c7c767a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c7c6d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94cc4b6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94ccd2d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94cccae6 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8a83c04f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.BirdiCode.SoundCloud_Downloader 0x0000000100029601 -[ASIHTTPRequest startSynchronous] + 229
7 com.BirdiCode.SoundCloud_Downloader 0x00000001000139c3 -[SoundCloud_DownloaderAppDelegate downloadThisFromThread:] + 1330
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100014ccb -[SoundCloud_DownloaderAppDelegate downloadT2] + 70
9 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
10 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
11 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
12 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8c7c767a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c7c6d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94cc4b6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94ccd2d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94cccae6 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8a83c04f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.BirdiCode.SoundCloud_Downloader 0x0000000100029601 -[ASIHTTPRequest startSynchronous] + 229
7 com.BirdiCode.SoundCloud_Downloader 0x0000000100013b3d -[SoundCloud_DownloaderAppDelegate downloadThisFromThread:] + 1708
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100014be4 -[SoundCloud_DownloaderAppDelegate downloadT3] + 70
9 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
10 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
11 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
12 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Thread 7 crashed with X86 Thread State (64-bit):
rax: 0x00007fff7a7a5b00 rbx: 0x0000000101aad400 rcx: 0xf000000000000000 rdx: 0x00007fff7a7d56c0
rdi: 0x0000000101aad400 rsi: 0x00007fff9089fb17 rbp: 0x000000010a1da1d0 rsp: 0x000000010a1da1b0
r8: 0x0000000000000080 r9: 0x0000000000000180 r10: 0x000000010035ec80 r11: 0xf000000000000000
r12: 0x000000010a5263b0 r13: 0x00000000000000e0 r14: 0x000000010a527250 r15: 0x000000010a526500
rip: 0x00007fff9143ae90 rfl: 0x0000000000010246 cr2: 0x000000010a527000
Logical CPU: 0
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 7
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 167922
thread_create: 2
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=162.9M resident=115.1M(71%) swapped_out_or_unallocated=47.8M(29%)
Writable regions: Total=122.9M written=12.7M(10%) resident=21.4M(17%) swapped_out=860K(1%) unallocated=101.4M(83%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 1496K
CG image 1872K
CG raster data 1988K
CG shared images 3512K
CoreGraphics 16K
CoreImage 4K
CoreServices 2888K
MALLOC 86.6M
MALLOC guard page 32K
Memory tag=240 4K
Memory tag=242 12K
Memory tag=243 12K
Memory tag=251 8K
OpenCL 8K
STACK GUARD 56.0M
Stack 13.1M
VM_ALLOCATE 16.2M
__CI_BITMAP 80K
__DATA 15.3M
__IMAGE 1256K
__LINKEDIT 48.2M
__RC_CAMERAS 236K
__TEXT 114.7M
__UNICODE 544K
mapped file 45.3M
shared memory 17.7M
=========== =======
TOTAL 426.9M
Also, ist there a book or some website where i could learn how to read crash logs?
Update:
Here is the code for expandWindowForDownload
- (void)expandTheWindowForDownload
{
// Get the window size
NSRect frame = [window frame];
frame.origin.y += frame.size.height - 201;
frame.size.height = 201;
// Apply it
[window setFrame:frame display:YES animate:YES];
}
Here are the things I normally look for:
Exception type
This normally helps you to understand what the basic problem is. In your case, the exception type is EXC_BAD_ACCESS:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
As Google, Stack Overflow or Apple will tell you, these kind of errors occur when you try to access an object after you've released it. (One common root cause of this is if you "over-release" an object - i.e. you call the release method on an object more often than it had been retained.)
Xcode can often find the source of these kind of errors when you run "Analyze" from the Product menu. (In Xcode 3 it's "Build and Analyze" from the Build menu if I recall correctly.) So give that a try, it might save you some time. Otherwise...
Crashed Thread
You'll find this at the top of the crash log, right above the exception type. In your case you've got:
Crashed Thread: 7
This allows you to discard most of the content of the crash log and concentrate on just the thread that caused the crash. So the bit you're interested in is this:
Thread 7 Crashed:
0 libobjc.A.dylib 0x00007fff9143ae90 objc_msgSend + 16
1 com.apple.CoreFoundation 0x00007fff94ca6ae0 CFGetTypeID + 240
2 com.apple.CoreGraphics 0x00007fff8b1a31f0 CGSReleaseRegion + 23
3 com.apple.AppKit 0x00007fff9001ac0d -[NSRegion dealloc] + 33
4 com.apple.AppKit 0x00007fff900a23fc +[_NSAutomaticFocusRing showForView:] + 2655
5 com.apple.AppKit 0x00007fff9001acbe -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 136
6 com.apple.AppKit 0x00007fff9001493e -[NSView displayIfNeeded] + 1676
7 com.apple.AppKit 0x00007fff9016ca18 -[NSWindow setFrame:display:animate:] + 1320
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100015682 -[SoundCloud_DownloaderAppDelegate expandTheWindowForDownload] + 654
9 com.BirdiCode.SoundCloud_Downloader 0x0000000100016374 -[SoundCloud_DownloaderAppDelegate addToDownloadsQue:title:artist:buy:] + 2900
10 com.BirdiCode.SoundCloud_Downloader 0x00000001000126f9 -[SoundCloud_DownloaderAppDelegate prepareForDownloadThread:] + 727
11 com.BirdiCode.SoundCloud_Downloader 0x00000001000129c6 -[SoundCloud_DownloaderAppDelegate prepareThread1] + 70
12 com.apple.Foundation 0x00007fff8a88a7fe -[NSThread main] + 68
13 com.apple.Foundation 0x00007fff8a88a776 __NSThread__main__ + 1575
14 libsystem_c.dylib 0x00007fff8a60e8bf _pthread_start + 335
15 libsystem_c.dylib 0x00007fff8a611b75 thread_start + 13
Now you can work down this stack trace from top to bottom until you reach the first call from your own code. (In theory it's possible that the crash is being caused by an error in Apple's code, but in practice it's almost always our code, not theirs.)
So for you the line of code where things have started to go wrong is:
8 com.BirdiCode.SoundCloud_Downloader 0x0000000100015682 -[SoundCloud_DownloaderAppDelegate expandTheWindowForDownload] + 654
Have a look through the expandTheWindowForDownload method and see if you can spot where you're accessing a released object. If you can't spot it, post the code for that method here and we should be able to find the answer and help you understand what's gone wrong.
Ok, so for anyone viewing this I found the solution to the problem.
It seems to be if you resize the window and the user has "Focused" on a NSTextField while the window is resizing it may cause the crash. This happens on all text input except the NSForm.
This problem occurs on 10.7.2 & 10.7.3. I haven't tried it on any other versions of mac os x.
To solve this problem I just called [textField setEditable:NO]; before and [textField setEditable:YES]; after the window resizing call.
Anyway, thanks for helping!