Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-2418

N5realm18MultipleSyncAgentsE crash on start

      How frequently does the bug occur?

      Sometimes

      Description

      Hello, we've updated realm-swift from v10.49.2 to v10.52.1, and our users now encounter a new crash during application start. It's reported as N5realm18MultipleSyncAgentsE. It seems similar to this one we've also seen on realm-kotlin: https://github.com/realm/realm-kotlin/issues/1781
      Here's a simplified version of our startup code:

      var config = getRealmConfig()
      DispatchQueue.global(qos: .userInitiated).async {
          var error: Error?
          // I've tried to add this autorelease pool to force this background realm to close before we start working with it from the UI
          autoreleasepool {
              do {
                  let realm = try RLMRealm(configuration: config)
                  TrackDataManager.manager.importNewTracks(realm)
              } catch let realmError {
                  error = realmError
                  // report error
              }
          }
          
          DispatchQueue.main.async {
              RLMRealmConfiguration.setDefault(config)
              // Now we're ready to init app UI.
              completion(error)
          }
      }
      

      Sometimes it takes some time to open Realm for the first time during app startup, which is why we've moved initialization to a background queue. Once it's finished, we initialize the app UI.
      I believe that this crash happens because one instance of RLMRealm is being deleted and another one opens the same database at the same time.

      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
      
      

      Incident Identifier: B22AB0B3-EAD1-47F2-8812-614C6AB4E569
      Distributor ID: com.apple.AppStore
      Hardware Model: iPhone14,2
      Process: Guru [2388]
      Path: /private/var/containers/Bundle/Application/6361A831-C515-46F2-88FF-BD09487CBB7F/Guru.app/Guru
      Identifier: com.bodunov.galileo
      Version: 5.6.0 (9332)
      AppStoreTools: 15F31e
      AppVariant: 1:iPhone14,2:15
      Code Type: ARM-64 (Native)
      Role: Foreground
      Parent Process: launchd [1]
      Coalition: com.bodunov.galileo [1144]

      Date/Time: 2024-08-01 00:12:22.4792 +0800
      Launch Time: 2024-07-31 23:54:58.1491 +0800
      OS Version: iPhone OS 17.5.1 (21F90)
      Release Type: User
      Baseband Version: 3.50.04
      Report Version: 104

      Exception Type: EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000
      Termination Reason: SIGNAL 6 Abort trap: 6
      Terminating Process: Guru [2388]

      Triggered by Thread: 12

      Thread 0 name:
      Thread 0 name:
      Thread 0:
      0 libsystem_kernel.dylib 0x00000001de2cc808 mach_msg2_trap + 8 (:-1)
      1 libsystem_kernel.dylib 0x00000001de2d0008 mach_msg2_internal + 80 (mach_msg.c:201)
      2 libsystem_kernel.dylib 0x00000001de2cff20 mach_msg_overwrite + 436 (mach_msg.c:0)
      3 libsystem_kernel.dylib 0x00000001de2cfd60 mach_msg + 24 (mach_msg.c:323)
      4 CoreFoundation 0x00000001951ecf5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
      5 CoreFoundation 0x00000001951ec600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
      6 CoreFoundation 0x00000001951ebcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
      7 GraphicsServices 0x00000001da09c1a8 GSEventRunModal + 164 (GSEvent.c:2196)
      8 UIKitCore 0x000000019782490c -[UIApplication _run] + 888 (UIApplication.m:3713)
      9 UIKitCore 0x00000001978d89d0 UIApplicationMain + 340 (UIApplication.m:5303)
      10 Guru 0x00000001000ad9d0 main + 64 (AppDelegate.swift:16)
      11 dyld 0x00000001b889de4c start + 2240 (dyldMain.cpp:1298)

      Thread 1:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 2:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 3:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 4:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 5 name:
      Thread 5:
      0 libsystem_kernel.dylib 0x00000001de2cc808 mach_msg2_trap + 8 (:-1)
      1 libsystem_kernel.dylib 0x00000001de2d0008 mach_msg2_internal + 80 (mach_msg.c:201)
      2 libsystem_kernel.dylib 0x00000001de2cff20 mach_msg_overwrite + 436 (mach_msg.c:0)
      3 libsystem_kernel.dylib 0x00000001de2cfd60 mach_msg + 24 (mach_msg.c:323)
      4 CoreFoundation 0x00000001951ecf5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
      5 CoreFoundation 0x00000001951ec600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
      6 CoreFoundation 0x00000001951ebcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
      7 Foundation 0x000000019410ce4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
      8 Foundation 0x000000019410cc9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
      9 UIKitCore 0x0000000197838640 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)
      10 Foundation 0x0000000194123718 _NSThreadstart_ + 732 (NSThread.m:991)
      11 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      12 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 6:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 7:
      0 libsystem_pthread.dylib 0x00000001f20700c4 start_wqthread + 0 (:-1)

      Thread 8:
      0 libsystem_kernel.dylib 0x00000001de2d23ec __semwait_signal + 8 (:-1)
      1 libsystem_c.dylib 0x000000019d11b5f0 nanosleep + 220 (nanosleep.c:104)
      2 libsystem_c.dylib 0x000000019d17872c sleep + 52 (sleep.c:62)
      3 Guru 0x000000010036b018 monitorCachedData + 676 (SentryCrashCachedData.c:145)
      4 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      5 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 9 name:
      Thread 9:
      0 libsystem_kernel.dylib 0x00000001de2cc808 mach_msg2_trap + 8 (:-1)
      1 libsystem_kernel.dylib 0x00000001de2d0008 mach_msg2_internal + 80 (mach_msg.c:201)
      2 libsystem_kernel.dylib 0x00000001de2cdd78 thread_suspend + 112 (thread_actUser.c:1036)
      3 Guru 0x0000000100366fec handleExceptions + 128 (SentryCrashMonitor_MachException.c:306)
      4 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      5 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 10 name:
      Thread 10:
      0 libsystem_kernel.dylib 0x00000001de2cc808 mach_msg2_trap + 8 (:-1)
      1 libsystem_kernel.dylib 0x00000001de2d0008 mach_msg2_internal + 80 (mach_msg.c:201)
      2 libsystem_kernel.dylib 0x00000001de2cff20 mach_msg_overwrite + 436 (mach_msg.c:0)
      3 libsystem_kernel.dylib 0x00000001de2cfd60 mach_msg + 24 (mach_msg.c:323)
      4 Guru 0x0000000100367018 handleExceptions + 172 (SentryCrashMonitor_MachException.c:314)
      5 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      6 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 11 name:
      Thread 11:
      0 libsystem_kernel.dylib 0x00000001de2d23ec __semwait_signal + 8 (:-1)
      1 libsystem_c.dylib 0x000000019d11b5f0 nanosleep + 220 (nanosleep.c:104)
      2 Foundation 0x000000019425f714 +[NSThread sleepForTimeInterval:] + 160 (NSThread.m:527)
      3 Guru 0x00000001002f91c4 -[SentryANRTracker detectANRs] + 560 (SentryANRTracker.m:105)
      4 Foundation 0x0000000194123718 _NSThreadstart_ + 732 (NSThread.m:991)
      5 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      6 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 12 Crashed:
      0 libsystem_kernel.dylib 0x00000001de2d742c __pthread_kill + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f2076c0c pthread_kill + 268 (pthread.c:1721)
      2 libsystem_c.dylib 0x000000019d17aba0 abort + 180 (abort.c:118)
      3 libc++abi.dylib 0x00000001f1f94ca4 abort_message + 132 (abort_message.cpp:78)
      4 libc++abi.dylib 0x00000001f1f94074 std::__terminate(void ()) + 28 (cxa_handlers.cpp:61)
      5 libc++abi.dylib 0x00000001f1f9735c _cxxabiv1::failed_throw(cxxabiv1::_cxa_exception*) + 88 (cxa_exception.cpp:152)
      6 libc++abi.dylib 0x00000001f1f972a0 __cxa_throw + 308 (cxa_exception.cpp:283)
      7 Realm 0x0000000101724c28 realm::DB::claim_sync_agent() + 244
      8 Realm 0x00000001018c6fe0 realm::sync::SessionWrapper::actualize() + 108
      9 Realm 0x00000001018c6b2c realm::sync::ClientImpl::actualize_and_finalize_session_wrappers() + 144
      10 Realm 0x000000010191b738 realm::util::UniqueFunction<void (realm::Status)>::SpecificImpl<realm::sync::ClientImpl::ClientImpl(realm::sync::ClientConfig)::$_0>::call(realm::Status&&) + 104
      11 Realm 0x00000001018ceed0 realm::sync::Trigger<realm::sync::ClientImpl>::trigger()::'lambda'(realm::Status)::operator()(realm::Status) const + 144
      12 Realm 0x00000001018cede4 realm::util::UniqueFunction<void (realm::Status)>::SpecificImpl<realm::sync::Trigger<realm::sync::ClientImpl>::trigger()::'lambda'(realm::Status)>::call(realm::Status&&) + 40
      13 Realm 0x000000010191b8c4 realm::util::UniqueFunction<void (realm::Status)>::SpecificImpl<realm::sync::ClientImpl::post(realm::util::UniqueFunction<void (realm::Status)>&&)::$_1>::call(realm::Status&&) + 92
      14 Realm 0x00000001018e7e5c realm::sync::network::Service::PostOper<realm::util::UniqueFunction<void (realm::Status)>>::recycle_and_execute() + 60
      15 Realm 0x00000001018f6aa8 realm::sync::network::Service::Impl::run_impl(bool) + 388
      16 Realm 0x00000001018e6f44 realm::sync::websocket::DefaultSocketProvider::event_loop() + 212
      17 Realm 0x00000001018e8fe0 void* std::_1::thread_proxy[abi:v160006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::_thread_struct>>, void (realm::sync::websocket::Defau... + 72
      18 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      19 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 13 name:
      Thread 13:
      0 libsystem_kernel.dylib 0x00000001de2d3608 kevent + 8 (:-1)
      1 Realm 0x000000010197b68c realm::_impl::ExternalCommitHelper::listen() + 156
      2 Realm 0x000000010197b7e0 void* std::_1::thread_proxy[abi:v160006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::_thread_struct>>, realm::_impl::ExternalCommitHelper:... + 56
      3 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      4 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 14 name:
      Thread 14:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 15 name:
      Thread 15:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 16 name:
      Thread 16:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 17 name:
      Thread 17:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 18 name:
      Thread 18:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 19 name:
      Thread 19:
      0 libsystem_kernel.dylib 0x00000001de2d21cc __psynch_cvwait + 8 (:-1)
      1 libsystem_pthread.dylib 0x00000001f20726e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
      2 libc++.1.dylib 0x00000001a55d2504 std::_1::condition_variable::wait(std::1::unique_lock<std::_1::mutex>&) + 28 (condition_variable.cpp:45)
      3 GLMapCore 0x0000000102bc63f8 void std::_1::condition_variable::wait<OperationQueue::worker(OperationContext*)::$_1>(std::1::unique_lock<std::_1::mutex>&, OperationQueue::worker(OperationContext*)::$_1) + 36 (condition_variable.h:148)
      4 GLMapCore 0x0000000102bc63f8 OperationQueue::worker(OperationContext*) + 152 (OperationQueue.cpp:144)
      5 GLMapCore 0x0000000102bc6c10 OperationQueue::createThreads()::$_0::operator()(OperationContext*) const + 168 (OperationQueue.cpp:59)
      6 GLMapCore 0x0000000102bc6c10 decltype(std::declval<OperationQueue::createThreads()::$0&>()(std::declval<OperationContext*>())) std::1::_invoke[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(Operati... + 176 (invoke.h:340)
      7 GLMapCore 0x0000000102bc6c10 void std::_1::invoke_void_return_wrapper<void, true>::_call[abi:ue170006]<OperationQueue::createThreads()::$_0&, OperationContext*>(OperationQueue::createThreads()::$_0&, OperationContext*&&) + 176 (invoke.h:415)
      8 GLMapCore 0x0000000102bc6c10 std::_1::function::alloc_func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()[abi:ue170006](OperationCont... + 176 (function.h:193)
      9 GLMapCore 0x0000000102bc6c10 std::_1::function::func<OperationQueue::createThreads()::$_0, std::_1::allocator<OperationQueue::createThreads()::$_0>, void (OperationContext*)>::operator()(OperationContext*&&) + 208 (function.h:364)
      10 GLMapCore 0x0000000102bc67dc std::_1::function::_value_func<void (OperationContext*)>::operator()[abi:ue170006](OperationContext*&&) const + 20 (function.h:518)
      11 GLMapCore 0x0000000102bc67dc std::__1::function<void (OperationContext*)>::operator()(OperationContext*) const + 20 (function.h:1169)
      12 GLMapCore 0x0000000102bc67dc decltype(std::declval<std::_1::function<void (OperationContext*)>>()(std::declval<OperationContext*>())) std::1::invoke[abi:ue170006]<std::_1::function<void (OperationContext*)>, OperationCon... + 28 (invoke.h:340)
      13 GLMapCore 0x0000000102bc67dc void std::_1::thread_execute[abi:ue170006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (OperationContext*)>, Ope... + 28 (thread.h:227)
      14 GLMapCore 0x0000000102bc67dc void* std::_1::thread_proxy[abi:ue170006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete<std::1::thread_struct>>, std::_1::function<void (Operation... + 72 (thread.h:238)
      15 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      16 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 20 name:
      Thread 20:
      0 libsystem_kernel.dylib 0x00000001de2cc808 mach_msg2_trap + 8 (:-1)
      1 libsystem_kernel.dylib 0x00000001de2d0008 mach_msg2_internal + 80 (mach_msg.c:201)
      2 libsystem_kernel.dylib 0x00000001de2cff20 mach_msg_overwrite + 436 (mach_msg.c:0)
      3 libsystem_kernel.dylib 0x00000001de2cfd60 mach_msg + 24 (mach_msg.c:323)
      4 CoreFoundation 0x00000001951ecf5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
      5 CoreFoundation 0x00000001951ec600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
      6 CoreFoundation 0x00000001951ebcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
      7 CFNetwork 0x00000001963ccc90 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1473)
      8 Foundation 0x0000000194123718 _NSThreadstart_ + 732 (NSThread.m:991)
      9 libsystem_pthread.dylib 0x00000001f207506c _pthread_start + 136 (pthread.c:931)
      10 libsystem_pthread.dylib 0x00000001f20700d8 thread_start + 8 (:-1)

      Thread 21:
      0 libsystem_kernel.dylib 0x00000001de2d3608 kevent + 8 (:-1)
      1 libsystem_info.dylib 0x00000001a55a3e18 _mdns_search_ex + 1148 (mdns_module.c:1923)
      2 libsystem_info.dylib 0x00000001a55a3854 mdns_addrinfo + 360 (mdns_module.c:811)
      3 libsystem_info.dylib 0x00000001a

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

              Created:
              Updated: