My unity project is randomly crashing at the startup. I was used to solving the problem by checking out my source code in an alternative location and adding the project back to Unity Hub. Unfortunately, this solution no longer works.
Here the crashlog:
Process: Unity [11340]
Path: /Applications/2019.2.9f1/Unity.app/Contents/MacOS/Unity
Identifier: com.unity3d.UnityEditor5.x
Version: Unity version 2019.2.9f1 (2019.2.9f1)
Code Type: X86-64 (Native)
Parent Process: Unity Hub [740]
Responsible: Unity [11340]
User ID: 501
Date/Time: 2019-12-07 17:07:08.386 +0000
OS Version: Mac OS X 10.14.5 (18F132)
Report Version: 12
Bridge OS Version: 3.5 (16P5125)
Time Awake Since Boot: 36000 seconds
Time Since Wake: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000002c0
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x2c0:
-->
__TEXT 000000010c8e4000-00000001135bc000 [108.8M] r-x/rwx SM=COW /Applications/2019.2.9f1/Unity.app/Contents/MacOS/Unity
Application Specific Information:
abort() called
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6f3332c6 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6f3eebf1 pthread_kill + 284
2 libsystem_c.dylib 0x00007fff6f29d6a6 abort + 127
3 com.unity3d.UnityEditor5.x 0x000000010f899dfe HandleSignal(int, __siginfo*, void*) + 62
4 libmonobdwgc-2.0.dylib 0x0000000147111619 mono_chain_signal + 79
5 libmonobdwgc-2.0.dylib 0x0000000146fe2c7f mono_sigsegv_signal_handler + 414
6 libsystem_platform.dylib 0x00007fff6f3e3b5d _sigtramp + 29
7 ??? 000000000000000000 0 + 0
8 com.unity3d.UnityEditor5.x 0x00000001102d6e71 LightingDataAsset::GetLightingDataAssetStableID(UnityScene*) + 97
9 com.unity3d.UnityEditor5.x 0x0000000110344c2f WriteLightingDataAssetJob::Prepare(dynamic_array<UnityGUID, 0ul>&) + 719
10 com.unity3d.UnityEditor5.x 0x0000000110268bf3 IssueWriteLightingDataAssetJob(JobManager*, dynamic_array<UnityGUID, 0ul>&, Hash128 const&) + 531
11 com.unity3d.UnityEditor5.x 0x000000011026dd31 LightingDataAssetManager::PostUpdate() + 353
12 com.unity3d.UnityEditor5.x 0x000000011024f75c gi::PostUpdate(dynamic_array<GISceneManagerClient*, 0ul> const&) + 44
13 com.unity3d.UnityEditor5.x 0x0000000110284b55 GISceneManager::Update() + 1605
14 com.unity3d.UnityEditor5.x 0x0000000110282d0a GISceneManager::GISceneManager()::tickGIInEditorRegistrator::Forward() + 74
15 com.unity3d.UnityEditor5.x 0x000000010cd6ea62 CallbackArray::Invoke() + 82
16 com.unity3d.UnityEditor5.x 0x000000010d5acb8f ProfilerCallbackInvoke<CallbackArray, &(GlobalCallbacks::tickGIInEditor)>::Invoke(char const*) + 63
17 com.unity3d.UnityEditor5.x 0x000000010d5aa1a9 Application::TickTimer() + 4873
18 com.unity3d.UnityEditor5.x 0x00000001108c5675 -[EditorApplication TickTimer] + 165
19 com.apple.Foundation 0x00007fff45579ceb __NSFireTimer + 80
20 com.apple.CoreFoundation 0x00007fff432eca60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
21 com.apple.CoreFoundation 0x00007fff432ec60c __CFRunLoopDoTimer + 851
22 com.apple.CoreFoundation 0x00007fff432ec152 __CFRunLoopDoTimers + 330
23 com.apple.CoreFoundation 0x00007fff432cd362 __CFRunLoopRun + 2130
24 com.apple.CoreFoundation 0x00007fff432cc8be CFRunLoopRunSpecific + 455
25 com.apple.HIToolbox 0x00007fff425b896b RunCurrentEventLoopInMode + 292
26 com.apple.HIToolbox 0x00007fff425b86a5 ReceiveNextEventCommon + 603
27 com.apple.HIToolbox 0x00007fff425b8436 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28 com.apple.AppKit 0x00007fff40952987 _DPSNextEvent + 965
29 com.apple.AppKit 0x00007fff4095171f -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
30 com.apple.AppKit 0x00007fff4094b83c -[NSApplication run] + 699
31 com.apple.AppKit 0x00007fff4093ad7c NSApplicationMain + 777
32 com.unity3d.UnityEditor5.x 0x00000001109038a9 EditorMain(int, char const**) + 665
33 com.unity3d.UnityEditor5.x 0x0000000110903b79 main + 9
34 libdyld.dylib 0x00007fff6f1f83d5 start + 1
what can I do to fix it?
The solution was to delete the /library folder inside the Unity Project and re-load the project
Related
I have a macOS app with a GUI which runs 24/7 and as of last week worked flawlessly. Three days ago I updated my Mac mini late 2012 to macOS Catalina. I started my app again and it worked. The next morning I encountered an EXC_BAD_ACCESS error which crashed the app (see below for more information). Restarted the app, error reappeared next morning and this morning, too.
Background: I don't expect hardware to have any influence since it was never any issue but still: I have a display attached, which through a connected power plug gets turned off at night and turned on again in the morning.
Here's the error:
CVDisplayLink (989): EXC_BAD_ACCESS (code=1, address=0x40)
In the log before the crash this message appears roughly 50 times, not sure if it has anything to do with the crash itself:
CVCGDisplayLink::setCurrentDisplay didn't find a valid display - falling back to 60Hz
and
Could not start the display link: -6661
I attached a screenshot with the threads in question and the last commands. I don't find any connection to my code... The app crashes always at the exact same location (I think).
Any help is highly appreciated! My next step is to leave the display on during the night and see if the error reappears. Even if no, that's no solution as I want the display to sleep during the night and other times...
Here's a crash report:
Process: FIPS [29505]
Path: /Applications/FIPS.app/Contents/MacOS/FIPS
Identifier: xxx.xxxxxxxx.FIPS
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: FIPS [29505]
User ID: 502
Date/Time: 2020-03-29 23:28:13.101 +0200
OS Version: Mac OS X 10.15.4 (19E266)
Report Version: 12
Anonymous UUID: 571E7574-0586-B5D1-F56D-FDC0D2261660
Time Awake Since Boot: 86000 seconds
System Integrity Protection: enabled
Crashed Thread: 17 CVDisplayLink
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000040
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [29505]
VM Regions Near 0x40:
-->
__TEXT 000000010510d000-000000010517f000 [ 456K] r-x/r-x SM=COW /Applications/FIPS.app/Contents/MacOS/FIPS
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.SkyLight 0x00007fff646fa418 SLSCopyManagedDisplayForSpace + 225
3 com.apple.AppKit 0x00007fff329ccc68 _NSDisplayUUIDForSpace + 42
4 com.apple.AppKit 0x00007fff33137f50 -[_NSFullScreenSpace screen] + 47
5 com.apple.AppKit 0x00007fff326a4b7e +[_NSFullScreenSpace visibleFullScreenSpaceOnScreen:] + 312
6 com.apple.AppKit 0x00007fff326a49fa -[NSScreen _menuBarHeight] + 76
7 com.apple.AppKit 0x00007fff326a4998 -[NSScreen _layoutFrame] + 71
8 com.apple.AppKit 0x00007fff326e314a -[NSScreen visibleFrame] + 44
9 com.apple.AppKit 0x00007fff326e23b6 -[NSWindow(NSWindowResizing) _resizableEdgesForGrowing:shrinking:] + 587
10 com.apple.AppKit 0x00007fff3287100b -[NSWindow(NSWindowResizing) _resizeDirectionForMouseLocation:] + 225
11 com.apple.AppKit 0x00007fff32870e86 -[NSWindow(NSWindowResizing) _edgeResizingCursorUpdate:atLocation:] + 227
12 com.apple.AppKit 0x00007fff32870a22 -[NSWindow(NSCursorRects) _setCursorForMouseLocation:] + 179
13 com.apple.AppKit 0x00007fff32781599 _NSWindowDisplayCycleUpdateStructuralRegions + 571
14 com.apple.AppKit 0x00007fff3277bcc4 __NSWindowGetDisplayCycleObserverForUpdateStructuralRegions_block_invoke + 420
15 com.apple.AppKit 0x00007fff32773e52 NSDisplayCycleObserverInvoke + 155
16 com.apple.AppKit 0x00007fff327739dc NSDisplayCycleFlush + 937
17 com.apple.QuartzCore 0x00007fff40f07454 CA::Transaction::run_commit_handlers(CATransactionPhase) + 106
18 com.apple.QuartzCore 0x00007fff40f06166 CA::Transaction::commit() + 230
19 com.apple.AppKit 0x00007fff3282fa01 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266
20 com.apple.AppKit 0x00007fff32f4e950 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
21 com.apple.CoreFoundation 0x00007fff3542402c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
22 com.apple.CoreFoundation 0x00007fff35423f5c __CFRunLoopDoObservers + 457
23 com.apple.CoreFoundation 0x00007fff354234f4 __CFRunLoopRun + 884
24 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
25 com.apple.HIToolbox 0x00007fff34044abd RunCurrentEventLoopInMode + 292
26 com.apple.HIToolbox 0x00007fff340447d5 ReceiveNextEventCommon + 584
27 com.apple.HIToolbox 0x00007fff34044579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28 com.apple.AppKit 0x00007fff3268fc99 _DPSNextEvent + 883
29 com.apple.AppKit 0x00007fff3268e4e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
30 com.apple.AppKit 0x00007fff326801ee -[NSApplication run] + 658
31 com.apple.AppKit 0x00007fff32651ff6 NSApplicationMain + 777
32 xxx.xxxxxxx.FIPS 0x000000010510fb49 main + 9 (AppDelegate.swift:12)
33 libdyld.dylib 0x00007fff6f41ecc9 start + 1
Thread 1:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627425 _pthread_cond_wait + 698
2 libc++.1.dylib 0x00007fff6c6fa623 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3 com.apple.JavaScriptCore 0x00007fff39c42a75 bmalloc::Scavenger::threadRunLoop() + 741
4 com.apple.JavaScriptCore 0x00007fff39c42489 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
5 com.apple.JavaScriptCore 0x00007fff39c44b67 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
6 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff35424bf7 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff354236b1 __CFRunLoopRun + 1329
4 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
5 com.apple.CFNetwork 0x00007fff33c5009a 0x7fff33c06000 + 303258
6 com.apple.Foundation 0x00007fff37ad1882 __NSThread__start__ + 1064
7 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
8 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 3:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.SkyLight 0x00007fff645a58d7 CGSSnarfAndDispatchDatagrams + 237
3 com.apple.SkyLight 0x00007fff647d55a5 SLSGetNextEventRecordInternal + 83
4 com.apple.SkyLight 0x00007fff64673fbe SLEventCreateNextEvent + 136
5 com.apple.HIToolbox 0x00007fff34051da6 PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 268
6 com.apple.HIToolbox 0x00007fff34051c72 MessageHandler(__CFMachPort*, void*, long, void*) + 48
7 com.apple.CoreFoundation 0x00007fff35453983 __CFMachPortPerform + 250
8 com.apple.CoreFoundation 0x00007fff35425003 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 com.apple.CoreFoundation 0x00007fff35424f52 __CFRunLoopDoSource1 + 541
10 com.apple.CoreFoundation 0x00007fff35423a6c __CFRunLoopRun + 2284
11 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
12 com.apple.AppKit 0x00007fff328315b4 _NSEventThread + 132
13 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
14 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 4:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.QuartzCore 0x00007fff40f4f1c2 CA::Render::Server::server_thread(void*) + 496
3 com.apple.QuartzCore 0x00007fff40f4efc3 thread_fun(void*) + 25
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 5:: com.apple.coreaudio.AQClient
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff35424bf7 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff354236b1 __CFRunLoopRun + 1329
4 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
5 com.apple.audio.toolbox.AudioToolbox 0x00007fff337a44cc GenericRunLoopThread::Entry(void*) + 166
6 libAudioToolboxUtility.dylib 0x00007fff6bda96c9 CAPThread::Entry(CAPThread*) + 77
7 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
8 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 6:
0 libsystem_kernel.dylib 0x00007fff6f55fe36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff68f6ab16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff68f6a9b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff68f6a7c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff68f6a1e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 7:: AMCP Logging Spool
0 libsystem_kernel.dylib 0x00007fff6f55fe36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff68f6ab16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff68f6a9b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff68f6a7c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff68f6a1e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 8:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 15:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627457 _pthread_cond_wait + 748
2 com.apple.CoreVideo 0x00007fff373d7d2b CVDisplayLink::waitUntil(unsigned long long) + 229
3 com.apple.CoreVideo 0x00007fff373d7238 CVDisplayLink::runIOThread() + 482
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 16:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627457 _pthread_cond_wait + 748
2 com.apple.CoreVideo 0x00007fff373d7d2b CVDisplayLink::waitUntil(unsigned long long) + 229
3 com.apple.CoreVideo 0x00007fff373d7238 CVDisplayLink::runIOThread() + 482
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 17 Crashed:: CVDisplayLink
0 com.apple.CoreVideo 0x00007fff373d76ab CVCGDisplayLink::getDisplayTimes(unsigned long long*, unsigned long long*, unsigned long long*) + 65
1 com.apple.CoreVideo 0x00007fff373d7525 CVHWTime::update(double, bool*, bool*) + 57
2 com.apple.CoreVideo 0x00007fff373d73de CVXTime::update() + 44
3 com.apple.CoreVideo 0x00007fff373d711c CVDisplayLink::runIOThread() + 198
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 17 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000600001d56c38 rcx: 0x00007000060c8da8 rdx: 0x00007000060c8db0
rdi: 0x00007f9e1d18fe20 rsi: 0x00007000060c8db8 rbp: 0x00007000060c8d90 rsp: 0x00007000060c8d60
r8: 0x000000000009ad1d r9: 0x00007f9e1d18fe50 r10: 0x00007f9e1d18fe58 r11: 0x0000000000000206
r12: 0x00007000060c8db8 r13: 0x0000000000000000 r14: 0x00007000060c8e07 r15: 0x00007000060c8db0
rip: 0x00007fff373d76ab rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Followed by a million lines of Binary Images followed by this:
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 54
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: 16801343
thread_create: 0
thread_set_state: 967
VM Region Summary:
ReadOnly portion of Libraries: Total=778.7M resident=0K(0%) swapped_out_or_unallocated=778.7M(100%)
Writable regions: Total=758.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=758.5M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 1024K 8
Activity Tracing 256K 1
CG backing stores 440K 2
CG image 52K 9
CoreAnimation 2940K 146
CoreData Object IDs 4100K 2
CoreGraphics 8K 1
CoreImage 12K 3
CoreUI image data 392K 7
Foundation 956K 5
IOKit 7940K 1
Image IO 8188K 32
Kernel Alloc Once 8K 1
MALLOC 593.3M 211
MALLOC guard page 48K 11
MALLOC_NANO (reserved) 128.0M 1 reserved VM address space (unallocated)
Memory Tag 242 12K 1
Memory Tag 251 16K 1
SQLite page cache 64K 1
STACK GUARD 56.1M 18
Stack 17.1M 18
VM_ALLOCATE 412K 28
WebKit Malloc 8604K 18
__DATA 55.1M 502
__DATA_CONST 637K 21
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 392.2M 17
__OBJC_RO 32.2M 1
__OBJC_RW 1892K 2
__TEXT 386.5M 487
__UNICODE 564K 1
libnetwork 1664K 24
mapped file 378.0M 74
shared memory 668K 18
=========== ======= =======
TOTAL 2.0G 1675
TOTAL, minus reserved VM space 1.9G 1675
After adding a symbolic breakpoint to "getDisplayTimes" with bt and restarting the app the code immediately stops to show this situation:
Log:
* thread #17, name = 'CVDisplayLink', stop reason = breakpoint 1.1
* frame #0: 0x00007fff3910a66a CoreVideo`CVCGDisplayLink::getDisplayTimes(unsigned long long*, unsigned long long*, unsigned long long*)
frame #1: 0x00007fff3910a525 CoreVideo`CVHWTime::update(double, bool*, bool*) + 57
frame #2: 0x00007fff3910a3de CoreVideo`CVXTime::update() + 44
frame #3: 0x00007fff3910a11c CoreVideo`CVDisplayLink::runIOThread() + 198
frame #4: 0x0000000101047c65 libsystem_pthread.dylib`_pthread_start + 148
frame #5: 0x00000001010434af libsystem_pthread.dylib`thread_start + 15
and this:
I haven’t received any answer from Apple (it’s been months!) so I went ahead and downgraded (which I did not want to do) to Mojave. I haven’t had a single hic up or problem since. I am bewildered.
Code crashing with below stack traces:
It will not allowed to open project file which was already opened and minimised.
Process: Xcode [644]
Path: /Applications/Xcode_10.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 10.1 (14460.46)
Build Info: IDEFrameworks_Fall2018-14460046000000000~5 (10B61)
App Item ID: 497799835
App External ID: 828917606
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [644]
User ID: 869373484
Date/Time: 2020-03-27 13:48:49.845 +0530
OS Version: Mac OS X 10.15.3 (19D76)
Report Version: 12
Anonymous UUID: FD8C88EB-3C2B-91CF-2711-0652F5A776A1
Time Awake Since Boot: 85 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 10B61
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14460.46/IDEKit/Workspace/IDEWorkspaceDocument.m:3335
Details: selection failed. window: currentlySelectedTabbedWindow:
Object:
Method: -_restoreSelectedTabsByIdentifierFromStateSaving:
Thread: {number = 1, name = main}
Hints:
abort() called
Application Specific Signatures:
window == [window currentlySelectedTabbedWindow]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff67ae67fa __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff67ba3bc1 pthread_kill + 432
2 libsystem_c.dylib 0x00007fff67a6da1c abort + 120
3 com.apple.dt.IDEKit 0x000000010d960793 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1324
4 com.apple.dt.IDEKit 0x000000010d960dbf -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1256
5 com.apple.dt.DVTFoundation 0x000000010bd1018a _DVTAssertionHandler + 374
6 com.apple.dt.DVTFoundation 0x000000010bd10463 _DVTAssertionFailureHandler + 374
7 com.apple.dt.IDEKit 0x000000010d889b7a -[IDEWorkspaceDocument _restoreSelectedTabsByIdentifierFromStateSaving:] + 1886
8 com.apple.dt.IDEKit 0x000000010d88594b -[IDEWorkspaceDocument revertStateWithDictionary:] + 267
9 com.apple.dt.DVTFoundation 0x000000010bba380b -[DVTStateToken _pullStateFromDictionary:] + 357
10 com.apple.dt.DVTFoundation 0x000000010bba3bf7 -[DVTStateToken pullStateFromRepository] + 179
11 com.apple.dt.IDEKit 0x000000010d87e2ac -[IDEWorkspaceDocument _readFromURL:ofType:simpleFilesFocused:error:] + 921
12 com.apple.dt.IDEKit 0x000000010d87e88c -[IDEWorkspaceDocument readFromURL:ofType:error:] + 134
13 com.apple.AppKit 0x00007fff2d800db9 -[NSDocument _initWithContentsOfURL:ofType:error:] + 172
14 com.apple.AppKit 0x00007fff2d800ca2 -[NSDocument initWithContentsOfURL:ofType:error:] + 231
15 com.apple.dt.IDEKit 0x000000010dc78b3e -[IDEDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 2064
16 com.apple.AppKit 0x00007fff2da6a91c __97-[NSDocumentController makeDocumentWithContentsOfURL:alternateContents:ofType:completionHandler:]_block_invoke + 91
17 com.apple.AppKit 0x00007fff2da6a8b6 -[NSDocumentController makeDocumentWithContentsOfURL:alternateContents:ofType:completionHandler:] + 160
18 com.apple.AppKit 0x00007fff2d86e8e2 __80-[NSDocumentController openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke + 839
19 com.apple.dt.IDEKit 0x000000010dc7ed59 __145-[IDEDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke + 226
20 com.apple.AppKit 0x00007fff2da69ab8 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke_4 + 31
21 com.apple.AppKit 0x00007fff2da69e0e __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke_2.872 + 177
22 com.apple.AppKit 0x00007fff2da69cf7 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke.871 + 153
23 com.apple.AppKit 0x00007fff2da69c0b __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke.869 + 243
24 com.apple.AppKit 0x00007fff2da762bf ___NSMainRunLoopPerformBlockInModes_block_invoke + 25
25 com.apple.CoreFoundation 0x00007fff302fb7ab __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
26 com.apple.CoreFoundation 0x00007fff302fb6ed __CFRunLoopDoBlocks + 379
27 com.apple.CoreFoundation 0x00007fff302fa731 __CFRunLoopRun + 1257
28 com.apple.CoreFoundation 0x00007fff302f9bd3 CFRunLoopRunSpecific + 499
29 com.apple.HIToolbox 0x00007fff2ee4f65d RunCurrentEventLoopInMode + 292
30 com.apple.HIToolbox 0x00007fff2ee4f2a9 ReceiveNextEventCommon + 356
31 com.apple.HIToolbox 0x00007fff2ee4f127 _BlockUntilNextEventMatchingListInModeWithFilter + 64
32 com.apple.AppKit 0x00007fff2d4bfba4 _DPSNextEvent + 990
33 com.apple.AppKit 0x00007fff2d4be380 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
34 com.apple.dt.DVTKit 0x000000010c376584 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 385
35 com.apple.AppKit 0x00007fff2d4b009e -[NSApplication run] + 658
36 com.apple.AppKit 0x00007fff2d482465 NSApplicationMain + 777
37 com.apple.dt.Xcode 0x000000010ba7e82e main + 574
38 libdyld.dylib 0x00007fff6799f7fd start + 1
I solve this problem by following steps below :
1> Delete DerivedData
2> updates pods if your project have
3> Delete xcUserData from .xcworkspace and .xcproject file .
Solution found on below article please check this for more information.
[https://technuisance.com/xcode/xcode-crash-assertion-failure.html][1]
I am having an issue on my Xcode, lots of times I built or archives the project, I get this error :
Process: Xcode [2376] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 9.2 (13772) Build Info:
IDEFrameworks-13772000000000000~2 App Item ID: 497799835 App
External ID: 825038102 Code Type: X86-64 (Native)
Parent Process: ??? [1] Responsible: Xcode [2376]
User ID: 501
Date/Time: 2018-02-19 13:01:31.507 +0100 OS Version:
Mac OS X 10.13.2 (17C88) Report Version: 12 Anonymous UUID:
86191C10-4328-FD41-CE74-B094E22BEFE9
Time Awake Since Boot: 510 seconds
System Integrity Protection: enabled
Crashed Thread: 45 Dispatch queue: ConcurrentQueue:
-[XCWorkQueueCommandBuiltinInvocation startRunning]_block_invoke
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 9C40b Assertion
failed: (sizeBack == listSize), function
_has_code_signature_extended_attribute, file /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/BuildTaskPlugIns/CoreBuildTasks/Translators/PBXCp/PBXCp.mm,
line 453.
Thread 0:: Dispatch queue: com.apple.main-thread 0
libsystem_kernel.dylib 0x00007fff57ec07c2 mach_msg_trap + 10 1
libsystem_kernel.dylib 0x00007fff57ebfcdc mach_msg + 60 2
com.apple.CoreFoundation 0x00007fff30488a15
__CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff30487d67 __CFRunLoopRun + 1783 4 com.apple.CoreFoundation
0x00007fff304873d7 CFRunLoopRunSpecific + 487 5 com.apple.HIToolbox
0x00007fff2f794e26 RunCurrentEventLoopInMode + 286 6
com.apple.HIToolbox 0x00007fff2f794b96
ReceiveNextEventCommon + 613 7 com.apple.HIToolbox
0x00007fff2f794914 _BlockUntilNextEventMatchingListInModeWithFilter +
64 8 com.apple.AppKit 0x00007fff2da5ff5f _DPSNextEvent
+ 2085 9 com.apple.AppKit 0x00007fff2e1f5b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 10 com.apple.dt.DVTKit 0x000000010f84ff9a -[DVTApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 390 11
com.apple.AppKit 0x00007fff2da54d6d -[NSApplication run]
+ 764 12 com.apple.AppKit 0x00007fff2da23f1a NSApplicationMain + 804 13 libdyld.dylib
0x00007fff57d7a115 start + 1
Thread 1:: Dispatch queue: shared-compile-command-queue (QOS:
UNSPECIFIED) 0 libsystem_kernel.dylib 0x00007fff57ecb41a
read + 10 1 com.apple.Xcode.DevToolsCore 0x0000000122e9a7aa
-[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] + 86 2
com.apple.Xcode.DevToolsCore 0x0000000122f094f3 -[Xcode3BuildTask
main] + 1042 3 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 4 libdispatch.dylib 0x00007fff57d40d50 _dispatch_client_callout + 8 5 libdispatch.dylib
0x00007fff57d53333 _dispatch_block_invoke_direct + 317 6
libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 7 libdispatch.dylib 0x00007fff57d53333 _dispatch_block_invoke_direct + 317 8
libdispatch.dylib 0x00007fff57d531d6
dispatch_block_perform + 109 9 com.apple.Foundation
0x00007fff3259754c __NSOQSchedule_f + 342 10 libdispatch.dylib
0x00007fff57d40d50 _dispatch_client_callout + 8 11 libdispatch.dylib
0x00007fff57d53e76 _dispatch_continuation_pop + 472 12
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 13 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 14
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 15 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 16
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
Thread 2:: Dispatch queue: -[IDEExecutionEnvironment
initWithWorkspaceArena:] (QOS: UNSPECIFIED) 0 libsystem_kernel.dylib
0x00007fff57ec9cee __psynch_cvwait + 10 1 libsystem_pthread.dylib
0x00007fff58006662 _pthread_cond_wait + 732 2 com.apple.Foundation
0x00007fff3264acf8 -[__NSOperationInternal _waitUntilFinished:] + 896
3 com.apple.Foundation 0x00007fff3261b765
-[NSOperationQueue waitUntilAllOperationsAreFinished] + 296 4 com.apple.dt.DVTFoundation 0x000000010f12a9c4 -[DVTOperationGroup
main] + 66 5 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 6 com.apple.dt.DVTFoundation 0x000000010f12a977 -[DVTOperationGroup start] + 110 7
com.apple.Foundation 0x00007fff32597567 __NSOQSchedule_f +
369 8 libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff57d53e76 _dispatch_continuation_pop + 472 10
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 11 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 12
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 13 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 14
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
...
There are also several times, the built goes succesfully... is anyone sperimentig this issue ?
my app just got rejected by apple, and I could use some help to figure out what is wrong. The app works fine on all my devices and does not crash. The app synchronizes with iCloud right when it launches. This works fine on my devices, but maybe something is up with that.
Here is the first crash report (symbolicated):
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.Name.App failed to scene-create in time
Elapsed total CPU time (seconds): 9.250 (user 9.250, system 0.000), 23% CPU
Elapsed application CPU time (seconds): 0.298, 1% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000192f7ceb8 semaphore_wait_trap + 8
1 libsystem_platform.dylib 0x00000001930299e0 _os_semaphore_wait + 20
2 libdispatch.dylib 0x0000000192e5e3e0 _dispatch_barrier_sync_f_slow + 516
3 Foundation 0x0000000182aedccc -[NSUbiquitousKeyValueStore _synchronizeForced:notificationQueue:] + 248
4 Foundation 0x0000000182aedb50 -[NSUbiquitousKeyValueStore synchronize] + 88
5 Cloud-Fryser 0x00000001000dab08 0x1000d0000 + 43784
6 UIKit 0x000000018645ce80 -[UIViewController loadViewIfRequired] + 688
7 UIKit 0x0000000186512374 -[UINavigationController _layoutViewController:] + 60
8 UIKit 0x0000000186512270 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 244
9 UIKit 0x000000018651170c -[UINavigationController _startTransition:fromViewController:toViewController:] + 108
10 UIKit 0x00000001865113b8 -[UINavigationController _startDeferredTransitionIfNeeded:] + 636
11 UIKit 0x00000001865110d8 -[UINavigationController __viewWillLayoutSubviews] + 52
12 UIKit 0x0000000186511058 -[UILayoutContainerView layoutSubviews] + 196
13 UIKit 0x0000000186459a28 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 568
14 QuartzCore 0x0000000185db1990 -[CALayer layoutSublayers] + 164
15 QuartzCore 0x0000000185dac560 CA::Layer::layout_if_needed(CA::Transaction*) + 316
16 QuartzCore 0x0000000185dac404 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 28
17 QuartzCore 0x0000000185dabc04 CA::Context::commit_transaction(CA::Transaction*) + 272
18 QuartzCore 0x0000000185dab988 CA::Transaction::commit() + 432
19 UIKit 0x00000001866e7014 -[UIApplication _reportMainSceneUpdateFinished:] + 56
20 UIKit 0x00000001866e7ec0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 2776
21 UIKit 0x00000001866e6044 -[UIApplication workspaceDidEndTransaction:] + 180
22 FrontBoardServices 0x0000000189edd63c __31-[FBSSerialQueue performAsync:]_block_invoke + 24
23 CoreFoundation 0x0000000181c66120 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 CoreFoundation 0x0000000181c65228 __CFRunLoopDoBlocks + 308
25 CoreFoundation 0x0000000181c63428 __CFRunLoopRun + 692
26 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
27 UIKit 0x00000001864c7788 -[UIApplication _run] + 548
28 UIKit 0x00000001864c2780 UIApplicationMain + 1484
29 Cloud-Fryser 0x00000001000dc878 0x1000d0000 + 51320
30 libdyld.dylib 0x0000000192e7ea04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000192f7cc94 kevent64 + 8
1 libdispatch.dylib 0x0000000192e6497c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000192e573b0 _dispatch_mgr_thread + 48
Thread 2 name: Dispatch queue: com.apple.sydprotection
Thread 2:
0 libsystem_kernel.dylib 0x0000000192f96e50 __open + 8
1 libsystem_kernel.dylib 0x0000000192f95dbc open + 12
2 Foundation 0x0000000182ab1ebc _NSReadBytesFromFileWithExtendedAttributes + 132
3 Foundation 0x0000000182ab1ddc -[NSData(NSData) initWithContentsOfFile:] + 76
4 Foundation 0x0000000182ad87fc -[NSData(NSData) initWithContentsOfURL:] + 384
5 Foundation 0x0000000182ab1cf0 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 112
6 SyncedDefaults 0x000000018dbab224 -[SYDRemotePreferencesSource _cachePlistFromDisk] + 104
7 SyncedDefaults 0x000000018dbabedc -[SYDRemotePreferencesSource _synchronizeForced:] + 160
8 SyncedDefaults 0x000000018dbabdac __48-[SYDRemotePreferencesSource synchronizeForced:]_block_invoke + 36
9 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
10 libdispatch.dylib 0x0000000192e5e6e4 _dispatch_barrier_sync_f_invoke + 72
11 SyncedDefaults 0x000000018dbabd5c -[SYDRemotePreferencesSource synchronizeForced:] + 116
12 Foundation 0x0000000182aecc74 -[NSUbiquitousKeyValueStore synchronizeWithSourceForced:] + 32
13 Foundation 0x0000000182aecbe0 __46-[NSUbiquitousKeyValueStore _registerToDaemon]_block_invoke + 72
14 libdispatch.dylib 0x0000000192e553a8 _dispatch_call_block_and_release + 20
15 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
16 libdispatch.dylib 0x0000000192e5f4bc _dispatch_queue_drain + 1212
17 libdispatch.dylib 0x0000000192e58470 _dispatch_queue_invoke + 128
18 libdispatch.dylib 0x0000000192e61220 _dispatch_root_queue_drain + 660
19 libdispatch.dylib 0x0000000192e62758 _dispatch_worker_thread3 + 104
20 libsystem_pthread.dylib 0x00000001930312e0 _pthread_wqthread + 812
21 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000192f97c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000193031390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x0000000192f97c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000193031390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x0000000192f7ce7c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000192f7ccf4 mach_msg + 68
2 CoreFoundation 0x0000000181c655c8 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181c6351c __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
5 CoreFoundation 0x0000000181be32a8 CFRunLoopRun + 108
6 CoreMotion 0x000000018258a9d4 0x182548000 + 272852
7 libsystem_pthread.dylib 0x0000000193033e7c _pthread_body + 160
8 libsystem_pthread.dylib 0x0000000193033dd8 _pthread_start + 156
9 libsystem_pthread.dylib 0x0000000193030fac thread_start + 0
Here is the second crash report:
Application Specific Information:
com.Name.App failed to scene-create in time
Elapsed total CPU time (seconds): 20.300 (user 20.300, system 0.000), 49% CPU
Elapsed application CPU time (seconds): 0.207, 1% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000192f7ceb8 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000192e62d98 _dispatch_group_wait_slow + 244
2 CloudDocs 0x0000000188427818 -[BRXPCSyncProxy resultWithTimeout:] + 72
3 CloudDocs 0x0000000188418bc0 __BRIsProcessForcingUbiquity_block_invoke + 172
4 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
5 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
6 CloudDocs 0x0000000188418b0c BRIsProcessForcingUbiquity + 60
7 Foundation 0x0000000182b3ad6c ___BRIsCloudDocsUsed_block_invoke + 44
8 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
9 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
10 Foundation 0x0000000182b35044 ___NSFrameworkHandleForLibrarianSymbols_block_invoke + 96
11 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
12 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
13 Foundation 0x0000000182b3acec ___initializeLibrarianFunctions_block_invoke + 268
14 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
15 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
16 Foundation 0x0000000182b3a5b0 -[NSFileManager URLForUbiquityContainerIdentifier:] + 544
17 Cloud-Fryser 0x000000010003dc04 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:20)
18 UIKit 0x00000001864ce3cc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300
19 UIKit 0x00000001866e522c -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2280
20 UIKit 0x00000001866e79ac -[UIApplication _runWithMainScene:transitionContext:completion:] + 1476
21 UIKit 0x00000001866e6044 -[UIApplication workspaceDidEndTransaction:] + 180
22 FrontBoardServices 0x0000000189edd63c __31-[FBSSerialQueue performAsync:]_block_invoke + 24
23 CoreFoundation 0x0000000181c66120 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 CoreFoundation 0x0000000181c65228 __CFRunLoopDoBlocks + 308
25 CoreFoundation 0x0000000181c6384c __CFRunLoopRun + 1752
26 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
27 UIKit 0x00000001864c7788 -[UIApplication _run] + 548
28 UIKit 0x00000001864c2780 UIApplicationMain + 1484
29 Cloud-Fryser 0x0000000100044878 main (main.m:16)
30 libdyld.dylib 0x0000000192e7ea04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000192f7cc94 kevent64 + 8
1 libdispatch.dylib 0x0000000192e6497c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000192e573b0 _dispatch_mgr_thread + 48
If you need additional information, just let me know.
The issue is very simple.
You just spend too much time loading your app on the splash screen and the iOS device stops your app.
The reason it only happens in the review and not when you test it is because you always run it from Xcode, and when running from Xcode it won't have this behavior.
If you will run your app directly from the device (by tapping its icon) you will see it will happen there as well. Assuming you spent too much time loading on that specific run.
Edit: Also I am seeing that you are stuck on a semaphore and don't use too much CPU, which might mean you have a deadlock which stalls the app on the reviewer's device and that is why it spends too much time loading and the device stops your app. Not sure...
Here is my devblog post if you are interested:
http://pompidev.net/2014/11/16/ios-app-works-on-xcode-but-crash-running-from-device/
Instruments.app crashes when I try to profile on the device. It works fine in the simulator.
This happens with all instruments- time profiler, leaks, etc. I am able to use the energy diagnostics instrument.
I tried:
Made sure app was set to debug mode (also tried with release mode)
Reinstalling xcode
Rebooting device/computer
Attaching to process once app is running
My main device is an iPhone 4 running 5.1, jailbroken but this also happens on a non-jailbroken iPhone running 4.3.x
Please let me know if you have any thoughts on why this is happening.
Partial crash log below
Process: Instruments [12983]
Path: /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
Identifier: com.apple.dt.Instruments
Version: 4.3 (4321)
Build Info: Instruments-4321000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [253]
Date/Time: 2012-06-08 16:27:06.214 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Sleep/Wake UUID: 1556D9E2-2B8A-4A76-A591-F8ACEF479C31
Interval Since Last Report: 24319 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 13147 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: A73B414D-9FB6-4055-94D3-A887EB7ADFFD
Crashed Thread: 7
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
VM Regions Near 0x4:
-->
__TEXT 0000000101a71000-0000000101a76000 [ 20K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
Application Specific Information:
objc[12983]: garbage collection is OFF
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff849ab67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff849aad71 mach_msg + 73
2 com.apple.framework.IOKit 0x00007fff826899bf io_service_get_matching_services + 210
3 com.apple.framework.IOKit 0x00007fff82641604 IOServiceGetMatchingServices + 137
4 com.apple.framework.IOKit 0x00007fff82641741 IOServiceGetMatchingService + 25
5 com.apple.Foundation 0x00007fff85f7710b +[NSFileWrapper _canSafelyMapFilesAtPath:] + 241
6 com.apple.Foundation 0x00007fff85f1c510 -[NSData(NSData) initWithContentsOfFile:options:error:] + 139
7 com.apple.Foundation 0x00007fff85f83b48 -[NSData(NSData) initWithContentsOfURL:options:error:] + 238
8 com.apple.AppKit 0x00007fff89e6e387 NSImageRepNewDataFromFileURL + 247
9 com.apple.AppKit 0x00007fff89aa00fc +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] + 548
10 com.apple.AppKit 0x00007fff89a9fe9a __-[NSImageURLReferencingRepProvider representations]_block_invoke_1 + 48
11 com.apple.Foundation 0x00007fff85f34347 _NSFaultInObject + 35
12 com.apple.AppKit 0x00007fff89a70ae7 -[NSImageURLReferencingRepProvider representations] + 80
13 com.apple.AppKit 0x00007fff89a9fd7e __-[NSImage size]_block_invoke_1 + 353
14 com.apple.AppKit 0x00007fff89a2b825 -[NSImage _usingRepProviderPerformBlock:] + 37
15 com.apple.AppKit 0x00007fff89a596c2 -[NSImage size] + 129
16 com.apple.AppKit 0x00007fff89a9f9a6 -[NSImage alignmentRect] + 51
17 com.apple.AppKit 0x00007fff89b08de5 -[NSImageCell _imageRectForDrawing:inFrame:inView:] + 43
18 com.apple.AppKit 0x00007fff89b08c6b -[NSImageCell drawInteriorWithFrame:inView:] + 541
19 com.apple.AppKit 0x00007fff89b08a28 -[NSImageCell drawWithFrame:inView:] + 1705
20 com.apple.AppKit 0x00007fff89a9ddb7 -[NSControl drawRect:] + 398
21 com.apple.AppKit 0x00007fff89a6997a -[NSView _drawRect:clip:] + 3758
22 com.apple.AppKit 0x00007fff89a96b4f -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
23 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
24 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
25 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
26 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
27 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
28 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
29 com.apple.AppKit 0x00007fff89a96f7b -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
30 com.apple.AppKit 0x00007fff89a66f55 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
31 com.apple.AppKit 0x00007fff89a6644f -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
32 com.apple.AppKit 0x00007fff89a6186f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
33 com.apple.AppKit 0x00007fff89a5a2ed -[NSView displayIfNeeded] + 1676
34 com.apple.dt.instruments.InstrumentsKit 0x0000000101a8e155 -[XRSplitViewAnimation setCurrentProgress:] + 81
35 com.apple.AppKit 0x00007fff89bec62d -[NSAnimation(NSInternal) _advanceTimeWithTimer:] + 156
36 com.apple.Foundation 0x00007fff85f4ef40 __NSFireTimer + 102
37 com.apple.CoreFoundation 0x00007fff8689b934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
38 com.apple.CoreFoundation 0x00007fff8689b486 __CFRunLoopDoTimer + 534
39 com.apple.CoreFoundation 0x00007fff8687be11 __CFRunLoopRun + 1617
40 com.apple.CoreFoundation 0x00007fff8687b486 CFRunLoopRunSpecific + 230
41 com.apple.Foundation 0x00007fff85f02f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
42 com.apple.AppKit 0x00007fff89cc956c -[NSAnimation(NSInternal) _runBlocking] + 365
43 com.apple.dt.instruments.InstrumentsKit 0x0000000101a8e058 -[XRHorizontalFillSplitView animateSplitFromPosition:toPosition:] + 377
44 com.apple.dt.instruments.InstrumentsKit 0x0000000101a8dc86 -[PFTTraceDocument animateLowerVisibility:] + 215
45 com.apple.dt.instruments.InstrumentsKit 0x0000000101aaa3e5 -[PFTTraceDocument toggleDetail:] + 71
46 com.apple.dt.instruments.InstrumentsKit 0x0000000101aaa320 -[PFTTraceDocument _didStartCommand:] + 238
47 com.apple.Foundation 0x00007fff85f0dd0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
48 com.apple.CoreFoundation 0x00007fff8688f7ba _CFXNotificationPost + 2634
49 com.apple.Foundation 0x00007fff85ef9fc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
50 com.apple.dt.instruments.InstrumentsPlugIn 0x0000000101c5f8c7 -[XRTrace startCommandWithPurpose:] + 1546
51 com.apple.dt.instruments.InstrumentsKit 0x0000000101aa8d4d -[PFTTraceDocument startRun] + 164
52 com.apple.dt.instruments.InstrumentsKit 0x0000000101aa8b55 -[PFTTraceDocument recordTrace:] + 599
53 com.apple.dt.instruments.InstrumentsKit 0x0000000101ae370d -[PFTDocumentController openDocumentWithContentsOfURL:display:error:] + 2769
54 com.apple.dt.instruments.InstrumentsKit 0x0000000101ae3f3a -[PFTDocumentController _templateChooserActionEnded:returnCode:contextInfo:] + 494
55 com.apple.AppKit 0x00007fff89cd13df -[NSApplication endSheet:returnCode:] + 275
56 com.apple.imageKit 0x00007fff896992fb -[IKImageBrowserView(ImageBrowserEvents) mouseUp:] + 649
57 com.apple.AppKit 0x00007fff89aea40e -[NSWindow sendEvent:] + 6504
58 com.apple.AppKit 0x00007fff89a83a55 -[NSApplication sendEvent:] + 5593
59 com.apple.dt.Instruments 0x0000000101a7339f 0x101a71000 + 9119
60 com.apple.AppKit 0x00007fff89a1a0c6 -[NSApplication run] + 555
61 com.apple.AppKit 0x00007fff89c96244 NSApplicationMain + 867
62 com.apple.dt.Instruments 0x0000000101a73724 0x101a71000 + 10020
Appears to be fixed with Instruments 4.4