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

iOS App Crash on [CTInboxController _deleteMessages:] #355

Open
shivit2012 opened this issue Jul 17, 2024 · 0 comments
Open

iOS App Crash on [CTInboxController _deleteMessages:] #355

shivit2012 opened this issue Jul 17, 2024 · 0 comments

Comments

@shivit2012
Copy link

shivit2012 commented Jul 17, 2024

Hi Team,
My iOS app is crashing inside the Clevertap SDK on following line - [CTInboxController _deleteMessages:]
SDK version used - 6.2.1

Here's the complete stack trace for the reference -

App Hang: The app was terminated while unresponsive

0  libsystem_kernel.dylib +0x1560 _kevent_id
1  libdispatch.dylib +0x267d0     __dispatch_kq_poll
2  libdispatch.dylib +0x271b8     __dispatch_event_loop_wait_for_ownership
3  libdispatch.dylib +0x13590     ___DISPATCH_WAIT_FOR_QUEUE__
4  libdispatch.dylib +0x13158     __dispatch_sync_f_slow
5  CoreData +0x9d120              -[NSManagedObjectContext performBlockAndWait:]
6  MyApp +0xf6f874        -[CTInboxController _deleteMessages:]
7  MyApp +0xf6f27c        -[CTInboxController messages]
8  MyApp +0xf387d0        -[CleverTap getAllInboxMessages] (CleverTap.m:3492:50)
9  MyApp +0x6351b4        CleverTapManager.refreshUnreadMessageStatus()
10 MyApp +0x58454c        ProfileViewModel.updateCleverTabMessages()
11 MyApp +0x5845f8        @objc ProfileViewModel.updateCleverTabMessages()
12 CoreFoundation +0x51788        ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
13 CoreFoundation +0x516a4        ____CFXRegistrationPost_block_invoke
14 CoreFoundation +0x515ec        __CFXRegistrationPost
15 CoreFoundation +0x4fbb4        __CFXNotificationPost
16 Foundation +0x31570            -[NSNotificationCenter postNotificationName:object:userInfo:]
17 UIKitCore +0x26fac0            -[UIApplication _stopDeactivatingForReason:]
18 UIKitCore +0x40aff4            -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
19 UIKitCore +0x19a418            -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
20 UIKitCore +0x16764c            -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
21 UIKitCore +0x166f74            ___186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke
22 UIKitCore +0x166920            +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:]
23 UIKitCore +0x165f60            __UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion
24 UIKitCore +0x239d38            -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]
25 UIKitCore +0x238570            ___64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226
26 UIKitCore +0x237ec8            -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]
27 UIKitCore +0x302e78            -[UIScene scene:didUpdateWithDiff:transitionContext:completion:]
28 UIKitCore +0x302a58            -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:]
29 FrontBoardServices +0x66e0     -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:]
30 FrontBoardServices +0x16840    ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2
31 FrontBoardServices +0x166c8    -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
32 FrontBoardServices +0x1b7f8    ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke
33 libdispatch.dylib +0x3dd0      __dispatch_client_callout
34 libdispatch.dylib +0x7868      __dispatch_block_invoke_direct
35 FrontBoardServices +0x17d54    __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
36 FrontBoardServices +0x17cd4    -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible]
37 FrontBoardServices +0x17bac    -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource]
38 CoreFoundation +0x56830        ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
39 CoreFoundation +0x567c4        ___CFRunLoopDoSource0
40 CoreFoundation +0x54294        ___CFRunLoopDoSources0
41 CoreFoundation +0x53480        ___CFRunLoopRun
42 CoreFoundation +0x52cd4        _CFRunLoopRunSpecific
43 GraphicsServices +0x11a4       _GSEventRunModal
44 UIKitCore +0x40a908            -[UIApplication _run]
45 UIKitCore +0x4be9cc            _UIApplicationMain
46 MyApp +0x35e8c         main (main.m:35:16)
47 dyld +0x3ce48                  start

Looking forward to a quick resolution on the same.
Thanks in advance!!!
`

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

1 participant