I build OSX wallets for various cryptocurrencies and use QT 4.8.5 to build them.
One of the users of my .app files recently sent me these error logs which appear when he tries to open any of the apps I built on his system. He did appear to be a one off case so I assumed something was wrong with his system but someone else posted another log citing the same issue. I cannot seem to pinpoint the issue. Any ideas on what's wrong?
Process: FairCoin-Qt [42516]
Path: /Users/USER/Downloads/FairCoin-Qt 3.app/Contents/MacOS/FairCoin-Qt
Identifier: com.yourcompany.FairCoin-Qt
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [145]
Responsible: FairCoin-Qt [42516]
User ID: 501
Date/Time: 2014-04-17 11:04:09.485 +0200
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: 61FC4C8C-2509-6D30-A775-5C3E7F320AB1
Sleep/Wake UUID: CEC509C8-BC3E-4170-8656-A3B9499E5BB9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100540000 [ 5376K] r-x/rwx SM=COQ /Users/USER/Downloads/FairCoin-Qt 3.app/Contents/MacOS/FairCoin-Qt
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x0000000109ebb570 QApplication::setActiveWindow(QWidget*) + 400
1 QtGui 0x0000000109e4fe94 onApplicationWindowChangedActivation(QWidget*, bool) + 100
2 com.apple.CoreFoundation 0x00007fff8cb3ce0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
3 com.apple.CoreFoundation 0x00007fff8ca30a6d _CFXNotificationPost + 2893
4 com.apple.Foundation 0x00007fff8bb297ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
5 QtGui 0x0000000100a3e12b QWidgetPrivate::setParent_sys(QWidget*, QFlags<Qt::WindowType>) + 5163
6 com.apple.AppKit 0x00007fff91e36a67 _NXShowKeyAndMain + 171
7 com.apple.AppKit 0x00007fff91cd3ad6 -[NSApplication sendEvent:] + 7127
8 QtGui 0x0000000100a4b8b2 QMacInputContext::reset() + 45538
9 com.apple.AppKit 0x00007fff91b22b89 -[NSApplication run] + 646
10 QtGui 0x0000000100a541bf QDesktopWidget::resizeEvent(QResizeEvent*) + 3887
11 QtGui 0x0000000100a55de1 QDesktopWidget::resizeEvent(QResizeEvent*) + 11089
12 QtCore 0x00000001016e8d35 QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 69
13 QtGui 0x0000000100af77cf QWidgetPrivate::show_helper() + 639
14 QtGui 0x0000000100af7a1f QWidget::setVisible(bool) + 511
15 com.yourcompany.FairCoin-Qt 0x000000010002b022 main + 7794
16 com.yourcompany.FairCoin-Qt 0x0000000100027fd8 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff90c3be6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97dcff08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97dd2fb9 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff90c3c662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8a7b243d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8a7b2152 _dispatch_mgr_thread + 52
Thread 3:
0 libsystem_kernel.dylib 0x00007fff90c3be6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97dcff08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97dd2fb9 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff90c3be6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97dcff08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97dd2fb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff90c37a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff90c36d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8ca91155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8ca90779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8ca900b5 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff91ccf16e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff97dce899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff97dce72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff97dd2fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff5fbff660 rcx: 0x0000000101c66130 rdx: 0x0000000000000002
rdi: 0x00007fff5fbff660 rsi: 0x0000000000000001 rbp: 0x00007fff5fbfe880 rsp: 0x00007fff5fbfe7e0
r8: 0x0000000106ea5410 r9: 0x0000000000000011 r10: 0x0000000101b4a1d0 r11: 0x00007fff7ab45c88
r12: 0x00000000000f4282 r13: 0x00007fff5fbfea80 r14: 0x00007fff5fbff660 r15: 0x000000010a6e8418
rip: 0x0000000109ebb570 rfl: 0x0000000000010202 cr2: 0x0000000000000000
Logical CPU: 1
Error Code: 0x00000004
Trap Number: 14
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
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: 126855
thread_create: 2
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=200.9M resident=76.7M(38%) swapped_out_or_unallocated=124.3M(62%)
Writable regions: Total=75.9M written=4632K(6%) resident=10.2M(13%) swapped_out=1224K(2%) unallocated=65.7M(87%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 452K
CG shared images 172K
CoreServices 1068K
Dispatch continuations 8192K
Kernel Alloc Once 8K
MALLOC 38.8M
MALLOC (admin) 32K
Memory Tag 242 12K
STACK GUARD 56.0M
Stack 10.1M
VM_ALLOCATE 16.3M
__DATA 20.9M
__IMAGE 528K
__LINKEDIT 73.9M
__TEXT 127.0M
__UNICODE 544K
mapped file 82.0M
shared memory 4K
=========== =======
TOTAL 435.9M
I've cut out the binaries loaded part to trim the error down to size but you can find the full error log and the rest of the error logs here:
FairCoin-Qt
CannaCoin-Qt
I know it's been a while but I just dealt with an essentially identical error. Long story short, this was caused by a collision between two versions of Qt. There are several possible causes:
The most common seems to be a plugin with its own version of Qt.
In my case, it was an issue where PyInstaller wasn't getting my application pointed to the included version of Qt so it was conflicting with the general installation in my Library.
I actually removed my install of Qt to confirm that this was actually the issue (the app ran fine afterwards). By extension, you'd only see the issue among customers who have an installation of Qt.
Two ways users can diagnose the issue:
Open the .app folder and navigate down to Contents/MacOS. Run the program from this location. You'll get a terminal showing errors like these: http://www.pyinstaller.org/ticket/472.
Confirm the presence of a Qt install. (Temporarily) move the Qt Libraries and see if the app runs successfully.
Related
Apparently out of the blue, I have started to experience random crashes on my Mac Pro 4.1, flashed to 5.1. It's running High Sierra 10.13.6 (17G9016), with 48Gb of Ram and two cards (one GT120 and a flashed MacVidCard Titan X Pascal). It is a soft crash in the sense that it just logs me out of my session and then I need to log in again, so it doesn't completely reboot.
However it's very annoying since I can't finish any task properly and need to reopen all the files I might be working with, which generally deal with heavy graphics (CAD applications or video editing).
I am not fluent in reading crash logs, so any help reading this one is much appreciated.
Here's the last crash log:
Process: WindowServer [144]
Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
Identifier: WindowServer
Version: 600.00 (312.103.11)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: WindowServer [144]
User ID: 88
Date/Time: 2019-11-17 18:15:12.313 +0000
OS Version: Mac OS X 10.13.6 (17G9016)
Report Version: 12
Anonymous UUID: B4B1B7C1-08E2-6A09-6684-E949A6C2D95F
Time Awake Since Boot: 230 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000016
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x16:
-->
__TEXT 0000000108ebe000-0000000108ebf000 [ 4K] r-x/rwx SM=COW [/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer]
Application Specific Information:
StartTime:2019-11-17 18:11:36
GPU:NV
MetalDevice for accelerator(0x4507): 0x7fb86ae03ef8 (MTLDevice: 0x7fb86c004800)
MetalDevice for accelerator(0x4e07): 0x7fb86d00d858 (MTLDevice: 0x7fb86c004800)
IOService:/AppleACPIPlatformExpert/PCI0#0/AppleACPIPCI/IOU0#3/IOPP/PXS1#0/NVDA,Display-B#1/NVDA
IOService:/AppleACPIPlatformExpert/PCI0#0/AppleACPIPCI/IOU1#7/IOPP/PXS2#0/NVDA,Display-A#0/NVDATesla
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libGPUSupport.dylib 0x00007fff6606b10c gpumRestoreTextureData + 60
1 libGFXShared.dylib 0x00007fff56f366d9 gfxUploadPluginTextureLevel + 111
2 GLEngine 0x00007fff57bf55e7 gleSynchronizePluginTextureLevels + 279
3 GLEngine 0x00007fff57bbfaaf gleBindFramebuffer + 321
4 GLEngine 0x00007fff57b0855c glBindFramebuffer_Exec + 142
5 com.apple.SkyLight 0x00007fff6f32ec24 CaptureSurfaceGL::CreateAndAttachTextureToFBO() + 162
6 com.apple.SkyLight 0x00007fff6f32e3d8 CaptureSurfaceGL::PrepareForPopulation(CGRect, WSPixelFormat, float, bool, CGColorSpace*, CGXDisplayDevice*, unsigned int) + 74
7 com.apple.SkyLight 0x00007fff6f444601 WSCALayerBackingUpdateFlatteningIfNeeded + 1284
8 com.apple.SkyLight 0x00007fff6f3cd2b3 CGXNextSurface + 3246
9 com.apple.SkyLight 0x00007fff6f472211 generate_layers_for_window_surfaces(CGXRedrawState*, CGXWindow*, CGSOrderOp, unsigned int, int*, WSCompositeSourceLayer**, CGSRegionObject*) + 5581
10 com.apple.SkyLight 0x00007fff6f46cca6 generate_layers_for_window(CGXRedrawState*, CGXWindow*) + 3193
11 com.apple.SkyLight 0x00007fff6f46afc1 CGXUpdateDisplay + 13505
12 com.apple.SkyLight 0x00007fff6f467882 update_display_callback(void*, double) + 257
13 com.apple.SkyLight 0x00007fff6f4ae552 run_timer_pass + 495
14 com.apple.SkyLight 0x00007fff6f4dc1c9 CGXRunOneServicesPass + 247
15 com.apple.SkyLight 0x00007fff6f4dcd84 SLXServer + 832
16 WindowServer 0x0000000108ebedde 0x108ebe000 + 3550
17 libdyld.dylib 0x00007fff75559015 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff756aa28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff75871009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff75870be9 start_wqthread + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff756a020a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff7569f724 mach_msg + 60
2 com.apple.CoreDisplay 0x00007fff4d4cb685 0x7fff4d41c000 + 718469
3 com.apple.CoreDisplay 0x00007fff4d4cb813 0x7fff4d41c000 + 718867
4 libsystem_pthread.dylib 0x00007fff75871661 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7587150d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff75870bf9 thread_start + 13
Thread 3:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff756a020a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff7569f724 mach_msg + 60
2 com.apple.QuartzCore 0x00007fff5890ae62 CA::Render::Server::server_thread(void*) + 870
3 com.apple.QuartzCore 0x00007fff5890aae6 thread_fun + 25
4 libsystem_pthread.dylib 0x00007fff75871661 _pthread_body + 340
5 libsystem_pthread.dylib 0x00007fff7587150d _pthread_start + 377
6 libsystem_pthread.dylib 0x00007fff75870bf9 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff756aa28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff75871009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff75870be9 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fb871800000 rbx: 0x00007fb86c0e8800 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fb86f832a00 rsi: 0x00007fb86c0e8800 rbp: 0x00007ffee6d40380 rsp: 0x00007ffee6d40320
r8: 0x0000000000000000 r9: 0x000000016f236ee7 r10: 0x0000000000000003 r11: 0x0000000000000206
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x00007fb86f832a00
rip: 0x00007fff6606b10c rfl: 0x0000000000010246 cr2: 0x0000000000000016
Logical CPU: 4
Error Code: 0x00000004
Trap Number: 14
Binary Images:
[…]
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3
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: 318
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=380.3M resident=0K(0%) swapped_out_or_unallocated=380.3M(100%)
Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 2
CG backing stores 173.6M 139
CG framebuffers 1.0G 9
CG framebuffers (reserved) 56.1M 9 reserved VM address space (unallocated)
CG image 668K 9
CoreAnimation 64.1M 53
CoreGraphics 4K 2
Dispatch continuations 32.0M 2
Kernel Alloc Once 8K 2
MALLOC 321.3M 146
MALLOC guard page 48K 13
MALLOC_LARGE (reserved) 160K 2 reserved VM address space (unallocated)
OpenGL GLSL 256K 4
STACK GUARD 56.0M 6
Stack 10.0M 6
VM_ALLOCATE 1352K 50
__CGSERVER 4K 2
__DATA 51.1M 249
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 194.5M 10
__SLSERVER 4K 2
__TEXT 185.8M 250
__UNICODE 560K 2
mapped file 25.8M 3
shared memory 180K 15
=========== ======= =======
TOTAL 2.1G 965
TOTAL, minus reserved VM space 2.1G 965
I'm on my latest beta on both Xcode and
Mac - macOS High Sierra 10.13 beta 7
XCode - XCode 9 beta 6
Since yesterday after updating Xcode crashes when opening my project and when indexing starts. Other answers in stack overflow do not fix the issue.
Have attached full log here
Part of Crash log as follows
Process: Xcode [665]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: Xcode
Version: 9.0 (13238.4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [665]
User ID: 1105600005
Date/Time: 2017-08-24 07:59:26.512 +0530
OS Version: Mac OS X 10.13 (17A352a)
Report Version: 12
Bridge OS Version: 3.0 (14Y661)
Anonymous UUID: B0A9A8FC-BC57-8953-BB69-E279B3226BBF
Time Awake Since Boot: 630 seconds
System Integrity Protection: enabled
Crashed Thread: 19
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]
Application Specific Information:
ProductBuildVersion: 9M214v
mcount overflow
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff796ece76 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff796ec390 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff52083445 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff52082797 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff52081e13 CFRunLoopRunSpecific + 483
5 com.apple.HIToolbox 0x00007fff513a1876 RunCurrentEventLoopInMode + 286
6 com.apple.HIToolbox 0x00007fff513a15e6 ReceiveNextEventCommon + 613
7 com.apple.HIToolbox 0x00007fff513a1364 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff4f69f783 _DPSNextEvent + 2085
9 com.apple.AppKit 0x00007fff4fe34688 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
10 com.apple.dt.DVTKit 0x000000010b45c8be -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 390
11 com.apple.AppKit 0x00007fff4f694591 -[NSApplication run] + 764
12 com.apple.AppKit 0x00007fff4f663736 NSApplicationMain + 804
13 libdyld.dylib 0x00007fff795a6145 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff796ece76 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff796ec390 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff52083445 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff52082797 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff52081e13 CFRunLoopRunSpecific + 483
5 com.apple.Foundation 0x00007fff540ec3f6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6 com.apple.DTDeviceKitBase 0x000000011d2e94f8 +[DTDKRemoteDeviceConnection startServiceBrowsers] + 217
7 com.apple.Foundation 0x00007fff540fa6d8 __NSThread__start__ + 1197
8 libsystem_pthread.dylib 0x00007fff798306c1 _pthread_body + 340
9 libsystem_pthread.dylib 0x00007fff7983056d _pthread_start + 377
10 libsystem_pthread.dylib 0x00007fff7982fc5d thread_start + 13
0x7fff7983f000 - 0x7fff79846ff7 libsystem_symptoms.dylib (820.1.4) <24FD262C-9701-388A-AEDC-D675747F8CBD> /usr/lib/system/libsystem_symptoms.dylib
0x7fff79847000 - 0x7fff7985aff7 libsystem_trace.dylib (829.1.2) <10955EBB-1AC8-3085-9A2D-F3088CA2DF71> /usr/lib/system/libsystem_trace.dylib
0x7fff7985c000 - 0x7fff79861ff7 libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
0x7fff79862000 - 0x7fff7988dff7 libxpc.dylib (1205.1.10) <E7C5DB12-6D0E-3D1E-A743-F750DF112F5F> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 4
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: 7883
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=871.0M resident=0K(0%) swapped_out_or_unallocated=871.0M(100%)
Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 384K 3
Activity Tracing 256K 2
CG backing stores 79.9M 5
CG image 1432K 57
CG raster data 104K 5
CoreAnimation 53.0M 357
CoreGraphics 8K 2
CoreImage 244K 28
CoreServices 3540K 2
CoreUI image data 4892K 30
CoreUI image file 308K 11
Dispatch continuations 16.0M 2
Foundation 348K 5
Image IO 1956K 45
JS JIT generated code 8K 3
JS JIT generated code (reserved) 1.0G 2 reserved VM address space (unallocated)
Kernel Alloc Once 8K 2
MALLOC 444.7M 110
MALLOC guard page 192K 44
MALLOC_LARGE (reserved) 7684K 3 reserved VM address space (unallocated)
Memory Tag 242 12K 2
Memory Tag 244 128K 3
Memory Tag 251 60K 3
Memory Tag 255 32K 2
SQLite page cache 4928K 11
STACK GUARD 56.1M 28
Stack 21.2M 28
VM_ALLOCATE 116K 17
WebKit Malloc 1056K 3
__DATA 79.7M 619
__FONT_DATA 4K 2
__GLSLBUILTINS 2588K 2
__LINKEDIT 264.7M 200
__TEXT 606.4M 594
__UNICODE 556K 2
libnetwork 128K 2
mapped file 228.4M 231
shared memory 704K 21
=========== ======= =======
TOTAL 2.8G 2450
TOTAL, minus reserved VM space 1.8G 2450
I would review recent changes to your .xcodeproj on the disk vs those in your repo. Xcode has crashed for me when I accidentally added a character to the xcproj file.
Use the Terminal to go back in Git history to a previous commit until you find one where indexing works.
Let it finish indexing and then go back to head.
I am building an app that works fine in most OS X versions, but I have users who want to use it on 10.8.5
I have built with a deployment target of 10.8 and I get crashes on launch in 10.8.5:
Process: Test [301]
Path: /Users/USER/Desktop/Test.app/Contents/MacOS/Test
Identifier: com.map-pin.Test
Version: 2.33 (3330)
Code Type: X86-64 (Native)
Parent Process: launchd [124]
User ID: 501
Date/Time: 2016-02-09 14:17:57.391 -0500
OS Version: Mac OS X 10.8.5 (12F2560)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000060
VM Regions Near 0x60:
-->
__TEXT 0000000108374000-0000000108423000 [ 700K] r-x/rwx SM=COW /Users/USER/Desktop/Test.app/Contents/MacOS/Test
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff8c380670 strlen + 16
1 com.apple.Foundation 0x00007fff83a76d81 +[NSString stringWithCString:encoding:] + 86
2 com.map-pin.Test 0x000000010837c038 -[AppDelegate getDef] + 120
3 com.map-pin.Test 0x00000001083be38f -[AppDelegate applicationDidFinishLaunching:] + 751
4 com.apple.CoreFoundation 0x00007fff8a188eda _CFXNotificationPost + 2554
5 com.apple.Foundation 0x00007fff83a53796 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
6 com.apple.AppKit 0x00007fff8507652d -[NSApplication _postDidFinishNotification] + 292
7 com.apple.AppKit 0x00007fff85076266 -[NSApplication _sendFinishLaunchingNotification] + 216
8 com.apple.AppKit 0x00007fff85073452 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 566
9 com.apple.AppKit 0x00007fff8507304c -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 351
10 com.apple.Foundation 0x00007fff83a6d05b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
11 com.apple.Foundation 0x00007fff83a6cebd _NSAppleEventManagerGenericHandler + 106
12 com.apple.AE 0x00007fff8e906e68 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
13 com.apple.AE 0x00007fff8e906cc9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
14 com.apple.AE 0x00007fff8e906b89 aeProcessAppleEvent + 318
15 com.apple.HIToolbox 0x00007fff8eb0c709 AEProcessAppleEvent + 100
16 com.apple.AppKit 0x00007fff8506f836 _DPSNextEvent + 1456
17 com.apple.AppKit 0x00007fff8506edf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
18 com.apple.AppKit 0x00007fff850661a3 -[NSApplication run] + 517
19 com.apple.AppKit 0x00007fff8500abd6 NSApplicationMain + 869
20 com.map-pin.Test 0x00000001083ee8e2 main + 34
21 libdyld.dylib 0x00007fff8de5a7e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8a7f0d16 kevent + 10
1 libdispatch.dylib 0x00007fff86157dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff861579ee _dispatch_mgr_thread + 54
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000ffffffff rbx: 0x0000000000000060 rcx: 0x0000000000000060 rdx: 0x0000000000000060
rdi: 0x0000000000000060 rsi: 0x00007fff858b9059 rbp: 0x00007fff5788ae30 rsp: 0x00007fff5788ae08
r8: 0x0000000000000000 r9: 0x00007fff5788ad98 r10: 0x00007fe7f2c3c8c0 r11: 0x00007fff83a76d2b
r12: 0x0000000000000001 r13: 0x0000000000000000 r14: 0x0000000000000004 r15: 0x00007fff7256d780
rip: 0x00007fff8c380670 rfl: 0x0000000000010286 cr2: 0x0000000000000060
Logical CPU: 0
Is there a good way to figure out whats going on here?
I had to track down a few methods that were not available until 10.9.x by going through the traces.
I got a new Macbook Pro(second hand,formatted and wiped clean) and tried installing Xcode on it. But for some reason, it just doesn't launch after installation. It gives the error "Xcode quit unexpectedly" and "Click Reopen to launch it again", but when I click Reopen, I get the same error box again (Screenshot below).
I went through similar questions and tried launching Xcode through the terminal as described in this answer, but through this process, the Xcode icon briefly starts up in the dock, and disappears after 3 seconds, with no error message on the terminal at all.
Please help.
EDIT:
Including part of crash report:
Process: Xcode [846]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.2 (7718)
Build Info: IDEFrameworks-7718000000000000~2
App Item ID: 497799835
App External ID: 812404257
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [846]
User ID: 501
Date/Time: 2015-05-21 22:30:08.322 -0400
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: 35E6816B-554F-7731-9409-E1CA9F1808B3
Sleep/Wake UUID: 86FF739A-E75B-4EA9-9BC2-25505518A562
Time Awake Since Boot: 750 seconds
Time Since Wake: 410 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff560ea000
VM Regions Near 0x7fff560ea000:
Stack 00007fff558ea000-00007fff560ea000 [ 8192K] rw-/rwx SM=COW thread 0
-->
__TEXT 00007fff6ddea000-00007fff6de21000 [ 220K] r-x/rwx SM=COW /usr/lib/dyld
Application Specific Information:
ProductBuildVersion: 6D2105
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8b87b670 __CFUniCharPrioritySort + 32
1 com.apple.CoreFoundation 0x00007fff8b86380b CFStringNormalize + 2715
2 ??? 0x000000010cc01a00 0 + 4508883456
3 com.apple.CoreFoundation 0x00007fff8b8535f5 parseQuotedPlistString + 1029
4 com.apple.CoreFoundation 0x00007fff8b852363 parsePlistObject + 419
5 com.apple.CoreFoundation 0x00007fff8b852df4 parsePlistDictContent + 692
6 com.apple.CoreFoundation 0x00007fff8b85237c parsePlistObject + 444
7 com.apple.CoreFoundation 0x00007fff8b852df4 parsePlistDictContent + 692
8 com.apple.CoreFoundation 0x00007fff8b85237c parsePlistObject + 444
9 com.apple.CoreFoundation 0x00007fff8b852882 parsePlistObject + 1730
10 com.apple.CoreFoundation 0x00007fff8b851f1e __CFCreateOldStylePropertyListOrStringsFile + 638
11 com.apple.CoreFoundation 0x00007fff8b7ceee0 _CFPropertyListCreateFromUTF8Data + 2240
12 com.apple.CoreFoundation 0x00007fff8b8cfa2e _CFPropertyListCreateFromXMLStringError + 270
13 com.apple.CoreFoundation 0x00007fff8b8cfaa8 _CFPropertyListCreateFromXMLString + 88
14 com.apple.Foundation 0x00007fff9537137e -[NSString(NSExtendedStringPropertyListParsing) propertyList] + 59
15 com.apple.dt.DVTFoundation 0x0000000109b39059 +[DVTSourceSpecification registerSpecificationProxiesFromPropertyListsInDirectory:recursively:inBundle:] + 1306
16 com.apple.dt.DVTFoundation 0x0000000109b38afb +[DVTSourceSpecification registerSpecificationProxiesFromPropertyListsInDirectory:recursively:] + 75
17 com.apple.dt.DVTFoundation 0x0000000109b3867b +[DVTSourceSpecification searchForAndRegisterAllAvailableSpecifications] + 1243
18 com.apple.dt.IDEFoundation 0x000000010a7711cb IDEInitialize + 988
19 com.apple.dt.IDEKit 0x000000010ad5078c -[IDEApplicationController applicationWillFinishLaunching:] + 710
20 com.apple.CoreFoundation 0x00007fff8b8c745c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
21 com.apple.CoreFoundation 0x00007fff8b7b7634 _CFXNotificationPost + 3140
22 com.apple.Foundation 0x00007fff952809d1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
23 com.apple.dt.DVTFoundation 0x0000000109cc9918 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 162
24 com.apple.AppKit 0x00007fff9299ef57 -[NSApplication finishLaunching] + 440
25 com.apple.dt.DVTKit 0x000000010a271952 -[DVTApplication finishLaunching] + 149
26 com.apple.AppKit 0x00007fff9299ea21 -[NSApplication run] + 128
27 com.apple.AppKit 0x00007fff9291b354 NSApplicationMain + 1832
28 libdyld.dylib 0x00007fff8b4c35c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff95093232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8e847a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000002 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff560ea000 rsi: 0x00007fff99c1d0eb rbp: 0x00007fff560e8248 rsp: 0x00007fff560e8238
r8: 0x00007febf1446540 r9: 0x00027ffd3ed0a7e0 r10: 0xffffffffffffffff r11: 0xffffffec9d852c23
r12: 0x000000000cc01a00 r13: 0x00007febf393b270 r14: 0x00007fff560e8c60 r15: 0x00007febf28c831c
rip: 0x00007fff8b87b670 rfl: 0x0000000000010283 cr2: 0x00007fff560ea000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14
New Information: I have replicated the crash while the phone is connected to my computer with an exception breakpoint enabled, and the application is paused at the moment. If anyone wants to help me with what I should do to get the relevant information before I stop the app, that would be great. It stopped me on a line that was creating a sound which I haven't had a problem with for weeks, so that's confusing.
I recently implemented NSUserDefaults in my game, and it's been causing crashes. The problem is, it never crashes when it'c connected to my computer so I can't actualluy catch the crash - I'm only assuming it has to do with NSUserDefaults.
As of right now I've only stored Ints in my NSUserDefaults. I have realized this morning that I haven't been using the synchronize call, could this be causing the crashes?
Also, how do you check for a key that doesn't exist?
The crash occurs when I tap to switch from the game menu into actually playing the game. One of the first lines of code in the game scene's initWithSize is a call to check and NSLog some default values.
New information: After looking at the crash logs it appears that this crash has two parts. First, a KERN_PROTECTION_FAILURE which crashes the app when I'm using it, and actually another "crash" is being reported a few minutes later, at times which I am sure I am not using the app.
EDIT: CRASH LOG 1:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28505]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:34:03.272 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000018516aefa
Triggered by Thread: 0
Thread 0 Crashed:
0 SpriteKit 0x00000001873ac364 SKCSprite::removeSubsprite(SKCSprite*) + 152
1 SpriteKit 0x00000001873a0d04 -[SKShapeNode dealloc] + 52
2 libobjc.A.dylib 0x0000000190a1d470 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 520
3 CoreFoundation 0x00000001843f9b34 _CFAutoreleasePoolPop + 24
4 UIKit 0x00000001874b6540 _wrapRunLoopWithAutoreleasePoolHandler + 72
5 CoreFoundation 0x00000001844bb854 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
6 CoreFoundation 0x00000001844b8adc __CFRunLoopDoObservers + 368
7 CoreFoundation 0x00000001844b8e68 __CFRunLoopRun + 760
8 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
9 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
10 UIKit 0x000000018752afc0 UIApplicationMain + 1152
11 Pixel Pilot 0x000000010009034c main (main.m:16)
12 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000012cd11870 x1: 0x000000012cd116d0 x2: 0x0000000000000008 x3: 0x000000019112bcdc
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x000000018516aee6 x9: 0x00000001915e4ec8 x10: 0x0000000000000067 x11: 0x00000000002c2a00
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x00000000c1fb8c17 x15: 0x0000000016ed1586
x16: 0x000000019116d42c x17: 0x00000001873a0cd0 x18: 0x0000000000000000 x19: 0x000000012cd11500
x20: 0x000000012cd11870 x21: 0x0000000193ec4380 x22: 0x0000000193ec4380 x23: 0x00000000a1a1a1a1
x24: 0x0000000193eb0098 x25: 0x000000010012c048 x26: 0xa3a3a3a3a3a3a3a3 x27: 0x000000016fda6cd0
x28: 0x0000000000000001 fp: 0x000000016fda6780 lr: 0x00000001873ac344
sp: 0x000000016fda6760 pc: 0x00000001873ac364 cpsr: 0x60000000
CRASH LOG 2:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28606]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:43:50.305 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001
Triggered by Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x0000000189cb46f8 gpus_ReturnNotPermittedKillClient + 12
1 AGXGLDriver 0x00000001830d3248 SubmitPackets + 196
2 GLEngine 0x0000000186e3fa78 gliPresentViewES_Exec + 236
3 GLEngine 0x0000000186e3f908 gliPresentViewES + 192
4 OpenGLES 0x0000000186e4cc98 -[EAGLContext presentRenderbuffer:] + 76
5 SpriteKit 0x0000000187389fb8 -[SKView _renderContent] + 1080
6 libdispatch.dylib 0x0000000190fdbfd0 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000190fe1c80 _dispatch_barrier_sync_f_invoke + 44
8 SpriteKit 0x0000000187389b40 -[SKView renderContent] + 96
9 SpriteKit 0x0000000187387790 __29-[SKView setUpRenderCallback]_block_invoke + 72
10 SpriteKit 0x00000001873a6a8c -[SKDisplayLink _callbackForNextFrame:] + 284
11 QuartzCore 0x0000000187100cb8 CA::Display::DisplayLinkItem::dispatch() + 32
12 QuartzCore 0x0000000187100ac4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 296
13 IOKit 0x00000001853fbe70 IODispatchCalloutFromCFMessage + 360
14 CoreFoundation 0x00000001844aca8c __CFMachPortPerform + 188
15 CoreFoundation 0x00000001844bb03c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x00000001844baf9c __CFRunLoopDoSource1 + 440
17 CoreFoundation 0x00000001844b91c0 __CFRunLoopRun + 1616
18 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
19 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
20 UIKit 0x000000018752afc0 UIApplicationMain + 1152
21 Pixel Pilot 0x000000010011834c main (main.m:16)
22 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000000e00002e2 x2: 0x000000012cd58950 x3: 0x0000000000000030
x4: 0x0000000000000333 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x00000000deadbeef x10: 0x0000000000003fff x11: 0x000000012cd5c000
x12: 0x000000012cd58000 x13: 0x00000000a190c48e x14: 0x000000008beb8f17 x15: 0x00000000e6b617dd
x16: 0x000000019116c3fc x17: 0x0015a535773a04d9 x18: 0x0000000000000000 x19: 0x000000012f000000
x20: 0x00000000e00002e2 x21: 0x000000012f00085c x22: 0x000000010310e043 x23: 0x0000000000000001
x24: 0x000000000000a050 x25: 0x0000000000000000 x26: 0x0000000000000668 x27: 0x000000000000a6a0
x28: 0x0000000193eb0098 fp: 0x000000016fd1d890 lr: 0x0000000189cb56ac
sp: 0x000000016fd1d840 pc: 0x0000000189cb46f8 cpsr: 0x60000000
to check if NSUserDefault object is null do this:
NSUserDefaults *example = [NSUserDefaults standardUserDefaults];
NSObject * object = [example objectForKey:#"test"];
if(object == nil)
{
//object is nil
}
else
{
//object isn't nil
}
then you need to call the when you do something inside NSUserDefault
[example synchronize];