gpt4 book ai didi

ios - 在 iphone ios 7.0.4 中,启动应用程序时应用程序崩溃

转载 作者:行者123 更新时间:2023-12-02 06:00:38 24 4
gpt4 key购买 nike

我用cocos 2d做了一个游戏。它在 iOS 5 和 6 中工作正常,但在设备上的 ios 7.0.4 中将应用程序启动到启动屏幕时会崩溃。我在 xocde 4.6.1 中开发了游戏。我有一份崩溃日志报告。

<小时/>
Incident Identifier: CE1591CE-8C42-4A28-B9BC-475D2DA3D003
CrashReporter Key: 2052fa255b4c1ef610c06e87282541732110f760
Hardware Model: xxx
Process: Fly Paradise [4247]
Path: /var/mobile/Applications/2E646AFF-51C0-42F0-83CE-D5B901CF248E/Fly Paradise.app/Fly Paradise
Identifier: com.spinytel.Fly-Paradise
Version: 1.0 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2013-12-09 19:50:55.199 -0800
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: EXC_ARM_DA_ALIGN at 0x16b2564d
Triggered by Thread: 0

Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 Fly Paradise 0x000fcfdc 0xa4000 + 364508
1 Fly Paradise 0x000fd2f4 0xa4000 + 365300
2 Fly Paradise 0x000fef0c 0xa4000 + 372492
3 Fly Paradise 0x000ff126 0xa4000 + 373030
4 Fly Paradise 0x000ff4f8 0xa4000 + 374008
5 Fly Paradise 0x000ff770 0xa4000 + 374640
6 Fly Paradise 0x000ff932 0xa4000 + 375090
7 Fly Paradise 0x000ff9f6 0xa4000 + 375286
8 Fly Paradise 0x000ff9c6 0xa4000 + 375238
9 Fly Paradise 0x000f9ce4 0xa4000 + 351460
10 Fly Paradise 0x000ec1f4 0xa4000 + 295412
11 Fly Paradise 0x000ed8ac 0xa4000 + 301228
12 UIKit 0x329bfd9e -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 342
13 QuartzCore 0x32646c66 -[CALayer layoutSublayers] + 138
14 QuartzCore 0x32642476 CA::Layer::layout_if_needed(CA::Transaction*) + 346
15 QuartzCore 0x326715c0 -[CALayer layoutIfNeeded] + 136
16 UIKit 0x32a3c9de -[UIViewController window:setupWithInterfaceOrientation:] + 238
17 UIKit 0x32a3b046 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 3494
18 UIKit 0x32a3a296 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 42
19 UIKit 0x32a3a21e -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 90
20 UIKit 0x32a3a1b6 -[UIWindow _setRotatableViewOrientation:duration:force:] + 38
21 UIKit 0x32a32cb4 __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 104
22 UIKit 0x329c5db4 -[UIWindow _updateToInterfaceOrientation:duration:force:] + 380
23 UIKit 0x32a39f04 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 692
24 UIKit 0x32a399d0 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 160
25 UIKit 0x329caf90 -[UIWindow addRootViewControllerViewIfPossible] + 460
26 UIKit 0x329c84d6 -[UIWindow _setHidden:forced:] + 302
27 UIKit 0x32a33088 -[UIWindow makeKeyAndVisible] + 56
28 Fly Paradise 0x000fa142 0xa4000 + 352578
29 UIKit 0x32a302fa -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 270
30 UIKit 0x32a2fd4a -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1386
31 UIKit 0x32a2a34e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 710
32 UIKit 0x329c541a -[UIApplication handleEvent:withNewEvent:] + 3126
33 UIKit 0x329c471c -[UIApplication sendEvent:] + 68
34 UIKit 0x32a29b38 _UIApplicationHandleEvent + 660
35 GraphicsServices 0x34e8270a _PurpleEventCallback + 606
36 GraphicsServices 0x34e822f2 PurpleEventCallback + 30
37 CoreFoundation 0x302179dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
38 CoreFoundation 0x30217976 __CFRunLoopDoSource1 + 342
39 CoreFoundation 0x3021614a __CFRunLoopRun + 1394
40 CoreFoundation 0x30180c22 CFRunLoopRunSpecific + 518
41 CoreFoundation 0x30180a06 CFRunLoopRunInMode + 102
42 UIKit 0x32a28dd4 -[UIApplication _run] + 756
43 UIKit 0x32a24044 UIApplicationMain + 1132
44 Fly Paradise 0x000f9c06 0xa4000 + 351238
45 libdyld.dylib 0x3afcbab4 start + 0

Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3b06f83c kevent64 + 24
1 libdispatch.dylib 0x3afb0210 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3afaff96 _dispatch_mgr_thread$VARIANT$mp + 34

