Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #371

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Update README.md #371

merged 1 commit into from
Feb 12, 2021

Conversation

bcorrea2
Copy link
Contributor

@bcorrea2 bcorrea2 commented May 8, 2019

Hi guys, I was experiencing a crash when users try to save imagens into galery using SKPhotoBrowser, the solution was simple but it took me some time to figure out whats was going on.

I think it is happening only in iOS >= 12.

I'm including this step into README.

Anyone had same problem?

Follow stack trace.

#1. Crashed: com.apple.root.default-qos
0  libsystem_kernel.dylib         0x23b67cdd0 __abort_with_payload + 8
1  libsystem_kernel.dylib         0x23b676924 abort_with_payload_wrapper_internal + 100
2  libsystem_kernel.dylib         0x23b676954 fcntl + 10
3  TCC                            0x23e856b50 __TCCAccessRequest_block_invoke.79 + 190
4  TCC                            0x23e856a90 __CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 682
5  TCC                            0x23e85a92c __tccd_send_message_block_invoke + 260
6  libxpc.dylib                   0x23b744f5c _xpc_connection_reply_callout + 60
7  libxpc.dylib                   0x23b738684 _xpc_connection_call_reply_async + 88
8  libdispatch.dylib              0x23b521854 _dispatch_client_callout3 + 16
9  libdispatch.dylib              0x23b4f5974 _dispatch_mach_msg_async_reply_invoke$VARIANT$armv81 + 312
10 libdispatch.dylib              0x23b505778 _dispatch_kevent_worker_thread + 1228
11 libsystem_pthread.dylib        0x23b701124 _pthread_wqthread + 320
12 libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

--

#0. com.apple.main-thread
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  CoreFoundation                 0x23ba71cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x23ba6cbc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x23ba6c354 CFRunLoopRunSpecific + 436
5  GraphicsServices               0x23dc6c79c GSEventRunModal + 104
6  UIKitCore                      0x268023b68 UIApplicationMain + 212
7  ml-app-ios-v2                  0x100b56a70 main (AppDelegate.swift:24)
8  libdyld.dylib                  0x23b5328e0 start + 4

#1. Crashed: com.apple.root.default-qos
0  libsystem_kernel.dylib         0x23b67cdd0 __abort_with_payload + 8
1  libsystem_kernel.dylib         0x23b676924 abort_with_payload_wrapper_internal + 100
2  libsystem_kernel.dylib         0x23b676954 fcntl + 10
3  TCC                            0x23e856b50 __TCCAccessRequest_block_invoke.79 + 190
4  TCC                            0x23e856a90 __CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 682
5  TCC                            0x23e85a92c __tccd_send_message_block_invoke + 260
6  libxpc.dylib                   0x23b744f5c _xpc_connection_reply_callout + 60
7  libxpc.dylib                   0x23b738684 _xpc_connection_call_reply_async + 88
8  libdispatch.dylib              0x23b521854 _dispatch_client_callout3 + 16
9  libdispatch.dylib              0x23b4f5974 _dispatch_mach_msg_async_reply_invoke$VARIANT$armv81 + 312
10 libdispatch.dylib              0x23b505778 _dispatch_kevent_worker_thread + 1228
11 libsystem_pthread.dylib        0x23b701124 _pthread_wqthread + 320
12 libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#2. com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  CoreFoundation                 0x23ba71cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x23ba6cbc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x23ba6c354 CFRunLoopRunSpecific + 436
5  Foundation                     0x23c439fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x23c439e5c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7  UIKitCore                      0x268109540 -[UIEventFetcher threadMain] + 136
8  Foundation                     0x23c5666e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x23b7002c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x23b700220 _pthread_start + 44
11 libsystem_pthread.dylib        0x23b703cdc thread_start + 4

#3. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b701138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#4. GAIThread
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  CoreFoundation                 0x23ba71cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x23ba6cbc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x23ba6c354 CFRunLoopRunSpecific + 436
5  Foundation                     0x23c439fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x23c47549c -[NSRunLoop(NSRunLoop) run] + 88
7  ml-app-ios-v2                  0x1010d71ec +[GAI threadMain:] + 4307677676
8  Foundation                     0x23c5666e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x23b7002c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x23b700220 _pthread_start + 44
11 libsystem_pthread.dylib        0x23b703cdc thread_start + 4

#5. com.twitter.crashlytics.ios.MachExceptionServer
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  ml-app-ios-v2                  0x101174f60 CLSMachExceptionServer + 4308324192
3  libsystem_pthread.dylib        0x23b7002c0 _pthread_body + 128
4  libsystem_pthread.dylib        0x23b700220 _pthread_start + 44
5  libsystem_pthread.dylib        0x23b703cdc thread_start + 4

