25 Apr 2023 08:27 PM - last edited on 26 Apr 2023 07:41 AM by MaciejNeumann
Dynatrace SPM version 8.257.1
I'm getting a purple runtime warning from my Dynatrace iOS library. Its a binary package so I can't see the source code, but here is the console log from XCode. Below is output from the console log.
Main Thread Checker: UI API called on a background thread: -[UIApplication delegate]
PID: 65171, TID: 88499417, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4 Dynatrace 0x0000000104a71d30 -[DTXDeviceInfo getScreen] + 148
5 Dynatrace 0x0000000104a721b8 -[DTXDeviceInfo getScreenBounds] + 32
6 Dynatrace 0x0000000104a7337c -[DTXDeviceInfo screenPixelSize] + 72
7 Dynatrace 0x0000000104a75e30 +[DTXSessionInfo createWithVisitorId:sessionId:sessionSequence:] + 1036
8 Dynatrace 0x0000000104a648e8 -[DTXAgentController(Private) createNewSession:] + 908
9 Dynatrace 0x0000000104a62a88 -[DTXAgentController agentController_endVisitWithEndData:] + 68
10 Dynatrace 0x0000000104ae2c28 +[Dynatrace(Private) dynatrace_endVisit:] + 544
11 Dynatrace 0x0000000104a627a0 __55-[DTXAgentController addSessionSplitOperationWithInfo:]_block_invoke_2 + 772
12 Dynatrace 0x0000000104a6c140 __50-[DTXSendIntervalManager checkRunningActionsCount]_block_invoke + 216
13 libdispatch.dylib 0x00000001040c4594 _dispatch_call_block_and_release + 24
14 libdispatch.dylib 0x00000001040c5d5c _dispatch_client_callout + 16
15 libdispatch.dylib 0x00000001040daae8 _dispatch_root_queue_drain + 1012
16 libdispatch.dylib 0x00000001040db53c _dispatch_worker_thread2 + 248
17 libsystem_pthread.dylib 0x00000001b0598b04 _pthread_wqthread + 224
18 libsystem_pthread.dylib 0x00000001b0597904 start_wqthread + 8
Solved! Go to Solution.
26 Apr 2023 07:30 AM
This was a regression when we switched to a new API for getting the screen dimensions - it is already fixed in recent versions (8.259.1 or newer)