Thread 2:
0 libsystem_kernel.dylib 0x3b082c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3b0e8dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3b0e8c80 start_wqthread + 4

Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x3b06fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b06f888 mach_msg + 44
2 CoreFoundation 0x302177be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x30215ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30180c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30180a06 CFRunLoopRunInMode + 102
6 WebCore 0x38370266 RunWebThread(void*) + 414
7 libsystem_pthread.dylib 0x3b0eac1a _pthread_body + 138
8 libsystem_pthread.dylib 0x3b0eab8a _pthread_start + 98
9 libsystem_pthread.dylib 0x3b0e8c8c thread_start + 4

Thread 4:
0 libsystem_kernel.dylib 0x3b06fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b06f888 mach_msg + 44
2 CoreFoundation 0x302177be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x30215ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30180c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30180a06 CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2f203584 GenericRunLoopThread::Entry(void*) + 124
7 libAVFAudio.dylib 0x2f1f799c CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3b0eac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b0eab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b0e8c8c thread_start + 4

Thread 5:
0 libsystem_kernel.dylib 0x3b06fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b06f888 mach_msg + 44
2 AudioToolbox 0x2fc02116 AURemoteIO::IOThread::Run() + 102
3 AudioToolbox 0x2fc05348 AURemoteIO::IOThread::Entry(void*) + 4
4 AudioToolbox 0x2fb42ba8 CAPThread::Entry(CAPThread*) + 208
5 libsystem_pthread.dylib 0x3b0eac1a _pthread_body + 138
6 libsystem_pthread.dylib 0x3b0eab8a _pthread_start + 98
7 libsystem_pthread.dylib 0x3b0e8c8c thread_start + 4

Thread 6:
0 libsystem_kernel.dylib 0x3b06fa8c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b06f888 mach_msg + 44
2 CoreFoundation 0x302177be __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x30215ee4 __CFRunLoopRun + 780
4 CoreFoundation 0x30180c22 CFRunLoopRunSpecific + 518
5 CoreFoundation 0x30180a06 CFRunLoopRunInMode + 102
6 AudioToolbox 0x2fb5c754 GenericRunLoopThread::Entry(void*) + 124
7 AudioToolbox 0x2fb42ba8 CAPThread::Entry(CAPThread*) + 208
8 libsystem_pthread.dylib 0x3b0eac1a _pthread_body + 138
9 libsystem_pthread.dylib 0x3b0eab8a _pthread_start + 98
10 libsystem_pthread.dylib 0x3b0e8c8c thread_start + 4

Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x0000000c r1: 0x00000251 r2: 0x16b2564d r3: 0x0000024d
r4: 0x15dabbb0 r5: 0x15dae4f0 r6: 0x341e8dff r7: 0x27d59028
r8: 0xffffffff r9: 0x15dabfb8 r10: 0x15dabbb0 r11: 0x001ae06c
ip: 0x000fcd69 sp: 0x27d59024 lr: 0x000fcfb9 pc: 0x000fcfdc
cpsr: 0x00000030
<小时/>

如何解决这个问题?会不会是build设置的问题?

谢谢

最佳答案

如果不符号化崩溃日志并查看与崩溃的符号化 carshlog 中出现的方法相关的一些代码,我们就无能为力。

按照常规进行调试(创建异常断点、在模拟器上进行测试、将崩溃日志符号化以获取方法名称而不仅仅是其地址、在崩溃时使用 LLDB/GDB 进行调试等)

关于ios - 在 iphone ios 7.0.4 中,启动应用程序时应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20503352/

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