Skip to content

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] #12

@pasevin

Description

@pasevin

I'm receiving this:

=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 6348, TID: 1656501, Thread name: (none), Queue name: io.segment.analytics, QoS: 0
Backtrace:
4   Flurry_iOS_SDK                      0x00000001037b96fc +[Flurry startSession:] + 1132
5   Segment_Flurry                      0x0000000104f14a24 -[SEGFlurryIntegration initWithSettings:] + 472
6   Segment_Flurry                      0x0000000104f154c4 -[SEGFlurryIntegrationFactory createWithSettings:forAnalytics:] + 124
7   Analytics                           0x000000010336d5fc __57-[SEGIntegrationsManager updateIntegrationsWithSettings:]_block_invoke + 500
8   Analytics                           0x0000000103364d48 __seg_dispatch_specific_block_invoke + 60
9   Analytics                           0x0000000103364c84 seg_dispatch_specific + 212
10  Analytics                           0x0000000103364ec4 seg_dispatch_specific_sync + 96
11  Analytics                           0x000000010336d3c0 -[SEGIntegrationsManager updateIntegrationsWithSettings:] + 188
12  Analytics                           0x000000010336d2cc -[SEGIntegrationsManager setCachedSettings:] + 340
13  Analytics                           0x000000010336dd48 __41-[SEGIntegrationsManager refreshSettings]_block_invoke_3 + 100
14  Analytics                           0x0000000103364d48 __seg_dispatch_specific_block_invoke + 60
15  libdispatch.dylib                   0x0000000105e712cc _dispatch_call_block_and_release + 24
16  libdispatch.dylib                   0x0000000105e7128c _dispatch_client_callout + 16
17  libdispatch.dylib                   0x0000000105e7ff80 _dispatch_queue_serial_drain + 696
18  libdispatch.dylib                   0x0000000105e747ec _dispatch_queue_invoke + 332
19  libdispatch.dylib                   0x0000000105e80f6c _dispatch_root_queue_drain_deferred_wlh + 428
20  libdispatch.dylib                   0x0000000105e88020 _dispatch_workloop_worker_thread + 652
21  libsystem_pthread.dylib             0x0000000181c62f1c _pthread_wqthread + 932
22  libsystem_pthread.dylib             0x0000000181c62b6c start_wqthread + 4

Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
PID: 6348, TID: 1656577, Thread name: (none), Queue name: com.yahoo.flurry.preCacheEventLog, QoS: 0
Backtrace:
4   Flurry_iOS_SDK                      0x00000001037c6f7c +[FlurryiOSUtil canvasInLandscapeRight] + 56
5   Flurry_iOS_SDK                      0x00000001037c6f20 +[FlurryiOSUtil canvasInLandscape] + 32
6   Flurry_iOS_SDK                      0x00000001037b6a44 +[FlurryUtil canvasInLandscape] + 44
7   Flurry_iOS_SDK                      0x0000000103787b28 -[FlurrySession data] + 2400
8   Flurry_iOS_SDK                      0x0000000103785710 +[FlurrySession addToSavedSessions:] + 188
9   Flurry_iOS_SDK                      0x00000001037805d8 +[FlurrySession sessionWithApiKey:startTime:withPreCacheEventLog:] + 1144
10  Flurry_iOS_SDK                      0x00000001037a0120 __29-[FlurryImpl setupForApiKey:]_block_invoke_2 + 112
11  Flurry_iOS_SDK                      0x000000010378b740 __56-[FlurryPreCacheEventManager processWriteSyncWithBlock:]_block_invoke + 56
12  libdispatch.dylib                   0x0000000105e7128c _dispatch_client_callout + 16
13  libdispatch.dylib                   0x0000000105e7ebc8 _dispatch_queue_barrier_sync_invoke_and_complete + 120
14  Flurry_iOS_SDK                      0x000000010378b6d4 -[FlurryPreCacheEventManager processWriteSyncWithBlock:] + 144
15  Flurry_iOS_SDK                      0x00000001037a0054 __29-[FlurryImpl setupForApiKey:]_block_invoke + 412
16  libdispatch.dylib                   0x0000000105e712cc _dispatch_call_block_and_release + 24
17  libdispatch.dylib                   0x0000000105e7128c _dispatch_client_callout + 16
18  libdispatch.dylib                   0x0000000105e7ff80 _dispatch_queue_serial_drain + 696
19  libdispatch.dylib                   0x0000000105e747ec _dispatch_queue_invoke + 332
20  libdispatch.dylib                   0x0000000105e80f6c _dispatch_root_queue_drain_deferred_wlh + 428
21  libdispatch.dylib                   0x0000000105e88020 _dispatch_workloop_worker_thread + 652
22  libsystem_pthread.dylib             0x0000000181c62f1c _pthread_wqthread + 932
23  libsystem_pthread.dylib             0x0000000181c62b6c start_wqthread + 4

Can you update the integration and podspec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions