Hey,
My app runs fine in the IDE and in the same user account when I install it and run it externally on the mac as a real Application after compile.
Tested on another mac and it crashes. I’ve pasted the stack below but had to cut the bottom off bc forum says post is too long
Per below is it crashing on “fileExistsGetter” ?
And if so what does that mean?
I do have some if file exists statements but why would that crash the program?
And why would that happen on one account or mac and not another?
Anyway the only way I can think to debug is to add some file logging or popups.
I already have some Exception handling but it doesn’t pop up… crashes before anything happens.
Thanks in advance. -Tim
----stack dump -----
Process: RetirementView [5140]
Path: /Applications/RetirementView.app/Contents/MacOS/RetirementView
Identifier: com.torrid-tech.retirementview
Version: 2017.1 (17.1.1.3.0)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: RetirementView [5140]
User ID: 501
Date/Time: 2017-01-27 11:23:03.490 -0500
OS Version: Mac OS X 10.10.5 (14F2109)
Report Version: 11
Anonymous UUID: 5FAA7BBE-4BBC-ED99-0FF9-678EA4E2E8FE
Sleep/Wake UUID: 42CC3CCA-41AC-4614-8DF5-3025BD81D944
Time Awake Since Boot: 66000 seconds
Time Since Wake: 210 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
VM Regions Near 0x18:
–>
__TEXT 0000000000001000-00000000011ae000 [ 17.7M] r-x/rwx SM=COW /Applications/RetirementView.app/Contents/MacOS/RetirementView
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 rbframework.dylib 0x012ac999 fileExistsGetter + 9
1 com.torrid-tech.retirementview 0x0009bc9e 0x1000 + 634014
2 com.torrid-tech.retirementview 0x004b518d 0x1000 + 4931981
3 rbframework.dylib 0x0126f715 enableMenuItems + 629
4 com.torrid-tech.retirementview 0x0001f6de 0x1000 + 124638
5 com.torrid-tech.retirementview 0x000cd39e 0x1000 + 836510
6 rbframework.dylib 0x012a3794 DecodeBackslashEscapeString + 10372
7 rbframework.dylib 0x0126de62 RuntimeRegisterAppObject + 338
8 com.torrid-tech.retirementview 0x002049c0 0x1000 + 2111936
9 com.torrid-tech.retirementview 0x000027ba 0x1000 + 6074
10 com.torrid-tech.retirementview 0x000063a0 0x1000 + 21408
11 com.torrid-tech.retirementview 0x000064f3 0x1000 + 21747
12 com.torrid-tech.retirementview 0x0000253c 0x1000 + 5436
13 com.torrid-tech.retirementview 0x01107bb7 0x1000 + 17853367
14 com.torrid-tech.retirementview 0x01107b0d 0x1000 + 17853197
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x9362d8ce kevent64 + 10
1 libdispatch.dylib 0x9a47ace3 _dispatch_mgr_invoke + 245
2 libdispatch.dylib 0x9a47a8c6 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x9362ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x912a872a _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x912a5e0e start_wqthread + 30
Thread 3:
0 libsystem_kernel.dylib 0x9362ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x912a872a _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x912a5e0e start_wqthread + 30
Thread 4:
0 libsystem_kernel.dylib 0x9362ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x912a872a _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x912a5e0e start_wqthread + 30
Thread 5:
0 libsystem_kernel.dylib 0x9362ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x912a872a _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x912a5e0e start_wqthread + 30
Thread 6:
0 libsystem_kernel.dylib 0x9362c512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x912a91d7 _pthread_cond_wait + 842
2 libsystem_pthread.dylib 0x912a9e68 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x9b639811 TSWaitOnConditionTimedRelative + 167
4 com.apple.CoreServices.CarbonCore 0x9b639370 TSWaitOnSemaphoreCommon + 499
5 com.apple.CoreServices.CarbonCore 0x9b63956b TSWaitOnSemaphoreRelative + 24
6 com.apple.QuickTimeComponents.component 0x97cbf282 0x97a4b000 + 2572930
7 libsystem_pthread.dylib 0x912a8c25 _pthread_body + 138
8 libsystem_pthread.dylib 0x912a8b9b _pthread_start + 162
9 libsystem_pthread.dylib 0x912a5e32 thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x9362c512 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x912a91d7 _pthread_cond_wait + 842
2 libsystem_pthread.dylib 0x912a9e68 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x9b639811 TSWaitOnConditionTimedRelative + 167
4 com.apple.CoreServices.CarbonCore 0x9b639370 TSWaitOnSemaphoreCommon + 499
5 com.apple.CoreServices.CarbonCore 0x9b63956b TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x9b5dc950 AIOFileThread(void*) + 914
7 libsystem_pthread.dylib 0x912a8c25 _pthread_body + 138
8 libsystem_pthread.dylib 0x912a8b9b _pthread_start + 162
9 libsystem_pthread.dylib 0x912a5e32 thread_start + 34
Thread 8:
0 libsystem_kernel.dylib 0x9362ce6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x912a872a _pthread_wqthread + 939
2 libsystem_pthread.dylib 0x912a5e0e start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x07e08bc0 ecx: 0x07e09110 edx: 0xbffffb18
edi: 0x016778a0 esi: 0x00000000 ebp: 0xbfffd998 esp: 0xbfffd990
ss: 0x00000023 efl: 0x00010286 eip: 0x012ac999 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000018
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14