应用程序因 _isPlatformVersionAtLeast SIGABRT (ABORT) 崩溃 - APMIdentityWorkerQueue

问题描述 投票:0回答:1

我正在开发一个跨平台应用程序,我们最近发布了应用程序的更新。我们的 Crashlytics 日志中收到了大量崩溃信息。所有崩溃似乎都发生在具有“__isPlatformVersionAtLeast SIGABRT (ABORT)”的 APM 子模块类中。在检查 Crashlytics 事件摘要详细信息时,我发现崩溃发生在 AppDelegate 中执行 didFinishLaunchingWithOptions 函数期间。

didFinishLaunchingWithOptions:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 
    //Firebase 
    [FIRPerformance sharedInstance].instrumentationEnabled = 0; 
    [FIRApp configure]; 
    NSDictionary *props = @{ @"TESTING": @"iOS", @"Date": [NSDate date] }; 
    //Clevertap
    [[CleverTap sharedInstance] setInAppNotificationDelegate:self];
    [[CleverTap sharedInstance] setPushNotificationDelegate:self];
    NSString *appPath = [[NSBundle mainBundle] bundlePath]; 
    NSLog(@"appPath ------ %@",appPath); 
    // Config an additional instance 
    NSLog(@"multiple instance registration"); 
    CleverTapInstanceConfig *ctConfig = [[CleverTapInstanceConfig alloc]     initWithAccountId:@"TEST*******" accountToken:@"TEST*****"]; 
    NSLog(@"multiple instance registration %@",ctConfig);
    CleverTap *additionalCleverTapInstance = [CleverTap instanceWithConfig:ctConfig];
    [AEPMobileCore setLogLevel:AEPLogLevelDebug];
    [AEPMobileCore configureWithAppId:@"99********"]; 
    return YES;
}

Podfile:

pod 'Firebase/Analytics' 
pod 'Firebase/Auth' 
pod 'Firebase/Crashlytics', '10.28.1' 
pod 'FirebasePerformance', '10.28.0' 
pod 'FirebaseRemoteConfig' 
pod 'CleverTap-iOS-SDK', '6.2.1' 

堆栈跟踪:

Crashed: APMIdentityWorkerQueue 
0 libsystem_kernel.dylib          0xc274 __pthread_kill + 8 
1 libsystem_pthread.dylib         0x7ef8 pthread_kill + 268
2 libsystem_c.dylib               0x77ad8 abort + 128 
3 libsystem_malloc.dylib          0x9c38 malloc_vreport + 896 
4 libsystem_malloc.dylib          0x98a8 malloc_report + 64 
5 libsystem_malloc.dylib          0x8e80 find_zone_and_free + 528 
6 App 0xfe574                     (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
7 App 0xf7e04                     (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
8 App 0xfc250                     (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
9 App 0xfbbec                     (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
10 App 0x2b4d00                   (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
11 App 0x2bed74                   (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
12 App 0x18344c                   (Missing UUID 0faca6be3dbe3121a960c0897cece480) 
13 libsystem_pthread.dylib        0x7ef8 pthread_kill + 268 
14 App 0x28354fc                  __isPlatformVersionAtLeast + 4384462076 
15 ??? 0x3015b5920                (Missing) 
16 ??? 0xd5e00078c                (Missing) 
17 ??? 0x1f058ed                  (Missing)

APM实验工作队列

0  libsqlite3.dylib               0x815f0 sqlite3_table_column_metadata + 2400
1  libsqlite3.dylib               0x13b2c sqlite3_exec + 46032
2  libsqlite3.dylib               0xaae0 sqlite3_exec + 9092
3  libsqlite3.dylib               0x9ac8 sqlite3_exec + 4972
4  libsqlite3.dylib               0x9158 sqlite3_exec + 2556
5  libsqlite3.dylib               0x12830 sqlite3_exec + 41172
6  libsqlite3.dylib               0x11f20 sqlite3_exec + 38852
7  libsqlite3.dylib               0x11e64 sqlite3_exec + 38664
8  libsqlite3.dylib               0xb14bc sqlite3_sourceid + 132108
9  libsqlite3.dylib               0xd130 sqlite3_exec + 18900
10 libsqlite3.dylib               0xc224 sqlite3_exec + 15048
11 libsqlite3.dylib               0x9ac8 sqlite3_exec + 4972
12 libsqlite3.dylib               0x9158 sqlite3_exec + 2556
13 libsqlite3.dylib               0x8d30 sqlite3_exec + 1492
14 App                            0x58249c -[APMSqliteStore prepareSQL:error:] + 4339819676
15 App                            0x58295c -[APMSqliteStore validateDatabaseWithError:] + 4339820892
16 App                            0x58289c -[APMSqliteStore openAndValidateDatabase:] + 4339820700
17 App                            0x57ecbc -[APMSqliteStore initWithDatabasePath:error:] + 4339805372
18 App                            0x505ae4 -[APMEDatabase initializeDatabaseResourcesWithContext:databasePath:] + 4339309284
19 App                            0x505a0c -[APMEDatabase initWithPath:] + 4339309068
20 App                            0x50d294 -[APMETaskManager startTaskManagerOnWorkerQueue] + 4339339924
21 App                            0x50d24c __35-[APMETaskManager startTaskManager]_block_invoke + 4339339852
22 App                            0x50e578 __46-[APMETaskManager dispatchAsyncOnWorkerQueue:]_block_invoke + 4339344760
23 libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
24 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
25 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
26 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
27 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
28 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
29 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
30 libsystem_pthread.dylib        0x10cc start_wqthread + 8

部署版本:12.2

有人知道以上问题吗?

ios objective-c firebase crashlytics clevertap
1个回答
0
投票

目前我也面临这个问题,需要这方面的支持。

© www.soinside.com 2019 - 2024. All rights reserved.