应用启动时无法重现OneSignal崩溃

时间:2019-01-17 18:02:19

标签: ios crash-reports onesignal xcode-organizer serviceextension

Xcode组织者说,我的应用程序在过去2周内崩溃超过2万次。用户在应用商店上的评论可以确认这一点。应用有时会在启动时崩溃。我在xcode上检查了崩溃日志,但是我不明白哪一步是真正的崩溃点。我在OneSignal GitHub存储库上检查了OneSignal问题,但是没有运气。似乎没有人遇到我的问题。

我将尝试更新OneSignal软件包。如果可以的话,这可能会解决问题。这有点困难,因为最后一个react-native-onesignal包可能不支持我的react-native@0.55.2项目。因此,在执行此操作之前,我必须先更新本机和所有内容。

我正在使用react-native-onesignal@3.1.4,但找不到此软件包中包含的OneSignal SDK版本。我相信2.x。

我不确定这是一个错误报告。我将其发布到stackoverflow,因为我无法读取崩溃日志。

以下是崩溃报告:

Hardware Model:      iPhone9,2
Process:             OneSignalNotificationServiceExtension [5392]
Path:                /private/var/containers/Bundle/Application/70F3AF74-E318-462F-838D-8C4C75430B20/myapp.app/PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension
Identifier:          com.myapp.onesignal
AppVariant:          1:iPhone9,2:10
Code Type:           ARM-64 (Native)
Role:                Unspecified
Parent Process:      launchd [1]
Coalition:           com.myapp.onesignal [480]


Date/Time:           2019-01-16 23:00:50.3362 +0100
Launch Time:         2019-01-16 23:00:48.5031 +0100
OS Version:          iPhone OS 12.1.2 (16C101)
Baseband Version:    5.30.00
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  2

Last Exception Backtrace:
0   CoreFoundation                  0x1872e8ec4 __exceptionPreprocess + 228 (NSException.m:172)
1   libobjc.A.dylib                 0x1864b9a40 objc_exception_throw + 56 (objc-exception.mm:557)
2   CoreFoundation                  0x187260494 _CFThrowFormattedException + 112 (CFObject.m:1958)
3   CoreFoundation                  0x1871d3a30 -[__NSDictionaryM setObject:forKey:] + 932 (NSDictionaryM.m:176)
4   Foundation                      0x187d2eb5c -[_NSExtensionContextVendor _setPrincipalObject:forUUID:] + 100 (NSExtensionContext.m:365)
5   Foundation                      0x187d2e1e4 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID... + 764 (NSExtensionContext.m:267)
6   libdispatch.dylib               0x186d216c8 _dispatch_call_block_and_release + 24 (init.c:1372)
7   libdispatch.dylib               0x186d22484 _dispatch_client_callout + 16 (object.m:511)
8   libdispatch.dylib               0x186cc9bd0 _dispatch_lane_serial_drain$VARIANT$mp + 592 (inline_internal.h:2441)
9   libdispatch.dylib               0x186cca718 _dispatch_lane_invoke$VARIANT$mp + 432 (queue.c:3805)
10  libdispatch.dylib               0x186cd2eb8 _dispatch_workloop_worker_thread + 600 (queue.c:5889)
11  libsystem_pthread.dylib         0x186f050dc _pthread_wqthread + 312 (pthread.c:2371)
12  libsystem_pthread.dylib         0x186f07cec start_wqthread + 4

Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib          0x0000000186e73ea4 mach_msg_trap + 8
1   libsystem_kernel.dylib          0x0000000186e7337c mach_msg + 72 (mach_msg.c:103)
2   CoreFoundation                  0x0000000187278be8 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3   CoreFoundation                  0x0000000187273a84 __CFRunLoopRun + 1396 (CFRunLoop.c:2971)
4   CoreFoundation                  0x00000001872731f0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5   Foundation                      0x0000000187c69494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6   Foundation                      0x0000000187ca4e84 -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:389)
7   libxpc.dylib                    0x0000000186f45070 _xpc_objc_main + 516 (main.m:173)
8   libxpc.dylib                    0x0000000186f47a30 xpc_main + 180 (init.c:1471)
9   Foundation                      0x0000000187ca6e40 -[NSXPCListener resume] + 180 (NSXPCListener.m:253)
10  PlugInKit                       0x000000018cecf498 -[PKService run] + 132 (PKService.m:100)
11  PlugInKit                       0x000000018cecf2c4 +[PKService main] + 192 (PKService.m:52)
12  PlugInKit                       0x000000018cecf848 +[PKService _defaultRun:arguments:] + 20 (PKService.m:148)
13  Foundation                      0x0000000187e8e74c NSExtensionMain + 64 (NSExtensionMain.m:23)
14  libdyld.dylib                   0x0000000186d32bb4 start + 4

Thread 1:
0   libsystem_pthread.dylib         0x0000000186f07ce8 start_wqthread + 0

Thread 2 name:  Dispatch queue: com.apple.extension.global-state-queue
Thread 2 Crashed:
0   libsystem_kernel.dylib          0x0000000186e7f104 0x186e5c000 + 143620
1   libsystem_pthread.dylib         0x0000000186efb020 0x186ef9000 + 8224
2   libsystem_c.dylib               0x0000000186dd6d78 0x186d7f000 + 359800
3   libc++abi.dylib                 0x00000001864a0f78 0x18649f000 + 8056
4   libc++abi.dylib                 0x00000001864a1120 0x18649f000 + 8480
5   libobjc.A.dylib                 0x00000001864b9e48 0x1864b3000 + 28232
6   libc++abi.dylib                 0x00000001864ad0fc 0x18649f000 + 57596
7   libc++abi.dylib                 0x00000001864ad188 0x18649f000 + 57736
8   libdispatch.dylib               0x0000000186d22498 0x186cc1000 + 398488
9   libdispatch.dylib               0x0000000186cc9bd0 0x186cc1000 + 35792
10  libdispatch.dylib               0x0000000186cca718 0x186cc1000 + 38680
11  libdispatch.dylib               0x0000000186cd2eb8 0x186cc1000 + 73400
12  libsystem_pthread.dylib         0x0000000186f050dc 0x186ef9000 + 49372
13  libsystem_pthread.dylib         0x0000000186f07cec 0x186ef9000 + 60652

Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x000000010fd94cd7
    x4: 0x00000001864b0b81   x5: 0x000000016d3e2460   x6: 0x000000000000006e   x7: 0xffffffffffffffec
    x8: 0x0000000000000c00   x9: 0x0000000186eff820  x10: 0x0000000186efaea4  x11: 0x0000000000000003
   x12: 0x0000000000040491  x13: 0x0000000000000000  x14: 0x0000000000000010  x15: 0x00000000fffffff2
   x16: 0x0000000000000148  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000016d3e3000  x21: 0x000000016d3e2460  x22: 0x000000000000290b  x23: 0x000000016d3e30e0
   x24: 0x00000001034006c0  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x000000016d3e30e0   fp: 0x000000016d3e23c0   lr: 0x0000000186efb020
    sp: 0x000000016d3e2390   pc: 0x0000000186e7f104 cpsr: 0x00000000

0 个答案:

没有答案