#6. com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  CoreFoundation                 0x23ba71cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x23ba6cbc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x23ba6c354 CFRunLoopRunSpecific + 436
5  CFNetwork                      0x23c08574c -[__CoreSchedulingSetRunnable runForever] + 216
6  Foundation                     0x23c5666e4 __NSThread__start__ + 984
7  libsystem_pthread.dylib        0x23b7002c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x23b700220 _pthread_start + 44
9  libsystem_pthread.dylib        0x23b703cdc thread_start + 4

#7. com.apple.mobileslideshow.accessCallbacks
0  libsystem_kernel.dylib         0x23b673130 semaphore_wait_trap + 8
1  libdispatch.dylib              0x23b4f0964 _dispatch_sema4_wait$VARIANT$armv81 + 24
2  libdispatch.dylib              0x23b4f13e0 _dispatch_semaphore_wait_slow + 128
3  AssetsLibraryServices          0x24917687c __79-[PLPrivacy _isPhotosAccessAllowedWithScope:forceHandler:accessAllowedHandler:]_block_invoke_2 + 384
4  AssetsLibraryServices          0x24915e1cc __pl_dispatch_async_block_invoke + 36
5  libdispatch.dylib              0x23b520a38 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x23b5217d4 _dispatch_client_callout + 16
7  libdispatch.dylib              0x23b4fcdec _dispatch_lane_serial_drain$VARIANT$armv81 + 548
8  libdispatch.dylib              0x23b4fd92c _dispatch_lane_invoke$VARIANT$armv81 + 408
9  libdispatch.dylib              0x23b505e08 _dispatch_workloop_worker_thread + 584
10 libsystem_pthread.dylib        0x23b701114 _pthread_wqthread + 304
11 libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#8. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b701138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#9. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b7011f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#10. NSOperationQueue 0x2828188c0 (QOS: UNSPECIFIED)
0  libsystem_kernel.dylib         0x23b673148 semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x23b4f0a4c _dispatch_sema4_timedwait$VARIANT$armv81 + 64
2  libdispatch.dylib              0x23b4f13a8 _dispatch_semaphore_wait_slow + 72
3  AirshipKit                     0x1018ad048 -[UADelay start] (UADelay.m:31)
4  AirshipKit                     0x1018ad1fc __34-[UADelayOperation initWithDelay:]_block_invoke (UADelayOperation.m:17)
5  Foundation                     0x23c544f68 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
6  Foundation                     0x23c451420 -[NSBlockOperation main] + 72
7  Foundation                     0x23c450908 -[__NSOperationInternal _start:] + 740
8  Foundation                     0x23c546cec __NSOQSchedule_f + 272
9  libdispatch.dylib              0x23b520a38 _dispatch_call_block_and_release + 24
10 libdispatch.dylib              0x23b5217d4 _dispatch_client_callout + 16
11 libdispatch.dylib              0x23b4f8c34 _dispatch_continuation_pop$VARIANT$armv81 + 404
12 libdispatch.dylib              0x23b4f8314 _dispatch_async_redirect_invoke + 592
13 libdispatch.dylib              0x23b5049d4 _dispatch_root_queue_drain + 340
14 libdispatch.dylib              0x23b505248 _dispatch_worker_thread2 + 116
15 libsystem_pthread.dylib        0x23b7011b4 _pthread_wqthread + 464
16 libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#11. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b7011f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#12. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b701138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#13. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b701138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#14. Thread
0  libsystem_kernel.dylib         0x23b67eb74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x23b7011f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x23b703cd4 start_wqthread + 4

#15. TAGThread
0  libsystem_kernel.dylib         0x23b6730f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x23b6725a0 mach_msg + 72
2  CoreFoundation                 0x23ba71cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x23ba6cbc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x23ba6c354 CFRunLoopRunSpecific + 436
5  Foundation                     0x23c439fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x23c47549c -[NSRunLoop(NSRunLoop) run] + 88
7  ml-app-ios-v2                  0x1010fe730 +[TAGDispatchUtil threadMain:] + 4307838768
8  Foundation                     0x23c5666e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x23b7002c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x23b700220 _pthread_start + 44
11 libsystem_pthread.dylib        0x23b703cdc thread_start + 4


@suzuki-0000
Copy link
Owner

Thank you for the update!

@suzuki-0000 suzuki-0000 merged commit 2f79911 into suzuki-0000:master Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants