我正在使用sencha touch 2.3.1和phonegap制作应用。我的应用程序崩溃在ios8上。每次我在iOS 8中打开应用程序时,它会在启动画面后显示黑屏,然后应用程序崩溃。但是当我打开最近的应用时,应用仍然在列表中。有时它会在我按下应用程序图标表格菜单时打开应用程序。
相同的应用在iOS 7上正常运行。
我到处都在研究这个问题,有人说Phonegap并没有完全支持iOS 8,而且iOS 8的部分插件还没有更新。有人说Sencha Touch 2也不支持iOS 8。
这是我在应用程序中使用的列表phonegap插件:
com.phonegap.plugins.PushPlugin
org.apache.cordova.device
org.apache.cordova.dialogs
org.apache.cordova.file
org.apache.cordova.inappbrowser
org.apache.cordova.media
org.apache.cordova.network-information
请帮我解决这个问题。
这是我的崩溃日志。它抛出异常:EXC_BAD_ACCESS(SIGSEGV)
Incident Identifier: D57CDEC3-6F31-40D0-84E8-DBAFD61B015F
CrashReporter Key: 6ab1cf64690b5804d92476585fb118afc35b9a26
Hardware Model: iPhone4,1
Process: xyz [1163]
Path: /private/var/mobile/Containers/Bundle/Application/F81EF27D-391D-43F9-9162-B9AB6A55A5F9/xyz.app/xyz
Identifier: abc
Version: 1.0.6 (1.0.6)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-06-03 14:25:15.200 +0530
Launch Time: 2015-06-03 14:25:12.754 +0530
OS Version: iOS 8.3 (12F70)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x214d502a
Triggered by Thread: 8
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x31c8649c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31c86290 mach_msg + 36
2 CoreFoundation 0x235607ee __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2355edb4 __CFRunLoopRun + 1012
4 CoreFoundation 0x234aa99c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x234aa7ae CFRunLoopRunInMode + 102
6 GraphicsServices 0x2ac831a4 GSEventRunModal + 132
7 UIKit 0x26c35690 UIApplicationMain + 1436
8 HireStorm 0x000ae73e main (main.m:32)
9 libdyld.dylib 0x31bd3aac start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x31c8624c kevent64 + 24
1 libdispatch.dylib 0x31ba64ec _dispatch_mgr_invoke + 276
2 libdispatch.dylib 0x31ba621e _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
Thread 5:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x31c8649c mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31c86290 mach_msg + 36
2 CoreFoundation 0x235607ee __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2355edb4 __CFRunLoopRun + 1012
4 CoreFoundation 0x234aa99c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x234aa7ae CFRunLoopRunInMode + 102
6 CFNetwork 0x23048642 +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x242d9186 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x31d19de8 _pthread_body + 136
9 libsystem_pthread.dylib 0x31d19d5a _pthread_start + 114
10 libsystem_pthread.dylib 0x31d17b04 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
Thread 8 name: WebThread
Thread 8 Crashed:
0 libobjc.A.dylib 0x31637f66 objc_msgSend + 6
1 CoreFoundation 0x2349e67c CFRelease + 592
2 QuartzCore 0x265f0450 CA::release_objects(X::List<void const*>*) + 12
3 QuartzCore 0x265f5b30 -[CAAnimation dealloc] + 52
4 libobjc.A.dylib 0x31645d52 objc_object::sidetable_release(bool) + 162
5 libobjc.A.dylib 0x316461a4 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 400
6 CoreFoundation 0x234aa724 _CFAutoreleasePoolPop + 12
7 Foundation 0x2421a27a -[NSAutoreleasePool drain] + 118
8 CFNetwork 0x230a933c AutoAutoreleasePool::~AutoAutoreleasePool() + 20
9 CFNetwork 0x2308d020 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 160
10 CFNetwork 0x22fe08d6 RunloopBlockContext::_invoke_block(void const*, void*) + 58
11 CoreFoundation 0x234aa40e CFArrayApplyFunction + 34
12 CFNetwork 0x22fe078e RunloopBlockContext::perform() + 178
13 CFNetwork 0x22fe0656 MultiplexerSource::perform() + 214
14 CFNetwork 0x22fe04f0 MultiplexerSource::_perform(void*) + 44
15 CoreFoundation 0x2356122c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
16 CoreFoundation 0x2356063e __CFRunLoopDoSources0 + 218
17 CoreFoundation 0x2355ecbc __CFRunLoopRun + 764
18 CoreFoundation 0x234aa99c CFRunLoopRunSpecific + 472
19 CoreFoundation 0x234aa7ae CFRunLoopRunInMode + 102
20 WebCore 0x2ef3650c RunWebThread(void*) + 412
21 libsystem_pthread.dylib 0x31d19de8 _pthread_body + 136
22 libsystem_pthread.dylib 0x31d19d5a _pthread_start + 114
23 libsystem_pthread.dylib 0x31d17b04 thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x31c9a9c0 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x31d17e20 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x31d17af8 start_wqthread + 4
答案 0 :(得分:0)
崩溃日志有助于确定崩溃的原因。