You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/22 15:09:07 UTC
[GitHub] [cordova-plugin-camera] exxbrain edited a comment on issue #530:
iOS: "UI API called on a background thread" and plugin is VERY slow to
initialise
exxbrain edited a comment on issue #530: iOS: "UI API called on a background thread" and plugin is VERY slow to initialise
URL: https://github.com/apache/cordova-plugin-camera/issues/530#issuecomment-577229486
Hello, why is it closed? The problem is not fixed yet.
As I see the pull request is still not merged...
https://github.com/ryaa/cordova-plugin-camera/commit/a998ef45d902b514fc1dea53ebb24439034ac108
```
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setSourceType:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a48 +[CDVCameraPicker createFromPictureOptions:] + 200
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
...
2020-01-22 17:59:59.131966+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setSourceType:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a48 +[CDVCameraPicker createFromPictureOptions:] + 200
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
...
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setAllowsEditing:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a84 +[CDVCameraPicker createFromPictureOptions:] + 260
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + ...
2020-01-22 17:59:59.213461+0300 Correqts[7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setAllowsEditing:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a84 +[CDVCameraPicker createFromPictureOptions:] + 260
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336
....
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController sourceType]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a9c +[CDVCameraPicker createFromPictureOptions:] + 284
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + ....
2020-01-22 17:59:59.262280+0300 [7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController sourceType]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90a9c +[CDVCameraPicker createFromPictureOptions:] + 284
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
....
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setMediaTypes:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90b08 +[CDVCameraPicker createFromPictureOptions:] + 392
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336
...
2020-01-22 17:59:59.310221+0300 Correqts[7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setMediaTypes:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90b08 +[CDVCameraPicker createFromPictureOptions:] + 392
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336
...
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setCameraDevice:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90b48 +[CDVCameraPicker createFromPictureOptions:] + 456
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
7 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
8 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336
9 libxpc.dylib 0x00000001b104ec84 D263F3EB-967C-33B9-AF70-D48644FA8411 + 97412
10 libxpc.dylib 0x00000001b1042f18 D263F3EB-967C-33B9-AF70-D48644FA8411 + 48920
11 libdispatch.dylib 0x00000001060a6c58 _dispatch_client_callout3 + 16
12 libdispatch.dylib 0x00000001060c229c _dispatch_mach_msg_async_reply_invoke + 388
13 libdispatch.dylib 0x00000001060b903c _dispatch_kevent_worker_thread + 1376
14 libsystem_pthread.dylib 0x00000001b1192bc0 _pthread_wqthread + 332
15 libsystem_pthread.dylib 0x00000001b1195760 start_wqthread + 8
2020-01-22 17:59:59.350378+0300 Correqts[7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UIImagePickerController setCameraDevice:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d90b48 +[CDVCameraPicker createFromPictureOptions:] + 456
5 Correqts 0x0000000104d8acb8 -[CDVCamera showCameraPicker:withOptions:] + 108
6 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
...
=================================================================
Main Thread Checker: UI API called on a background thread: -[UINavigationController setDelegate:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d8ad0c -[CDVCamera showCameraPicker:withOptions:] + 192
5 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
6 TCC 0x00000001b7676b60 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 7008
7 TCC 0x00000001b767ab28 B49C034E-858E-3F03-BA88-BB8BD0A811C1 + 23336
8 libxpc.dylib 0x00000001b104ec84 D263F3EB-967C-33B9-AF70-D48644FA8411 + 97412
9 libxpc.dylib 0x00000001b1042f18 D263F3EB-967C-33B9-AF70-D48644FA8411 + 48920
10 libdispatch.dylib 0x00000001060a6c58 _dispatch_client_callout3 + 16
11 libdispatch.dylib 0x00000001060c229c _dispatch_mach_msg_async_reply_invoke + 388
12 libdispatch.dylib 0x00000001060b903c _dispatch_kevent_worker_thread + 1376
13 libsystem_pthread.dylib 0x00000001b1192bc0 _pthread_wqthread + 332
14 libsystem_pthread.dylib 0x00000001b1195760 start_wqthread + 8
2020-01-22 17:59:59.390398+0300 Correqts[7288:2296174] [reports] Main Thread Checker: UI API called on a background thread: -[UINavigationController setDelegate:]
PID: 7288, TID: 2296174, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 Correqts 0x0000000104d8ad0c -[CDVCamera showCameraPicker:withOptions:] + 192
5 Correqts 0x0000000104d8a318 __25-[CDVCamera takePicture:]_block_invoke_2 + 336
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org