gpt4 book ai didi

iphone - 名称为 SIGSEGV 且原因为 main 的 iOS 崩溃

转载 作者:行者123 更新时间:2023-11-28 20:16:38 25 4
gpt4 key购买 nike

我正在使用 Crittercism (SDK 3.5.1) 崩溃报告服务来捕获我的 iOS 应用程序的报告。我多次收到此错误,但我不知道为什么会这样。

名称:SIGSEGV - 原因:主要

这是 Crittercism 的完整报告:

Threads
_________________________________
Thread: Unknown Name (Crashed)
0 libobjc.A.dylib 0x39917526 objc_retain + 6
1 UIKit 0x33a92ab3 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 159
2 UIKit 0x33b078ef -[UIViewAnimationState animationDidStop:finished:] + 51
3 QuartzCore 0x3383cc01 _ZN2CA5Layer23run_animation_callbacksEPv + 209
4 libdispatch.dylib 0x39d314b7 _dispatch_client_callout + 23
5 libdispatch.dylib 0x39d32dcb _dispatch_main_queue_callback_4CF$VARIANT$up + 227
6 CoreFoundation 0x31c48f3b __CFRunLoopRun + 1291
7 CoreFoundation 0x31bbbebd CFRunLoopRunSpecific + 357
8 CoreFoundation 0x31bbbd49 CFRunLoopRunInMode + 105
9 GraphicsServices 0x3577f2eb GSEventRunModal + 75
10 UIKit 0x33ad1301 UIApplicationMain + 1121
11 MyAppName 0x0002e29b main (main.m:17)

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e08648 kevent64 + 24
1 libdispatch.dylib 0x39d33df8 _dispatch_mgr_thread$VARIANT$up + 36

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e07eb4 mach_msg_trap + 20
1 CoreFoundation 0x31c4a045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x31c48da3 __CFRunLoopRun + 883
3 CoreFoundation 0x31bbbebd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x31bbbd49 CFRunLoopRunInMode + 105
5 WebCore 0x37bba505 _ZL12RunWebThreadPv + 445
6 libsystem_c.dylib 0x39d71311 _pthread_start + 309

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e07eb4 mach_msg_trap + 20
1 CoreFoundation 0x31c4a045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x31c48da3 __CFRunLoopRun + 883
3 CoreFoundation 0x31bbbebd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x31bbbd49 CFRunLoopRunInMode + 105
5 Foundation 0x325083d5 +[NSURLConnection(Loader) _resourceLoadLoop:] + 309
6 Foundation 0x3258be85 __NSThread__main__ + 973
7 libsystem_c.dylib 0x39d71311 _pthread_start + 309

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e07eb4 mach_msg_trap + 20
1 CoreFoundation 0x31c4a045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x31c48da3 __CFRunLoopRun + 883
3 CoreFoundation 0x31bbbebd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x31bbbd49 CFRunLoopRunInMode + 105
5 Foundation 0x324def97 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255
6 Foundation 0x32582865 -[NSRunLoop(NSRunLoop) run] + 81
7 MyAppName 0x001000c1 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:182)
8 Foundation 0x3258be85 __NSThread__main__ + 973
9 libsystem_c.dylib 0x39d71311 _pthread_start + 309

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e18594 select$DARWIN_EXTSN + 20
1 libsystem_c.dylib 0x39d71311 _pthread_start + 309

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e18d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39d66a16 _pthread_wqthread + 366

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e18d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39d66a16 _pthread_wqthread + 366

Thread: Unknown Name
0 libsystem_kernel.dylib 0x39e18d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x39d66a16 _pthread_wqthread + 366



Crashed Registers
_________________________________
r12 0xb9e49
r10 0x0
r11 0x10
cpsr 0x30
r4 0x1fb79160
r5 0x1f4158
r6 0x33efe80f
r7 0x2fdd9e84
r0 0x1fb16050
r1 0x80000000
r2 0x2
r3 0x790ca8e9
sp 0x2fdd9e78
r8 0x1
r9 0xa25701
pc 0x39917526
lr 0xb9095

最佳答案

第一个猜测是你设置了一个类似这样的委托(delegate):

[UIView setAnimationDelegate:self];

在动画结束之前已经被释放。

关于iphone - 名称为 SIGSEGV 且原因为 main 的 iOS 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17828087/

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