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

Crash caused by com.apple.root-user-initiated-qos #811

Open
taavi224 opened this issue Mar 11, 2024 · 1 comment
Open

Crash caused by com.apple.root-user-initiated-qos #811

taavi224 opened this issue Mar 11, 2024 · 1 comment

Comments

@taavi224
Copy link

taavi224 commented Mar 11, 2024

The YPImagePicker library 5.2.2 is crashing with the following stack trace:

Crashed: com.apple.root.user-initiated-qos
0 0x6dfb24 closure #1 in YPLibraryVC.selectedMedia(photoCallback:videoCallback:multipleItemsCallback:) + 4306107172
1 0x6b7c10 thunk for @escaping @callee_guaranteed @sendable () -> () + 4305943568 (:4305943568)
2 libdispatch.dylib 0x26a8 + 32
3 libdispatch.dylib 0x4300 + 20
4 libdispatch.dylib 0x15dbc + 864
5 libdispatch.dylib 0x163ec + 156
6 libsystem_pthread.dylib 0x1928 _pthread_wqthread + 228
7 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

We have not been able to reproduce the crash, but it has been causing issues for end users.

It is possible that the crash is related to selecting multiple images at once. A previously closed issue #637 appears to be closely related. According to the latest comments on that issue, the issue was not fixed in all cases as part of version 5.2.1.

Thank you for helping look into this problem.

Environment (please complete the following information):

  • Device: multiple iPhone devices
  • OS: iOS 17.X
  • Swift Version: unspecified, <5

Installation Type

  • SPM
@redlock
Copy link

redlock commented Mar 20, 2024

Same here. We are having multiple users facing this issue but unable to reproduce. From crashlytics:


Crashed: com.apple.root.user-initiated-qos
0  YPImagePicker                  0x33c88 $s13YPImagePicker11YPLibraryVCC13selectedMedia13photoCallback05videoH0013multipleItemsH0yyAA12YPMediaPhotoCc_yAA0L5VideoCcySayAA0L4ItemOGctFyyYbcfU_ + 4428
1  YPImagePicker                  0x43de8 $sIegh_IeyBh_TR + 28
2  libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
3  libdispatch.dylib              0x3eac _dispatch_client_callout + 20
4  libdispatch.dylib              0x15a64 _dispatch_root_queue_drain + 684
5  libdispatch.dylib              0x16158 _dispatch_worker_thread2 + 164
6  libsystem_pthread.dylib        0xda0 _pthread_wqthread + 228
7  libsystem_pthread.dylib        0xb7c start_wqthread + 8

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

No branches or pull requests

2 participants