Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2466

[New Architecture] Crashes on save in iOS

      How frequently does the bug occur?

      Always

      Description

      Recently migrated the app to new architecture and started to get a crash on saving to db with latest Realm (12.0.0.rc.2) and older versions (11.10.1).

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Exception Type:  EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000
      Triggered by Thread:  0
      
      Last Exception Backtrace:
      0   CoreFoundation                	       0x11979b77b __exceptionPreprocess + 226
      1   libobjc.A.dylib               	       0x110e42b73 objc_exception_throw + 48
      2   Foundation                    	       0x1173ef109 -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0
      3   intelexMobile                 	       0x10341be51 -[RCTComponentViewRegistry _enqueueComponentViewWithComponentHandle:componentViewDescriptor:] + 721 (RCTComponentViewRegistry.mm:115)
      4   intelexMobile                 	       0x10341b2cc -[RCTComponentViewRegistry enqueueComponentViewWithComponentHandle:tag:componentViewDescriptor:] + 940 (RCTComponentViewRegistry.mm:70)
      5   intelexMobile                 	       0x10345ea31 RCTPerformMountInstructions(std::__1::vector<facebook::react::ShadowViewMutation, std::__1::allocator<facebook::react::ShadowViewMutation>> const&, RCTComponentViewRegistry*, RCTMountingTransactionObserverCoordinator&, int) + 593 (RCTMountingManager.mm:71)
      6   intelexMobile                 	       0x10345e7cb -[RCTMountingManager performTransaction:]::$_1::operator()(facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) const + 75 (RCTMountingManager.mm:279)
      7   intelexMobile                 	       0x10345e775 decltype(std::declval<-[RCTMountingManager performTransaction:]::$_1&>()(std::declval<facebook::react::MountingTransaction const&>(), std::declval<facebook::react::SurfaceTelemetry const&>())) std::__1::__invoke[abi:v15006]<-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&>(-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) + 37 (invoke.h:394)
      8   intelexMobile                 	       0x10345e725 void std::__1::__invoke_void_return_wrapper<void, true>::__call<-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&>(-[RCTMountingManager performTransaction:]::$_1&, facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) + 37 (invoke.h:480)
      9   intelexMobile                 	       0x10345e6ed std::__1::__function::__alloc_func<-[RCTMountingManager performTransaction:]::$_1, std::__1::allocator<-[RCTMountingManager performTransaction:]::$_1>, void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()[abi:v15006](facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) + 45 (function.h:185)
      10  intelexMobile                 	       0x10345d6e9 std::__1::__function::__func<-[RCTMountingManager performTransaction:]::$_1, std::__1::allocator<-[RCTMountingManager performTransaction:]::$_1>, void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()(facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) + 41 (function.h:359)
      11  intelexMobile                 	       0x103306212 std::__1::__function::__value_func<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()[abi:v15006](facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) const + 66 (function.h:512)
      12  intelexMobile                 	       0x103304c45 std::__1::function<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)>::operator()(facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&) const + 37 (function.h:1197)
      13  intelexMobile                 	       0x103304a59 facebook::react::TelemetryController::pullTransaction(std::__1::function<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)> const&, std::__1::function<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)> const&, std::__1::function<void (facebook::react::MountingTransaction const&, facebook::react::SurfaceTelemetry const&)> const&) const + 377 (TelemetryController.cpp:39)
      14  intelexMobile                 	       0x103458f79 -[RCTMountingManager performTransaction:] + 649 (RCTMountingManager.mm:271)
      15  intelexMobile                 	       0x103458cca -[RCTMountingManager initiateTransaction:] + 394
      16  intelexMobile                 	       0x10345864e __42-[RCTMountingManager scheduleTransaction:]_block_invoke + 350 (RCTMountingManager.mm:213)
      17  intelexMobile                 	       0x10314d75a __RCTExecuteOnMainQueue_block_invoke + 26 (RCTUtils.m:266)
      18  libdispatch.dylib             	       0x116203e40 _dispatch_call_block_and_release + 12
      19  libdispatch.dylib             	       0x1162050d9 _dispatch_client_callout + 8
      20  libdispatch.dylib             	       0x116214b86 _dispatch_main_queue_drain + 1330
      21  libdispatch.dylib             	       0x116214646 _dispatch_main_queue_callback_4CF + 31
      22  CoreFoundation                	       0x1196f96cc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
      23  CoreFoundation                	       0x1196f3fbe __CFRunLoopRun + 2429
      24  CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      25  GraphicsServices              	       0x11d30424e GSEventRunModal + 139
      26  UIKitCore                     	       0x128ae37bf -[UIApplication _run] + 994
      27  UIKitCore                     	       0x128ae85de UIApplicationMain + 123
      28  intelexMobile                 	       0x102c8cca8 main + 104 (main.m:7)
      29  dyld_sim                      	       0x11038f384 start_sim + 10
      30  dyld                          	       0x207f6941f start + 1903
      
      Kernel Triage:
      VM - (arg = 0x0) pmap_enter retried due to resource shortage
      VM - (arg = 0x0) pmap_enter retried due to resource shortage
      VM - (arg = 0x0) pmap_enter retried due to resource shortage
      
      
      Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
      0   <translation info unavailable>	       0x18c823f7c ???
      1   <translation info unavailable>	       0x18c823f7c ???
      2   libsystem_platform.dylib      	       0x118df8603 _sigtramp + 51
      3   libsystem_c.dylib             	       0x11663ee58 abort + 130
      4   libc++abi.dylib               	       0x1104bb5f2 abort_message + 241
      5   libc++abi.dylib               	       0x1104ad7cb demangling_terminate_handler() + 267
      6   libobjc.A.dylib               	       0x110e27182 _objc_terminate() + 96
      7   intelexMobile                 	       0x102c92435 CPPExceptionTerminate() + 277 (BSG_KSCrashSentry_CPPException.mm:137)
      8   libc++abi.dylib               	       0x1104baa4b std::__terminate(void (*)()) + 6
      9   libc++abi.dylib               	       0x1104baa06 std::terminate() + 54
      10  libdispatch.dylib             	       0x1162050ed _dispatch_client_callout + 28
      11  libdispatch.dylib             	       0x116214b86 _dispatch_main_queue_drain + 1330
      12  libdispatch.dylib             	       0x116214646 _dispatch_main_queue_callback_4CF + 31
      13  CoreFoundation                	       0x1196f96cc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
      14  CoreFoundation                	       0x1196f3fbe __CFRunLoopRun + 2429
      15  CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      16  GraphicsServices              	       0x11d30424e GSEventRunModal + 139
      17  UIKitCore                     	       0x128ae37bf -[UIApplication _run] + 994
      18  UIKitCore                     	       0x128ae85de UIApplicationMain + 123
      19  intelexMobile                 	       0x102c8cca8 main + 104 (main.m:7)
      20  dyld_sim                      	       0x11038f384 start_sim + 10
      21  dyld                          	       0x207f6941f start + 1903
      
      Thread 1:: com.apple.rosetta.exceptionserver
      0   ???                           	    0x7ff7ffcde694 ???
      
      Thread 2:: com.apple.uikit.eventfetch-thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   Foundation                    	       0x1174b8c8d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
      9   Foundation                    	       0x1174b8f04 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
      10  UIKitCore                     	       0x128bb7c29 -[UIEventFetcher threadMain] + 521
      11  Foundation                    	       0x1174e23f4 __NSThread__start__ + 1009
      12  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      13  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 3:: KSCrash Exception Handler (Secondary)
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193209d0 thread_suspend + 84
      4   intelexMobile                 	       0x102c92f58 ksmachexc_i_handleExceptions + 136 (BSG_KSCrashSentry_MachException.c:222)
      5   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      6   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 4:: KSCrash Exception Handler (Primary)
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   intelexMobile                 	       0x102c92f96 ksmachexc_i_handleExceptions + 198 (BSG_KSCrashSentry_MachException.c:229)
      6   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      7   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 5:: com.bugsnag.app-hang-detector
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x108bee324 ???
      2   libdispatch.dylib             	       0x11620559d _dispatch_sema4_timedwait + 72
      3   libdispatch.dylib             	       0x116205a1c _dispatch_semaphore_wait_slow + 58
      4   intelexMobile                 	       0x102c9c75d -[BSGAppHangDetector detectAppHangs] + 269 (BSGAppHangDetector.m:133)
      5   intelexMobile                 	       0x102c9c645 DetectAppHangs + 21 (BSGAppHangDetector.m:216)
      6   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      7   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 6:: com.facebook.react.JavaScript
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   intelexMobile                 	       0x103086495 +[RCTCxxBridge runRunLoop] + 949 (RCTCxxBridge.mm:337)
      9   Foundation                    	       0x1174e23f4 __NSThread__start__ + 1009
      10  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      11  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 7:: com.apple.CFStream.LegacyThread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   CoreFoundation                	       0x11971d829 _legacyStreamRunLoop_workThread + 249
      9   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      10  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 8:: com.apple.NSURLConnectionLoader
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   CFNetwork                     	       0x111dac48e 0x111b81000 + 2274446
      9   Foundation                    	       0x1174e23f4 __NSThread__start__ + 1009
      10  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      11  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 9:: com.facebook.SocketRocket.NetworkThread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   Foundation                    	       0x1174b8c8d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
      9   intelexMobile                 	       0x10364e19b -[SRRunLoopThread main] + 267 (SRRunLoopThread.m:70)
      10  Foundation                    	       0x1174e23f4 __NSThread__start__ + 1009
      11  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      12  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 10:: com.apple.CFSocket.private
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x10ad88064 ???
      2   CoreFoundation                	       0x11970ea98 __CFSocketManager + 647
      3   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      4   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 11:: com.apple.CoreMotion.MotionThread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   CoreFoundation                	       0x1196f4234 CFRunLoopRun + 40
      9   CoreMotion                    	       0x116cc970a 0x116b59000 + 1509130
      10  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      11  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 12:: JavaScriptCore libpas scavenger
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114123a57 scavenger_thread_main + 1863
      4   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      5   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 13:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 14:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 15:: JIT Worklist Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 16:: JIT Worklist Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 17:: JIT Worklist Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 18:: Realm notification listener
      0   ???                           	       0x1859c29a8 ???
      1   <translation info unavailable>	       0x18720bf64 ???
      2   intelexMobile                 	       0x10380ea28 realm::_impl::ExternalCommitHelper::listen() + 152
      3   intelexMobile                 	       0x10380ebae void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 46
      4   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      5   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 19:: Realm notification listener
      0   ???                           	       0x1859c29a8 ???
      1   <translation info unavailable>	       0x18720bf64 ???
      2   intelexMobile                 	       0x10380ea28 realm::_impl::ExternalCommitHelper::listen() + 152
      3   intelexMobile                 	       0x10380ebae void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 46
      4   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      5   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 20:: JSC Heap Collector Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 21:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 22:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 23:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 24:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 25:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 26:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 27:: Heap Helper Thread
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x109d1452c ???
      2   libsystem_pthread.dylib       	       0x11936c758 _pthread_cond_wait + 1242
      3   JavaScriptCore                	       0x114060644 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2532
      4   JavaScriptCore                	       0x114022a6b WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 507
      5   JavaScriptCore                	       0x114084a2c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 348
      6   JavaScriptCore                	       0x114087349 WTF::wtfThreadEntryPoint(void*) + 9
      7   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      8   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 28:: Realm notification listener
      0   ???                           	       0x1859c29a8 ???
      1   <translation info unavailable>	       0x18720bf64 ???
      2   intelexMobile                 	       0x10380ea28 realm::_impl::ExternalCommitHelper::listen() + 152
      3   intelexMobile                 	       0x10380ebae void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&)::$_0>>(void*) + 46
      4   libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      5   libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      Thread 29:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 30:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 31:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 32:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 33:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 34:
      0   ???                           	    0x7ff7ffcfc87c ???
      
      Thread 35:: com.google.Maps.LabelingBehavior
      0   ???                           	       0x107d909a8 ???
      1   <translation info unavailable>	       0x107e66584 ???
      2   libsystem_kernel.dylib        	       0x11930972d mach_msg2_internal + 78
      3   libsystem_kernel.dylib        	       0x1193025e4 mach_msg_overwrite + 692
      4   libsystem_kernel.dylib        	       0x1192fb89a mach_msg + 19
      5   CoreFoundation                	       0x1196f9437 __CFRunLoopServiceMachPort + 145
      6   CoreFoundation                	       0x1196f3b7b __CFRunLoopRun + 1338
      7   CoreFoundation                	       0x1196f3264 CFRunLoopRunSpecific + 560
      8   Foundation                    	       0x1174b8c8d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
      9   intelexMobile                 	       0x1040c5628 -[GMSx_GTMSimpleWorkerThread main] + 151
      10  Foundation                    	       0x1174e23f4 __NSThread__start__ + 1009
      11  libsystem_pthread.dylib       	       0x11936c1d3 _pthread_start + 125
      12  libsystem_pthread.dylib       	       0x119367bd3 thread_start + 15
      
      
      Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x0000000000000000  rbx: 0x000000020800b280  rcx: 0x0000000000000000  rdx: 0x0000000000000000
        rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x000000030ece5a50  rsp: 0x000000030ece5a28
         r8: 0x000000030ece58f0   r9: 0x00000001104be85d  r10: 0x0000000000000000  r11: 0xffffffffffffffff
        r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
        rip: <unavailable>       rfl: 0x0000000000000242
       tmp0: 0xffffffffffffffff tmp1: 0x00000001859c297c tmp2: 0x0000000180368860
      

      Can you reproduce the bug?

      Always

      Reproduction Steps

      Use Realm with New Architecture and try to save a record.

      Version

      12.0.0.rc.2

      What services are you using?

      Local Database only

      Are you using encryption?

      Yes

      Platform OS and version(s)

      iOS 16.4

      Build environment

      Xcode version: 14.3
      Dependency manager and version: Yarn, 1:22.19

      Cocoapods version

      1.12.1

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: