SIGSEGV 'SEGV_MAPERR' crashes inside my application, which is in the Apple store

My app is in the app store, and I have included critticism inside my app. After the failure message:

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 

Is there any way out to solve this problem? Also, I cannot reproduce this failure by enabling Zoombie or malloc guard .

+5
source share
1 answer

You tried to run it in release mode (by default, debugging → hold the name of your application in the upper left corner of xCode, select the editing scheme, select the launch tab, change the build configuration for release, do not forget to switch it back for debugging later).

It seems like a problem with replacing the default keyboard with another one. Open the AppStore, download a custom keyboard (for example, Swype, it is popular, so there is a chance that it will crash on it) and try changing it in your application.

+1
source

Source: https://habr.com/ru/post/1211746/


All Articles