gpt4 book ai didi

objective-c - iPhone 应用程序在某些设备上崩溃 :(

转载 作者:行者123 更新时间:2023-12-03 17:49:05 26 4
gpt4 key购买 nike

在我们的测试设备(iPhone 4S、5 和 6 Plus)上,应用程序运行良好,但是当我将构建发送到客户端时,应用程序开始在 4 台设备中的 2 台上崩溃。
下面我粘贴了曲棍球的崩溃日志,但我无法找到崩溃的原因。
请帮我找出崩溃的原因。

谢谢

Incident Identifier: 64218179-BEF1-47A2-B572-48A7324BA271
CrashReporter Key: D510E37E-8C56-4E2F-874E-DA0A6484C40B
Hardware Model: iPhone6,1
Process: AppName [447]
Path: /private/var/mobile/Containers/Bundle/Application/44F4B354-F49C-41AF-B600-373703FC523C/AppName.app/AppName
Identifier: com.AppName.AppName
Version: 1.0.04
Code Type: ARM-64
Parent Process: launchd [1]

Date/Time: 2015-02-17T07:28:16Z
OS Version: iPhone OS 8.1.2 (12B440)
Report Version: 104

Exception Type: SIGTRAP
Exception Codes: #0 at 0x185ac9458
Crashed Thread: 6

Thread 0:
0 libsystem_kernel.dylib 0x0000000196a60e7c 0x196a60000 + 3708
1 CoreFoundation 0x0000000185ba1ed0 0x185ac4000 + 909008
2 CoreFoundation 0x0000000185b9fe24 0x185ac4000 + 900644
3 CoreFoundation 0x0000000185acd0a4 0x185ac4000 + 37028
4 GraphicsServices 0x000000018ec775a4 0x18ec6c000 + 46500
5 UIKit 0x000000018a4023c0 0x18a38c000 + 484288
6 AppName 0x0000000100111714 0x100058000 + 759572
7 libdyld.dylib 0x0000000196962a08 0x196960000 + 10760

Thread 1:
0 libsystem_kernel.dylib 0x0000000196a60c94 0x196a60000 + 3220
1 libdispatch.dylib 0x000000019693b3b4 0x196938000 + 13236

Thread 2:
0 libsystem_kernel.dylib 0x0000000196a7bc78 0x196a60000 + 113784
1 libsystem_pthread.dylib 0x0000000196b14fa8 0x196b14000 + 4008

Thread 3:
0 libsystem_kernel.dylib 0x0000000196a60e7c 0x196a60000 + 3708
1 CoreFoundation 0x0000000185ba1ed0 0x185ac4000 + 909008
2 CoreFoundation 0x0000000185b9fe24 0x185ac4000 + 900644
3 CoreFoundation 0x0000000185acd0a4 0x185ac4000 + 37028
4 CFNetwork 0x00000001855d24e8 0x185534000 + 648424
5 Foundation 0x0000000186abdc0c 0x1869c8000 + 1006604
6 libsystem_pthread.dylib 0x0000000196b17e80 0x196b14000 + 16000
7 libsystem_pthread.dylib 0x0000000196b17ddc 0x196b14000 + 15836
8 libsystem_pthread.dylib 0x0000000196b14fb0 0x196b14000 + 4016

Thread 4:
0 libsystem_kernel.dylib 0x0000000196a7b498 0x196a60000 + 111768
1 libsystem_pthread.dylib 0x0000000196b17e80 0x196b14000 + 16000
2 libsystem_pthread.dylib 0x0000000196b17ddc 0x196b14000 + 15836
3 libsystem_pthread.dylib 0x0000000196b14fb0 0x196b14000 + 4016

Thread 5:
0 libsystem_kernel.dylib 0x0000000196a60e7c 0x196a60000 + 3708
1 CoreFoundation 0x0000000185ba1ed0 0x185ac4000 + 909008
2 CoreFoundation 0x0000000185b9fe24 0x185ac4000 + 900644
3 CoreFoundation 0x0000000185acd0a4 0x185ac4000 + 37028
4 CoreFoundation 0x0000000185b1f1fc 0x185ac4000 + 373244
5 CoreMotion 0x00000001864ca990 0x186488000 + 272784
6 libsystem_pthread.dylib 0x0000000196b17e80 0x196b14000 + 16000
7 libsystem_pthread.dylib 0x0000000196b17ddc 0x196b14000 + 15836
8 libsystem_pthread.dylib 0x0000000196b14fb0 0x196b14000 + 4016

Thread 6 Crashed:
0 CoreFoundation 0x0000000185ac9458 0x185ac4000 + 21592
1 AppName 0x00000001000c43a4 0x100058000 + 443300
2 AppName 0x00000001000c4044 0x100058000 + 442436
3 AddressBook 0x0000000184d9f288 0x184d3c000 + 406152
4 TCC 0x0000000191bfd6f0 0x191bfc000 + 5872
5 TCC 0x0000000191bff528 0x191bfc000 + 13608
6 libxpc.dylib 0x0000000196b3c6b8 0x196b38000 + 18104
7 libxpc.dylib 0x0000000196b3c648 0x196b38000 + 17992
8 libdispatch.dylib 0x000000019693936c 0x196938000 + 4972
9 libdispatch.dylib 0x000000019694540c 0x196938000 + 54284
10 libdispatch.dylib 0x000000019694675c 0x196938000 + 59228
11 libsystem_pthread.dylib 0x0000000196b152e4 0x196b14000 + 4836
12 libsystem_pthread.dylib 0x0000000196b14fa8 0x196b14000 + 4008

Thread 7:
0 libsystem_kernel.dylib 0x0000000196a60e7c 0x196a60000 + 3708
1 CoreFoundation 0x0000000185ba1ed0 0x185ac4000 + 909008
2 CoreFoundation 0x0000000185b9fe24 0x185ac4000 + 900644
3 CoreFoundation 0x0000000185acd0a4 0x185ac4000 + 37028
4 Foundation 0x00000001869d5804 0x1869c8000 + 55300
5 Foundation 0x0000000186a2fef8 0x1869c8000 + 425720
6 AppName 0x00000001000b17cc 0x100058000 + 366540
7 Foundation 0x0000000186abdc0c 0x1869c8000 + 1006604
8 libsystem_pthread.dylib 0x0000000196b17e80 0x196b14000 + 16000
9 libsystem_pthread.dylib 0x0000000196b17ddc 0x196b14000 + 15836
10 libsystem_pthread.dylib 0x0000000196b14fb0 0x196b14000 + 4016

Thread 8:
0 libsystem_kernel.dylib 0x0000000196a7bc78 0x196a60000 + 113784
1 libsystem_pthread.dylib 0x0000000196b14fa8 0x196b14000 + 4008

Thread 9:
0 libsystem_kernel.dylib 0x0000000196a7bc78 0x196a60000 + 113784
1 libsystem_pthread.dylib 0x0000000196b14fa8 0x196b14000 + 4008

Thread 10:
0 libsystem_kernel.dylib 0x0000000196a7bc78 0x196a60000 + 113784
1 libsystem_pthread.dylib 0x0000000196b14fa8 0x196b14000 + 4008

Thread 6 crashed with ARM-64 Thread State:
pc: 0x0000000185ac9458 fp: 0x0000000103647bf0 sp: 0x0000000103647b90 x0: 0x0000000000000000
x1: 0x000000020000078c x2: 0x0000000174c40f38 x3: 0x0000000196d3fb00 x4: 0x0000000000000000
x5: 0x000000000000004c x6: 0x0000000000000034 x7: 0x0000000000000000 x8: 0x0000000000000000
x9: 0x000001a596f74689 x10: 0x0000000000000007 x11: 0x0000000196f80df0 x12: 0x000000015f0c5000
x13: 0x000001a596f74689 x14: 0x00000061c68296e5 x15: 0x00000000000000c8 x16: 0x0000000185ac901c
x17: 0x0000000185adea38 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000017024bd90
x21: 0x0000000000000000 x22: 0x0000000000000001 x23: 0x000000017409ea50 x24: 0x0000000199c69af8
x25: 0x0000000170281708 x26: 0x0000000000000000 x27: 0x000000019a5d7080 x28: 0x000000019a5d7078
lr: 0x00000001000c43a4 cpsr: 0x0000000060000000

最佳答案

从跟踪来看,当您在 8.1.2 OS 版本的 iPhone 5S ( as per the hockey docs ) 上执行一些通讯录操作时,应用程序似乎崩溃了

您可能会询问客户端它在哪个模块上崩溃以及产生崩溃的步骤是什么。

始终向客户端提供在您支持的最新和最低版本的操作系统上测试的构建,使用更好的崩溃报告库,它提供崩溃的完整详细信息,如 crashlytics (只是一个例子)。

当设备内存不足时,我们可能会出现奇怪的崩溃,这也可能是原因之一。

关于objective-c - iPhone 应用程序在某些设备上崩溃 :(,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28558467/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com