iOS App Crash Due to Non-Existent Function Call in MendixEncryptedStorageModule

0
Hello Everyone, We are facing a critical issue in our iOS application where the app crashes due to an error related to the MendixEncryptedStorageModule. The crash seems to be occurring due to a call to a non-existent function on some class within the MendixEncryptedStorageModule.m file. The crash log indicates the following: Exception Reason: -[%s %s]: unrecognized selector sent to instance 0x303475170This crash seems to be caused by calling a method that doesn't exist on the object, or the object itself may have been destroyed or released. The specific crash report highlights the issue as coming from: File: MendixEncryptedStorageModule.mLine: 93Method: -[MendixEncryptedStorageModule getItem:resolver:rejecter:] PFA Log:   Exception Type:  EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Reason: -[%s %s]: unrecognized selector sent to instance 0x302533550Termination Reason: SIGNAL 6 Abort trap: 6Terminating Process: Boubyan Takaful [3382] Triggered by Thread:  5 Last Exception Backtrace:0   CoreFoundation                    0x192960f20 __exceptionPreprocess + 164 (NSException.m:249)1   libobjc.A.dylib                   0x18a8072b8 objc_exception_throw + 60 (objc-exception.mm:356)2   CoreFoundation                    0x192a6a480 -[NSObject(NSObject) doesNotRecognizeSelector:] + 344 (NSObject.m:161)3   CoreFoundation                    0x1928fdfb4 ___forwarding___ + 1572 (NSForwarding.m:3612)4   CoreFoundation                    0x1928fd8d0 _CF_forwarding_prep_0 + 96 (:-1)5   Boubyan Takaful                   0x102bbd66c -[MendixEncryptedStorageModule getItem:resolver:rejecter:] + 456 (MendixEncryptedStorageModule.m:93)6   CoreFoundation                    0x1928fd814 __invoking___ + 148 (:-1)7   CoreFoundation                    0x1928fc860 -[NSInvocation invoke] + 428 (NSForwarding.m:3411)8   CoreFoundation                    0x1929731dc -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3508)9   Boubyan Takaful                   0x102899b64 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 388 (RCTModuleMethod.mm:584)10  Boubyan Takaful                   0x10289bb48 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 452 (RCTNativeModule.mm:183)11  Boubyan Takaful                   0x10289b798 facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 68 (RCTNativeModule.mm:104)12  Boubyan Takaful                   0x10289b798 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 112 (RCTNativeModule.mm:95)13  libdispatch.dylib                 0x19a80513c _dispatch_call_block_and_release + 32 (init.c:1530)14  libdispatch.dylib                 0x19a806dd4 _dispatch_client_callout + 20 (object.m:576)15  libdispatch.dylib                 0x19a80e400 _dispatch_lane_serial_drain + 748 (queue.c:3900)16  libdispatch.dylib                 0x19a80ef30 _dispatch_lane_invoke + 380 (queue.c:3991)17  libdispatch.dylib                 0x19a819cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)18  libdispatch.dylib                 0x19a819528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)19  libsystem_pthread.dylib           0x1ef3b0934 _pthread_wqthread + 288 (pthread.c:2696)20  libsystem_pthread.dylib           0x1ef3ad0cc start_wqthread + 8 (:-1) Thread 0 name:Thread 0:0   libsystem_kernel.dylib            0x00000001db5b56c8 mach_msg2_trap + 8 (:-1)1   libsystem_kernel.dylib            0x00000001db5b8ec8 mach_msg2_internal + 80 (mach_msg.c:201)2   libsystem_kernel.dylib            0x00000001db5b8de0 mach_msg_overwrite + 436 (mach_msg.c:0)3   libsystem_kernel.dylib            0x00000001db5b8c20 mach_msg + 24 (mach_msg.c:323)4   CoreFoundation                    0x0000000192930f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)5   CoreFoundation                    0x0000000192930600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)6   CoreFoundation                    0x000000019292fcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)7   GraphicsServices                  0x00000001d737d1a8 GSEventRunModal + 164 (GSEvent.c:2196)8   UIKitCore                         0x0000000194f69ae8 -[UIApplication _run] + 888 (UIApplication.m:3713)9   UIKitCore                         0x000000019501dd98 UIApplicationMain + 340 (UIApplication.m:5303)10  Boubyan Takaful                   0x00000001026f8204 main + 80 (main.m:7)11  dyld                              0x00000001b6107154 start + 2356 (dyldMain.cpp:1298) Thread 1:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 2:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 3:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 4:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 5 name:Thread 5 Crashed:0   libsystem_kernel.dylib            0x00000001db5c02ec __pthread_kill + 8 (:-1)1   libsystem_pthread.dylib           0x00000001ef3b3c0c pthread_kill + 268 (pthread.c:1721)2   libsystem_c.dylib                 0x000000019a8bfc34 __abort + 136 (abort.c:159)3   libsystem_c.dylib                 0x000000019a8bfbac abort + 192 (abort.c:126)4   libc++abi.dylib                   0x00000001ef2d0ca4 abort_message + 132 (abort_message.cpp:78)5   libc++abi.dylib                   0x00000001ef2c0e5c demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)6   libobjc.A.dylib                   0x000000018a82314c _objc_terminate() + 144 (objc-exception.mm:496)7   Boubyan Takaful                   0x00000001027396b8 FIRCLSTerminateHandler() + 340 (FIRCLSException.mm:452)8   libc++abi.dylib                   0x00000001ef2d0068 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)9   libc++abi.dylib                   0x00000001ef2d000c std::terminate() + 108 (cxa_handlers.cpp:88)10  libdispatch.dylib                 0x000000019a806de8 _dispatch_client_callout + 40 (object.m:579)11  libdispatch.dylib                 0x000000019a80e400 _dispatch_lane_serial_drain + 748 (queue.c:3900)12  libdispatch.dylib                 0x000000019a80ef30 _dispatch_lane_invoke + 380 (queue.c:3991)13  libdispatch.dylib                 0x000000019a819cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)14  libdispatch.dylib                 0x000000019a819528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)15  libsystem_pthread.dylib           0x00000001ef3b0934 _pthread_wqthread + 288 (pthread.c:2696)16  libsystem_pthread.dylib           0x00000001ef3ad0cc start_wqthread + 8 (:-1) Thread 6:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 7:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 8 name:Thread 8:0   libsystem_kernel.dylib            0x00000001db5b56c8 mach_msg2_trap + 8 (:-1)1   libsystem_kernel.dylib            0x00000001db5b8ec8 mach_msg2_internal + 80 (mach_msg.c:201)2   libsystem_kernel.dylib            0x00000001db5b8de0 mach_msg_overwrite + 436 (mach_msg.c:0)3   libsystem_kernel.dylib            0x00000001db5b8c20 mach_msg + 24 (mach_msg.c:323)4   CoreFoundation                    0x0000000192930f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)5   CoreFoundation                    0x0000000192930600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)6   CoreFoundation                    0x000000019292fcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)7   Foundation                        0x0000000191850b5c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)8   Foundation                        0x00000001918509ac -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)9   UIKitCore                         0x0000000194f7d81c -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)10  Foundation                        0x0000000191867428 __NSThread__start__ + 732 (NSThread.m:991)11  libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)12  libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 9 name:Thread 9:0   libsystem_kernel.dylib            0x00000001db5b56c8 mach_msg2_trap + 8 (:-1)1   libsystem_kernel.dylib            0x00000001db5b8ec8 mach_msg2_internal + 80 (mach_msg.c:201)2   libsystem_kernel.dylib            0x00000001db5b8de0 mach_msg_overwrite + 436 (mach_msg.c:0)3   libsystem_kernel.dylib            0x00000001db5b8c20 mach_msg + 24 (mach_msg.c:323)4   CoreFoundation                    0x0000000192930f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)5   CoreFoundation                    0x0000000192930600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)6   CoreFoundation                    0x000000019292fcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)7   CoreFoundation                    0x000000019299df04 CFRunLoopRun + 64 (CFRunLoop.c:3446)8   CoreMotion                        0x000000019f644e3c CLMotionCore::runMotionThread(void*) + 1292 (CLMotionCore.mm:376)9   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)10  libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 10 name:Thread 10:0   libsystem_kernel.dylib            0x00000001db5b56c8 mach_msg2_trap + 8 (:-1)1   libsystem_kernel.dylib            0x00000001db5b8ec8 mach_msg2_internal + 80 (mach_msg.c:201)2   libsystem_kernel.dylib            0x00000001db5b8de0 mach_msg_overwrite + 436 (mach_msg.c:0)3   libsystem_kernel.dylib            0x00000001db5b8c20 mach_msg + 24 (mach_msg.c:323)4   Boubyan Takaful                   0x0000000102742010 FIRCLSMachExceptionReadMessage + 56 (FIRCLSMachException.c:192)5   Boubyan Takaful                   0x0000000102742010 FIRCLSMachExceptionServer + 104 (FIRCLSMachException.c:168)6   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)7   libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 11:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 12 name:Thread 12:0   libsystem_kernel.dylib            0x00000001db5b56c8 mach_msg2_trap + 8 (:-1)1   libsystem_kernel.dylib            0x00000001db5b8ec8 mach_msg2_internal + 80 (mach_msg.c:201)2   libsystem_kernel.dylib            0x00000001db5b8de0 mach_msg_overwrite + 436 (mach_msg.c:0)3   libsystem_kernel.dylib            0x00000001db5b8c20 mach_msg + 24 (mach_msg.c:323)4   CoreFoundation                    0x0000000192930f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)5   CoreFoundation                    0x0000000192930600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)6   CoreFoundation                    0x000000019292fcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)7   Boubyan Takaful                   0x000000010287cc84 +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:335)8   Foundation                        0x0000000191867428 __NSThread__start__ + 732 (NSThread.m:991)9   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)10  libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 13:0   libsystem_pthread.dylib           0x00000001ef3ad0c4 start_wqthread + 0 (:-1) Thread 14 name:Thread 14:0   JavaScriptCore                    0x00000001a9fc4688 bmalloc_small_segregated_page_config_specialized_local_allocator_return_memory_to_page + 4464 (bmalloc_heap_config.c:43)1   JavaScriptCore                    0x00000001a9ff4300 pas_local_allocator_stop + 596 (pas_local_allocator.c:279)2   JavaScriptCore                    0x00000001aa0145b8 stop_allocator + 280 (pas_thread_local_cache.c:1023)3   JavaScriptCore                    0x00000001aa0137fc pas_thread_local_cache_for_all + 668 (pas_thread_local_cache.c:1160)4   JavaScriptCore                    0x00000001a9ffbf14 scavenger_thread_main + 600 (pas_scavenger.c:246)5   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)6   libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 15 name:Thread 15:0   libsystem_kernel.dylib            0x00000001db5bd334 __select + 8 (:-1)1   CoreFoundation                    0x000000019299bb7c __CFSocketManager + 640 (CFSocket.c:1340)2   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)3   libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1) Thread 16 name:Thread 16:0   libsystem_kernel.dylib            0x00000001db5bb08c __psynch_cvwait + 8 (:-1)1   libsystem_pthread.dylib           0x00000001ef3af6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)2   JavaScriptCore                    0x00000001a8b17cc4 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 240 (ThreadingPOSIX.cpp:680)3   JavaScriptCore                    0x00000001a8ae89ac WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2072 (ParkingLot.cpp:595)4   JavaScriptCore                    0x00000001a8a9ff80 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460 (Function.h:53)5   JavaScriptCore                    0x00000001a8b14f10 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Threading.cpp:258)6   JavaScriptCore                    0x00000001a8b173b0 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:243)7   libsystem_pthread.dylib           0x00000001ef3b206c _pthread_start + 136 (pthread.c:931)8   libsystem_pthread.dylib           0x00000001ef3ad0d8 thread_start + 8 (:-1)   Kindly help us to resolve this issue Thanks in Advance  
asked
2 answers
0

Hi Palanivel,

 

As per Apple Forum please find below,

image.png

Hope it helps!

Thanks & Regards,

Manikandan K

answered
0

Any updates on this issue?

answered