Reputation: 558
Below I have given the crash log from crashlytics, no other information available.On checking the logs, the issue occurs at different scenarios each time. Could not replicate the issue. Could anyone help me out to analyse the issue in Apple tvos application.
Crashed: com.apple.main-thread
SIGTRAP 0x0000000....
0
InsightAgentTVOS
(Missing)
1
InsightAgentTVOS
(Missing)
2
InsightAgentTVOS
(Missing)
3
InsightAgentTVOS
(Missing)
4
InsightAgentTVOS
(Missing)
5
InsightAgentTVOS
(Missing)
3
libdispatch.dylib
_dispatch_call_block_and_release + 24
4
libdispatch.dylib
_dispatch_client_callout + 16
5
libdispatch.dylib
_dispatch_main_queue_callback_4CF + 872
6
CoreFoundation
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
7
CoreFoundation
__CFRunLoopRun + 2480
8
CoreFoundation
CFRunLoopRunSpecific + 572
9
GraphicsServices
GSEventRunModal + 160
10
UIKitCore
-[UIApplication _run] + 1060
11
UIKitCore
UIApplicationMain + 164
Upvotes: 1
Views: 1235
Reputation: 438307
The _dispatch_call_block_and_release
is almost certainly not the issue (though it suggests that the underlying probably might be in some block that you dispatched with GCD). The SIGTRAP
is suggests that the problem may be Swift runtime error, such as forced unwrapping/casting. For general overview of crash reports, refer to Analyzing a Crash Report.
FYI, the “(Missing)” might suggest that is this code was was not symbolicated or the wrong compilation options. When it’s built correctly, the crash reports show you the exact line number in one’s code. That eliminates the guesswork.
Above, I assumed that InsightAgentTVOS
was your code. If not, as Rob Napier surmised, then the problem is undoubtedly in their library. Perhaps some required parameter was not supplied. (Forced unwrapping of some optional value is a common source of this sort of problem.) If you don’t find the issue, I’d suggest you open a ticket with them, providing a MCVE.
Upvotes: 3