Recently, I received many crash message in iOS9. My Xcode version is 10.1 (10B61), The error stack is like this:
libsystem_kernel.dylib __pthread_kill + 8
1 libsystem_pthread.dylib pthread_kill + 112
2 libsystem_c.dylib abort + 140
3 libsystem_c.dylib basename + 0
4 CoreGraphics _color_space_get_md5_digest
5 CoreFoundation CFRelease + 256
6 CoreGraphics _image_provider_finalize + 144
7 CoreFoundation CFRelease + 256
8 CoreGraphics _image_finalize + 88
9 CoreFoundation CFRelease + 256
10 UIKit -[UIImage dealloc] + 96
11 CoreFoundation -[__NSArrayM dealloc] + 152
12 UIKit -[_UIActivityIndicatorViewArtworkItem setImages:] + 80
13 CoreFoundation ___NSCacheValueRelease + 188
14 libcache.dylib __value_entry_remove + 116
15 libcache.dylib __entry_evict + 136
16 libcache.dylib __evict_last + 104
17 libcache.dylib __cache_enforce_limits + 96
18 libcache.dylib ____cache_handle_memory_pressure_event_block_invoke + 88
19 libdispatch.dylib __dispatch_call_block_and_release + 24
20 libdispatch.dylib __dispatch_client_callout + 16
21 libdispatch.dylib __dispatch_root_queue_drain + 2140
22 libdispatch.dylib __dispatch_worker_thread3 + 112
23 libsystem_pthread.dylib _pthread_wqthread + 1092
and
0 libsystem_kernel.dylib __pthread_kill + 8
1 libsystem_pthread.dylib pthread_kill + 112
2 libsystem_c.dylib abort + 140
3 libsystem_c.dylib basename + 0
4 CoreGraphics _CGCMSTransformRelease
5 CoreFoundation CFRelease + 256
6 CoreGraphics _color_finalize + 24
7 CoreFoundation CFRelease + 256
8 UIKit -[UIDeviceRGBColor dealloc] + 40
9 libobjc.A.dylib (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 508
10 CoreFoundation _CFAutoreleasePoolPop + 28
11 CoreFoundation ___CFRunLoopRun + 1636
12 CoreFoundation CFRunLoopRunSpecific + 384
13 GraphicsServices GSEventRunModal + 180
14 UIKit UIApplicationMain + 204
15 pro main (main.m:19)
16 libdyld.dylib _start + 4
It’s only crash on iOS9,does anyone have a similar problem?
I got a device with iOS9 to debug,after I lunched the app,maybe a few minutes later,it will crash。Output message is: Assertion failed: (!space->is_singleton), function color_space_dealloc, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/Quartz2D/Quartz2D-1033.4/CoreGraphics/ColorSpaces/color-space.c, line 102.