SIGSEGV 'SEGV_MAPERR' 在我的苹果商店应用程序中崩溃

SIGSEGV 'SEGV_MAPERR' crash inside my app that is on apple store

我的应用程序在应用程序商店中,我在我的应用程序中启用了批评。以下崩溃报告:

Threads
_________________________________
Thread: Unknown Name (Crashed)
0     libobjc.A.dylib                       0x00000001973f7bdc objc_msgSend + 28
1     UIKit                                 0x000000018b59952c -[UIKeyboardImpl centerFilled] + 88
2     UIKit                                 0x000000018b90eb00 -[UIKBBackgroundView refreshStyleForKeyplane:inputTraits:] + 300
3     UIKit                                 0x000000018b599284 -[UIKeyboardLayoutStar updateBackgroundIfNeeded] + 384
4     UIKit                                 0x000000018b591cc4 -[UIKeyboardLayoutStar setKeyplaneName:] + 2672
5     UIKit                                 0x000000018b4d2f7c -[UIKeyboardLayoutStar setShift:] + 180
6     UIKit                                 0x000000018b4d2ca8 -[UIKeyboardImpl notifyShiftState] + 84
7     CoreFoundation                        0x0000000186c92a50 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
8     CoreFoundation                        0x0000000186c8f9dc __CFRunLoopDoObservers + 356
9     CoreFoundation                        0x0000000186c8fd24 __CFRunLoopRun + 680
10   CoreFoundation                         0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
11   GraphicsServices                       0x000000018fd675a4 GSEventRunModal + 164
12   UIKit                                  0x000000018b4f23c0 UIApplicationMain + 1484
13   Eventi                                 0x00000001000e6e80 main (main.m:16)
14   libdyld.dylib                          0x0000000197a52a08 start + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b50c94 kevent64 + 8
1     libdispatch.dylib                     0x0000000197a2b3b4 _dispatch_mgr_thread + 48

Thread: Unknown Name
0     Eventi                                0x000000010034bce0 mach_exception_callback + 188
1     Eventi                                0x0000000100358054 exception_server_thread + 304
2     libsystem_pthread.dylib               0x0000000197c07e80 _pthread_body + 160
3     libsystem_pthread.dylib               0x0000000197c07ddc _pthread_start + 156
4     libsystem_pthread.dylib               0x0000000197c04fb0 thread_start + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b50e7c mach_msg_trap + 8
1     CoreFoundation                        0x0000000186c91ed0 __CFRunLoopServiceMachPort + 196
2     CoreFoundation                        0x0000000186c8fe24 __CFRunLoopRun + 936
3     CoreFoundation                        0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
4     CFNetwork                             0x00000001866c24e8 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
5     Foundation                            0x0000000187badc0c __NSThread__main__ + 1068
6     libsystem_pthread.dylib               0x0000000197c07e80 _pthread_body + 160
7     libsystem_pthread.dylib               0x0000000197c07ddc _pthread_start + 156
8     libsystem_pthread.dylib               0x0000000197c04fb0 thread_start + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b6b498 __select + 8
1     libsystem_pthread.dylib               0x0000000197c07e80 _pthread_body + 160
2     libsystem_pthread.dylib               0x0000000197c07ddc _pthread_start + 156
3     libsystem_pthread.dylib               0x0000000197c04fb0 thread_start + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b50e7c mach_msg_trap + 8
1     CoreFoundation                        0x0000000186c91ed0 __CFRunLoopServiceMachPort + 196
2     CoreFoundation                        0x0000000186c8fe24 __CFRunLoopRun + 936
3     CoreFoundation                        0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
4     Foundation                            0x0000000187ac5804 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 312
5     Foundation                            0x0000000187b1fef8 -[NSRunLoop(NSRunLoop) run] + 92
6     Eventi                                0x00000001000c7470 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:162)
7     Foundation                            0x0000000187badc0c __NSThread__main__ + 1068
8     libsystem_pthread.dylib               0x0000000197c07e80 _pthread_body + 160
9     libsystem_pthread.dylib               0x0000000197c07ddc _pthread_start + 156
10   libsystem_pthread.dylib                0x0000000197c04fb0 thread_start + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b6bc78 __workq_kernreturn + 8
1     libsystem_pthread.dylib               0x0000000197c04fa8 start_wqthread + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b6bc78 __workq_kernreturn + 8
1     libsystem_pthread.dylib               0x0000000197c04fa8 start_wqthread + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b6bc78 __workq_kernreturn + 8
1     libsystem_pthread.dylib               0x0000000197c04fa8 start_wqthread + 0

Thread: Unknown Name
0     libsystem_kernel.dylib                0x0000000197b6bc78 __workq_kernreturn + 8
1     libsystem_pthread.dylib               0x0000000197c04fa8 start_wqthread + 0

有什么办法可以解决这个崩溃问题吗?此外,我无法通过启用 Zoombiemalloc guard.

来重现此崩溃

您是否尝试过 运行 发布模式(默认为调试 -> 在左上角 xCode 按住您的应用程序名称,select 编辑方案,select 运行 选项卡,将构建配置更改为发布,不要忘记稍后将其切换回调试)。

将默认键盘更改为其他键盘似乎是个问题。打开 AppStore,下载自定义键盘(例如 Swype,它很受欢迎,所以很可能会在上面崩溃)并尝试在您的应用程序中更改它。