CleverTap / clevertap-flutter

CleverTap Flutter SDK
Other
30 stars 43 forks source link

iOS App is crashing, reason related to CleverTap #187

Open shubh-SB opened 1 year ago

shubh-SB commented 1 year ago

Hi, our iOS App is crashing on just opening the app. Firebase is letting us know that it originates from CleverTapPlugin.m file. Attaching the necessary info below.

StackTrace

Crashlytics - Stack trace
 Application: com.salarybox.salarybox
 Platform: apple
 Version: 1.0.62 (199)
 Issue: ea4adfde2692cb521eb00a4a87f615dc
 Session: 918bdb2b4d514b6ea42ad3734581fbcc_DNE_0_v2
 Date: Fri Jun 23 2023 09:13:33 GMT+0530 (India Standard Time)

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x92c60 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
1  libobjc.A.dylib                0x14ee4 objc_exception_throw
2  Foundation                     0x124c80 (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
3  Flutter                        0x12d54 (Missing UUID b5f419596300357c85f161f5e6e0920d)
4  clevertap_plugin               0xa55c -[CleverTapPlugin emitEventInternal:] + 926 (CleverTapPlugin.m:926)
5  CoreFoundation                 0x2920c (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
6  CoreFoundation                 0xbe830 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
7  CoreFoundation                 0x93b48 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
8  CoreFoundation                 0x3dfa0 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
9  Foundation                     0x1a00c (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
10 clevertap_plugin               0xa8dc -[CleverTapPlugin postNotificationWithName:andBody:] + 1004 (CleverTapPlugin.m:1004)
11 clevertap_plugin               0xa988 -[CleverTapPlugin profileDidInitialize:] + 1016 (CleverTapPlugin.m:1016)
12 CleverTapSDK                   0x9784 __41-[CleverTap notifyUserProfileInitialized]_block_invoke + 693 (CleverTap.m:693)
13 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
14 libdispatch.dylib              0x64094 _dispatch_client_callout
15 libdispatch.dylib              0x13cbc _dispatch_root_queue_drain
16 libdispatch.dylib              0x1439c _dispatch_worker_thread2
17 libsystem_pthread.dylib        0x1dc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
18 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.apple.main-thread
0  libsystem_kernel.dylib         0x1484 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_pthread.dylib        0x9bc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
2  libc++.1.dylib                 0xc8f0 (Missing UUID 6a029134e3e431438eebe89a5033de9a)
3  Flutter                        0x3070d0 (Missing UUID b5f419596300357c85f161f5e6e0920d)
4  Flutter                        0x3e8374 (Missing UUID b5f419596300357c85f161f5e6e0920d)
5  Flutter                        0x145b8 (Missing UUID b5f419596300357c85f161f5e6e0920d)
6  Flutter                        0x102ec (Missing UUID b5f419596300357c85f161f5e6e0920d)
7  CoreFoundation                 0x2920c (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
8  CoreFoundation                 0xbe830 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
9  CoreFoundation                 0x93b48 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
10 CoreFoundation                 0x3dfa0 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
11 Foundation                     0x1a00c (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
12 UIKitCore                      0xe984d8 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
13 UIKitCore                      0xe9ff48 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
14 UIKitCore                      0xe9f8c0 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
15 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
16 libdispatch.dylib              0x64094 _dispatch_client_callout
17 libdispatch.dylib              0x10d44 _dispatch_main_queue_drain
18 libdispatch.dylib              0x10994 _dispatch_main_queue_callback_4CF$VARIANT$mp
19 CoreFoundation                 0x4e014 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
20 CoreFoundation                 0xb4f8 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
21 CoreFoundation                 0x1e174 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
22 GraphicsServices               0x1988 GSEventRunModal
23 UIKitCore                      0x4e57d8 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
24 UIKitCore                      0x27ec70 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
25 Runner                         0x86c0 main + 10 (AppDelegate.swift:10)
26 ???                            0x105d904d0 (Missing)

APMDefaultIdentitySupport
0  ???                            0x105d7a474 (Missing)
1  ???                            0x105d79acc (Missing)
2  ???                            0x105d799a4 (Missing)
3  libobjc.A.dylib                0x8464 __sel_registerName(char const*, bool, bool)
4  Foundation                     0x1f21c (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
5  Runner                         0xe698c -[APMPlatformIdentitySupport resettableDeviceID]
6  Runner                         0x5d6d0 __47-[APMDefaultIdentitySupport resettableDeviceID]_block_invoke
7  libdispatch.dylib              0x11544 _dispatch_block_async_invoke2
8  libdispatch.dylib              0x64094 _dispatch_client_callout
9  libdispatch.dylib              0xa73c _dispatch_lane_serial_drain$VARIANT$mp
10 libdispatch.dylib              0xb1f4 _dispatch_lane_invoke$VARIANT$mp
11 libdispatch.dylib              0x14ec8 _dispatch_workloop_worker_thread
12 libsystem_pthread.dylib        0x1e00 (Missing UUID 7e1003983e383d21b54886e074dc4608)
13 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

APMExperimentWorkerQueue
0  libsystem_kernel.dylib         0x1bec (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsqlite3.dylib               0xb4798 sqlite3_sourceid
2  libsqlite3.dylib               0x7fa0 sqlite3_snprintf
3  libsqlite3.dylib               0x2ae30 sqlite3_log
4  libsqlite3.dylib               0xbde24 sqlite3_sourceid
5  libsqlite3.dylib               0xd477c sqlite3_sourceid
6  libsqlite3.dylib               0x50168 sqlite3_step
7  libsqlite3.dylib               0x438f8 sqlite3_step
8  Runner                         0xe0340 -[APMSqliteStore validateDatabaseWithError:]
9  Runner                         0xe025c -[APMSqliteStore openAndValidateDatabase:]
10 Runner                         0xdbcac -[APMSqliteStore initWithDatabasePath:error:]
11 Runner                         0x5dea8 -[APMEDatabase initializeDatabaseResourcesWithContext:databasePath:]
12 Runner                         0x5ddb8 -[APMEDatabase initWithPath:]
13 Runner                         0x66a74 -[APMETaskManager startTaskManagerOnWorkerQueue]
14 Runner                         0x66a1c __35-[APMETaskManager startTaskManager]_block_invoke
15 Runner                         0x67f84 __46-[APMETaskManager dispatchAsyncOnWorkerQueue:]_block_invoke
16 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
17 libdispatch.dylib              0x64094 _dispatch_client_callout
18 libdispatch.dylib              0xa73c _dispatch_lane_serial_drain$VARIANT$mp
19 libdispatch.dylib              0xb1f4 _dispatch_lane_invoke$VARIANT$mp
20 libdispatch.dylib              0x14ec8 _dispatch_workloop_worker_thread
21 libsystem_pthread.dylib        0x1e00 (Missing UUID 7e1003983e383d21b54886e074dc4608)
22 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.google.fira.worker
0  libsystem_kernel.dylib         0x1134 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libdispatch.dylib              0x224b4 _dispatch_kq_poll
2  libdispatch.dylib              0x22ebc _dispatch_event_loop_wait_for_ownership$VARIANT$mp
3  libdispatch.dylib              0x11bdc __DISPATCH_WAIT_FOR_QUEUE__
4  libdispatch.dylib              0x11820 _dispatch_sync_f_slow
5  Runner                         0x70c08 -[APMIdentity appIDFromGMP]
6  Runner                         0x7d764 -[APMMeasurement updatePersistedAppIDFromGMPAndAdMob]
7  Runner                         0x7de48 __47-[APMMeasurement startMeasurementOnWorkerQueue]_block_invoke
8  Runner                         0x7da04 -[APMMeasurement startMeasurementOnWorkerQueue]
9  Runner                         0x7d010 -[APMMeasurement setEnabledOnWorkerQueue:]
10 Runner                         0x7cef0 __29-[APMMeasurement setEnabled:]_block_invoke
11 Runner                         0xd4eb0 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke
12 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
13 libdispatch.dylib              0x64094 _dispatch_client_callout
14 libdispatch.dylib              0xa73c _dispatch_lane_serial_drain$VARIANT$mp
15 libdispatch.dylib              0xb1f4 _dispatch_lane_invoke$VARIANT$mp
16 libdispatch.dylib              0x14ec8 _dispatch_workloop_worker_thread
17 libsystem_pthread.dylib        0x1e00 (Missing UUID 7e1003983e383d21b54886e074dc4608)
18 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0xaac (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_kernel.dylib         0x107c (Missing UUID d3bac78709ee3319be244115817391e2)
2  CoreFoundation                 0x6c88 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
3  CoreFoundation                 0xaf90 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
4  CoreFoundation                 0x1e174 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
5  Foundation                     0x17eac (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
6  Foundation                     0x56fd0 (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
7  UIKitCore                      0x464c44 (Missing UUID f0bf656b50133cbb86f6209c26014b21)
8  Foundation                     0x64bdc (Missing UUID c3a840e10d1132a3937f7f668ffb13f0)
9  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
10 libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

Thread
0  libsystem_pthread.dylib        0x1924 (Missing UUID 7e1003983e383d21b54886e074dc4608)

io.flutter.1.ui
0   CoreGraphics                   0xe1ac ERROR_CGDataProvider_BufferIsNotBigEnough
1   CoreGraphics                   0x1ad68 CGDataProviderRetainBytePtr
2   CoreGraphics                   0x28c6c CGDataProviderCopyData
3   CoreGraphics                   0xa05b8 create_private_data_with_data_provider
4   CoreGraphics                   0x80274 CGFontCreateWithDataProviderAndData
5   CoreText                       0x4bb88 CreateFontWithData(__CFData const*)
6   CoreText                       0x7c904 CTFontManagerCreateFontDescriptorFromData
7   Flutter                        0x182fd8 (Missing UUID b5f419596300357c85f161f5e6e0920d)
8   Flutter                        0x18243c (Missing UUID b5f419596300357c85f161f5e6e0920d)
9   Flutter                        0xc99fc (Missing UUID b5f419596300357c85f161f5e6e0920d)
10  Flutter                        0x4dfabc (Missing UUID b5f419596300357c85f161f5e6e0920d)
11  Flutter                        0x4df960 (Missing UUID b5f419596300357c85f161f5e6e0920d)
12  Flutter                        0x7c9b8 (Missing UUID b5f419596300357c85f161f5e6e0920d)
13  Flutter                        0x47c1f4 (Missing UUID b5f419596300357c85f161f5e6e0920d)
14  Flutter                        0x47bb80 (Missing UUID b5f419596300357c85f161f5e6e0920d)
15  Flutter                        0x481384 (Missing UUID b5f419596300357c85f161f5e6e0920d)
16  Flutter                        0x481060 (Missing UUID b5f419596300357c85f161f5e6e0920d)
17  Flutter                        0x4806e0 (Missing UUID b5f419596300357c85f161f5e6e0920d)
18  Flutter                        0x488468 (Missing UUID b5f419596300357c85f161f5e6e0920d)
19  Flutter                        0x4e1d1c (Missing UUID b5f419596300357c85f161f5e6e0920d)
20  Flutter                        0x5cb680 (Missing UUID b5f419596300357c85f161f5e6e0920d)
21  Flutter                        0x5cb400 (Missing UUID b5f419596300357c85f161f5e6e0920d)
22  App                            0x9604 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
23  App                            0x13a5b0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
24  App                            0x13a54c (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
25  App                            0x13e560 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
26  App                            0x13f340 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
27  App                            0x27dff0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
28  App                            0x27e658 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
29  App                            0x4a3a74 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
30  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
31  App                            0x410d54 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
32  App                            0x410da4 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
33  App                            0x140190 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
34  App                            0x49f2d0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
35  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
36  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
37  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
38  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
39  App                            0x499c20 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
40  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
41  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
42  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
43  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
44  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
45  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
46  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
47  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
48  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
49  App                            0x49b8d0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
50  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
51  App                            0x499790 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
52  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
53  App                            0x49c298 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
54  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
55  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
56  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
57  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
58  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
59  App                            0x40d2dc (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
60  App                            0x6fd66c (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
61  App                            0x40d0e0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
62  App                            0x4991a8 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
63  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
64  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
65  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
66  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
67  App                            0x49a190 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
68  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
69  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
70  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
71  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
72  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
73  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
74  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
75  App                            0x410d54 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
76  App                            0x410da4 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
77  App                            0x148838 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
78  App                            0x4a40c0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
79  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
80  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
81  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
82  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
83  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
84  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
85  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
86  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
87  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
88  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
89  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
90  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
91  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
92  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
93  App                            0x49a5e0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
94  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
95  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
96  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
97  App                            0x4a453c (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
98  App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
99  App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
100 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
101 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
102 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
103 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
104 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
105 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
106 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
107 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
108 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
109 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
110 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
111 App                            0x49aa88 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
112 App                            0x149428 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
113 App                            0x4ac84c (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
114 App                            0x133a54 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
115 App                            0x1339cc (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
116 App                            0x132378 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
117 App                            0x131f14 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
118 App                            0x41af00 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
119 App                            0x41aec8 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
120 App                            0x1283c4 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
121 App                            0x128318 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
122 App                            0x41b5c8 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
123 App                            0xab390 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
124 App                            0x13904 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
125 App                            0x6bed64 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
126 App                            0x6c29e0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
127 App                            0x6be540 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
128 App                            0xab3f0 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
129 App                            0x13904 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
130 App                            0x6bed64 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
131 App                            0x6bcd50 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
132 App                            0x12f28 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
133 App                            0x57b8c (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
134 App                            0x579c4 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
135 App                            0x57948 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
136 App                            0x7320a4 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
137 App                            0x57278 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
138 App                            0x9310 (Missing UUID 5715ec6c4dee373e87a93f4c7d7da20f)
139 Flutter                        0x59eb60 (Missing UUID b5f419596300357c85f161f5e6e0920d)
140 Flutter                        0x5a6708 (Missing UUID b5f419596300357c85f161f5e6e0920d)
141 Flutter                        0x5b1d48 (Missing UUID b5f419596300357c85f161f5e6e0920d)
142 Flutter                        0x4004ec (Missing UUID b5f419596300357c85f161f5e6e0920d)
143 Flutter                        0x30584c (Missing UUID b5f419596300357c85f161f5e6e0920d)
144 Flutter                        0x308b48 (Missing UUID b5f419596300357c85f161f5e6e0920d)
145 CoreFoundation                 0xa71b4 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
146 CoreFoundation                 0x30a38 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
147 CoreFoundation                 0x2b5e8 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
148 CoreFoundation                 0xb2b4 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
149 CoreFoundation                 0x1e174 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
150 Flutter                        0x308a18 (Missing UUID b5f419596300357c85f161f5e6e0920d)
151 Flutter                        0x3083fc (Missing UUID b5f419596300357c85f161f5e6e0920d)
152 libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
153 libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

io.flutter.1.raster
0  libsystem_kernel.dylib         0xaac (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_kernel.dylib         0x107c (Missing UUID d3bac78709ee3319be244115817391e2)
2  CoreFoundation                 0x6c88 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
3  CoreFoundation                 0xaf90 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
4  CoreFoundation                 0x1e174 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
5  Flutter                        0x308a18 (Missing UUID b5f419596300357c85f161f5e6e0920d)
6  Flutter                        0x3083fc (Missing UUID b5f419596300357c85f161f5e6e0920d)
7  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
8  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

io.flutter.1.io
0  libsystem_kernel.dylib         0xaac (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_kernel.dylib         0x107c (Missing UUID d3bac78709ee3319be244115817391e2)
2  CoreFoundation                 0x6c88 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
3  CoreFoundation                 0xaf90 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
4  CoreFoundation                 0x1e174 (Missing UUID 717d70c93b8e3abcae16050588fc3ee8)
5  Flutter                        0x308a18 (Missing UUID b5f419596300357c85f161f5e6e0920d)
6  Flutter                        0x3083fc (Missing UUID b5f419596300357c85f161f5e6e0920d)
7  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
8  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

io.worker.1
0  libsystem_kernel.dylib         0x1484 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_pthread.dylib        0x9bc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
2  libc++.1.dylib                 0xc8f0 (Missing UUID 6a029134e3e431438eebe89a5033de9a)
3  Flutter                        0x3031e4 (Missing UUID b5f419596300357c85f161f5e6e0920d)
4  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
5  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

io.worker.2
0  libsystem_kernel.dylib         0x1484 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_pthread.dylib        0x9bc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
2  libc++.1.dylib                 0xc8f0 (Missing UUID 6a029134e3e431438eebe89a5033de9a)
3  Flutter                        0x3031e4 (Missing UUID b5f419596300357c85f161f5e6e0920d)
4  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
5  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

dart:io EventHandler
0  libsystem_kernel.dylib         0x2294 (Missing UUID d3bac78709ee3319be244115817391e2)
1  Flutter                        0x4ecbc4 (Missing UUID b5f419596300357c85f161f5e6e0920d)
2  Flutter                        0x51b4e0 (Missing UUID b5f419596300357c85f161f5e6e0920d)
3  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
4  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

APMIdentityWorkerQueue
0  libsystem_kernel.dylib         0x1688 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libdispatch.dylib              0x4d60 _dlock_wait
2  libdispatch.dylib              0x4aa8 _dispatch_wait_on_address$VARIANT$mp
3  libdispatch.dylib              0x50ec _dispatch_group_wait_slow
4  libdispatch.dylib              0x7604 dispatch_block_wait$VARIANT$mp
5  Runner                         0x5d63c -[APMDefaultIdentitySupport resettableDeviceID]
6  Runner                         0x5d524 -[APMDefaultIdentitySupport limitedAdTracking]
7  Runner                         0x716d4 __32-[APMIdentity updateIdentifiers]_block_invoke
8  libdispatch.dylib              0x63094 _dispatch_call_block_and_release
9  libdispatch.dylib              0x64094 _dispatch_client_callout
10 libdispatch.dylib              0xa73c _dispatch_lane_serial_drain$VARIANT$mp
11 libdispatch.dylib              0xb1f4 _dispatch_lane_invoke$VARIANT$mp
12 libdispatch.dylib              0x14ec8 _dispatch_workloop_worker_thread
13 libsystem_pthread.dylib        0x1e00 (Missing UUID 7e1003983e383d21b54886e074dc4608)
14 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0xaac (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_kernel.dylib         0x107c (Missing UUID d3bac78709ee3319be244115817391e2)
2  FirebaseCrashlytics            0x18a54 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
3  libsystem_pthread.dylib        0x3338 (Missing UUID 7e1003983e383d21b54886e074dc4608)
4  libsystem_pthread.dylib        0x1938 (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.clevertap.serialQueue:476-RZ8-WR6Z
0  libsystem_kernel.dylib         0xae8 (Missing UUID d3bac78709ee3319be244115817391e2)
1  libdispatch.dylib              0x4960 _dispatch_sema4_wait$VARIANT$mp
2  libdispatch.dylib              0x4fb0 _dispatch_semaphore_wait_slow
3  CleverTapSDK                   0x14b34 -[CleverTap sendQueue:] + 2902 (CleverTap.m:2902)
4  CleverTapSDK                   0x13d98 -[CleverTap sendQueues] + 2708 (CleverTap.m:2708)
5  CleverTapSDK                   0x11528 -[CleverTap runSerialAsync:] + 2161 (CleverTap.m:2161)
6  CleverTapSDK                   0x13c84 -[CleverTap flushQueue] + 2695 (CleverTap.m:2695)
7  CleverTapSDK                   0x139e4 -[CleverTap processEvent:withType:] + 2665 (CleverTap.m:2665)
8  CleverTapSDK                   0x11528 -[CleverTap runSerialAsync:] + 2161 (CleverTap.m:2161)
9  CleverTapSDK                   0x13148 -[CleverTap queueEvent:withType:] + 2563 (CleverTap.m:2563)
10 CleverTapSDK                   0x1e8f4 -[CleverTap fetchFeatureFlags] + 4711 (CleverTap.m:4711)
11 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
12 libdispatch.dylib              0x64094 _dispatch_client_callout
13 libdispatch.dylib              0xa73c _dispatch_lane_serial_drain$VARIANT$mp
14 libdispatch.dylib              0xb1f4 _dispatch_lane_invoke$VARIANT$mp
15 libdispatch.dylib              0x14ec8 _dispatch_workloop_worker_thread
16 libsystem_pthread.dylib        0x1e00 (Missing UUID 7e1003983e383d21b54886e074dc4608)
17 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

com.apple.root.user-initiated-qos
0  libsystem_kernel.dylib         0xaac (Missing UUID d3bac78709ee3319be244115817391e2)
1  libsystem_kernel.dylib         0x107c (Missing UUID d3bac78709ee3319be244115817391e2)
2  libdispatch.dylib              0x1af7c _dispatch_mach_send_and_wait_for_reply
3  libdispatch.dylib              0x1b30c dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$mp
4  libxpc.dylib                   0xc9bc (Missing UUID 1b604e6983b739ae84fd6ed89baefca7)
5  Security                       0x7618 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
6  Security                       0x11d04 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
7  Security                       0x414c (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
8  Security                       0x4a70 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
9  Security                       0x32c0 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
10 Security                       0x4614 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
11 Security                       0xa65c (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
12 Security                       0x4374 (Missing UUID 2754f9e600463ca5aa3c2eba46ff5382)
13 FreshchatSDK                   0xfbf58 (Missing UUID 565883faefa13fec953a9f85c772ae2c)
14 FreshchatSDK                   0xc0198 (Missing UUID 565883faefa13fec953a9f85c772ae2c)
15 FreshchatSDK                   0xc0094 (Missing UUID 565883faefa13fec953a9f85c772ae2c)
16 FreshchatSDK                   0x12e00 (Missing UUID 565883faefa13fec953a9f85c772ae2c)
17 libdispatch.dylib              0x63094 _dispatch_call_block_and_release
18 libdispatch.dylib              0x64094 _dispatch_client_callout
19 libdispatch.dylib              0x13cbc _dispatch_root_queue_drain
20 libdispatch.dylib              0x1439c _dispatch_worker_thread2
21 libsystem_pthread.dylib        0x1dc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
22 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x1eea8 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1  FirebaseCrashlytics            0x1f288 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2  FirebaseCrashlytics            0x164dc FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x111e4 __FIRCLSExceptionRecord_block_invoke + 232 (FIRCLSException.mm:232)
4  libdispatch.dylib              0x64094 _dispatch_client_callout
5  libdispatch.dylib              0x11964 _dispatch_lane_barrier_sync_invoke_and_complete
6  FirebaseCrashlytics            0x101f0 FIRCLSExceptionRecord + 234 (FIRCLSException.mm:234)
7  FirebaseCrashlytics            0x10d04 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126)
8  FirebaseCrashlytics            0xfe48 FIRCLSTerminateHandler() + 398 (FIRCLSException.mm:398)
9  libc++abi.dylib                0x10280 (Missing UUID d227b564fa20391092bfbe677092ffef)
10 libc++abi.dylib                0x10228 (Missing UUID d227b564fa20391092bfbe677092ffef)
11 libobjc.A.dylib                0x2846c objc::DenseMapBase<objc::DenseMap<objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >, objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*> >::FatalCorruptHashTables(objc::detail::DenseMapPair<objc_class*, PendingInitialize*> const*, unsigned int) const
12 libdispatch.dylib              0x640a8 _dispatch_client_callout
13 libdispatch.dylib              0x13cbc _dispatch_root_queue_drain
14 libdispatch.dylib              0x1439c _dispatch_worker_thread2
15 libsystem_pthread.dylib        0x1dc4 (Missing UUID 7e1003983e383d21b54886e074dc4608)
16 libsystem_pthread.dylib        0x192c (Missing UUID 7e1003983e383d21b54886e074dc4608)

Thread
0  libsystem_pthread.dylib        0x1924 (Missing UUID 7e1003983e383d21b54886e074dc4608)

flutter Clevertap plugin version: 1.5.2

iOS Version affected: 14 and 15

Steps to reproduce: I don't have it at the moment. It is happening in production with some customers.

Please look into this Issue. Thanks

nishant-clevertap commented 1 year ago

Hi @shubh-SB, We are currently investigating this, meanwhile can you share a demo project where you are are getting this crash if possible.

shubh-SB commented 1 year ago

Hi any update on this?

shubh-SB commented 1 year ago

@nishant-clevertap I am not able to replicate this crash in my environment. It is occurring to customers in production. Our app's AppDelegate.swift file is as follows: ` import UIKit import Flutter import Firebase import GoogleMaps import CleverTapSDK import clevertap_plugin import AppsFlyerLib

@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool {

FirebaseApp.configure() //add this before the code GeneratedPluginRegistrant.register(with: self) GeneratedPluginRegistrant.register(with: self)

GMSServices.provideAPIKey("XXXX-XXXXX")

CleverTap.autoIntegrate() CleverTapPlugin.sharedInstance()?.applicationDidLaunch(options: launchOptions)

if #available(iOS 10.0, *) {
  UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}

return super.application(application, didFinishLaunchingWithOptions: launchOptions)

}

} `

nishant-clevertap commented 1 year ago

Hi @shubh-SB We are unable to reproduce this at our end. Also I have found similar crash on flutter Github: https://github.com/flutter/flutter/issues/90781 where it is also not resolved due to lack of additional information.

However we can look into this further if we get more detailed log messages after Fatal Exception: NSInternalInconsistencyException which will describe the actual reason like mentioned here: https://github.com/flutter/flutter/issues/66647

Can you provide steps to reproduce it with debug enabled console logs, or extra detailed log message for this crash if possible? Thanks.