Сбой: com.example.RealmQueue SIGABRT ABORT 0x00000001c823e7b0IOS

Программируем под IOS
Ответить Пред. темаСлед. тема
Anonymous
 Сбой: com.example.RealmQueue SIGABRT ABORT 0x00000001c823e7b0

Сообщение Anonymous »


Firebase title: realm::util::terminate(char const*, char const*, long, std::initializer_listrealm::util::Printable&&) SIGABRT (ABORT)

This bug happens in production and it's a big problem for us, but we can't figure out what's wrong. The bug occurs 100% in BACKGROUND.

We create Realm inside autoreleasepoo {} maybe this is the reason. The point is that the bug is rarely reproduced and maybe someone has already solved this problem. It is hard to understand what we do wrong when using Realm.

Stacktrace
Crashed: Realm notification listener 0 Example 0x123d66c realm::Transaction::Transaction(std::__1::shared_ptr, realm::SlabAlloc*, realm::DB::ReadLockInfo&, realm::DB::TransactStage) + 88568 1 Example 0x11186f0 std::__1::shared_ptr (anonymous namespace)::make_transaction_ref(std::__1::shared_ptr&&, realm::SlabAlloc*&&, realm::DB::ReadLockInfo&, realm::DB::TransactStage&&) + 189196 2 Example 0x1112dac realm::DB::start_read(realm::VersionID) + 166344 3 Example 0x13749fc realm::_impl::RealmCoordinator::run_async_notifiers() + 1363336 4 Example 0x137492c realm::_impl::RealmCoordinator::on_change() + 1363128 5 Example 0x135924c realm::_impl::ExternalCommitHelper::listen() + 1250776 6 Example 0x1359378 void* std::__1::__thread_proxy(void*) + 1251076 7 libsystem_pthread.dylib 0xb2c0 + 128 8 libsystem_pthread.dylib 0xb220 _pthread_start + 44 9 libsystem_pthread.dylib 0xecdc thread_start + 4 com.apple.main-thread 0 libc++.1.dylib 0xf190 std::__1::basic_ostream::flush() + 486 1 libsystem_c.dylib 0x5bbb4 __cxa_finalize_ranges + 384 2 libsystem_c.dylib 0x5bec4 exit + 24 3 UIKitCore 0x8c3fec -[UIApplication terminateWithSuccess] + 466 4 UIKitCore 0x17fd7c __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.261 + 344 5 UIKitCore 0x8c80ac _runAfterCACommitDeferredBlocks + 296 6 UIKitCore 0x8b6bfc _cleanUpAfterCAFlushAndRunDeferredBlocks + 352 7 UIKitCore 0x8e3a6c _afterCACommitHandler + 116 8 CoreFoundation 0xaa4fc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 9 CoreFoundation 0xa5224 __CFRunLoopDoObservers + 412 10 CoreFoundation 0xa57a0 __CFRunLoopRun + 1228 11 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436 12 GraphicsServices 0xa79c GSEventRunModal + 104 13 UIKitCore 0x8bcc38 UIApplicationMain + 212 14 Example 0x19015c main + 22 (AppDelegate.swift:22) 15 libdyld.dylib 0x18e0 start + 4 com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x180f4 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x175a0 mach_msg + 72 2 CoreFoundation 0xaa914 __CFRunLoopServiceMachPort + 236 3 CoreFoundation 0xa5824 __CFRunLoopRun + 1360 4 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436 5 Foundation 0x795c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 6 Foundation 0x77ec -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 7 UIKitCore 0x9a2754 -[UIEventFetcher threadMain] + 136 8 Foundation 0x1344a0 __NSThread__start__ + 984 9 libsystem_pthread.dylib 0xb2c0 + 128 10 libsystem_pthread.dylib 0xb220 _pthread_start + 44 11 libsystem_pthread.dylib 0xecdc thread_start + 4 com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x23328 __select + 8 1 CoreFoundation 0xb35f8 __CFSocketManager + 620 2 libsystem_pthread.dylib 0xb2c0 + 128 3 libsystem_pthread.dylib 0xb220 _pthread_start + 44 4 libsystem_pthread.dylib 0xecdc thread_start + 4 JavaScriptCore bmalloc scavenger 0 libsystem_kernel.dylib 0x22ee4 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3cf8 + 636 2 libc++.1.dylib 0x8090 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 JavaScriptCore 0x8aaa0 + 108 4 JavaScriptCore 0x8ea94 + 176 5 JavaScriptCore 0x8e20c + 10 6 JavaScriptCore 0x8fc4c + 38 7 libsystem_pthread.dylib 0xb2c0 + 128 8 libsystem_pthread.dylib 0xb220 _pthread_start + 44 9 libsystem_pthread.dylib 0xecdc thread_start + 4 com.apple.coreaudio.AQClient 0 libsystem_kernel.dylib 0x180f4 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x175a0 mach_msg + 72 2 CoreFoundation 0xaa914 __CFRunLoopServiceMachPort + 236 3 CoreFoundation 0xa5824 __CFRunLoopRun + 1360 4 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436 5 AudioToolbox 0x2317bc + 156 6 AudioToolbox 0x4c04f8 + 88 7 libsystem_pthread.dylib 0xb2c0 + 128 8 libsystem_pthread.dylib 0xb220 _pthread_start + 44 9 libsystem_pthread.dylib 0xecdc thread_start + 4 com.example.RealmQueue 0 libsystem_kernel.dylib 0x22f2c __psynch_mutexwait + 8 1 libsystem_pthread.dylib 0x4a84 + 92 2 libsystem_pthread.dylib 0x49f4 + 272 3 libc++.1.dylib 0x3c610 std::__1::mutex::lock() + 12 4 Example 0x137432c realm::_impl::RealmCoordinator::commit_write(realm::Realm&, bool) + 1361592 5 Example 0x13bdcd4 realm::Realm::commit_transaction() + 22180 6 Example 0x17382d0 -[RLMRealm commitWriteTransactionWithoutNotifying:error:] + 648 (RLMRealm.mm:648) 7 Example 0x17ca298 Realm.commitWrite(withoutNotifying:) + 332 (Realm.swift:332) 8 Example 0x17ca1b4 Realm.write(withoutNotifying:_:) + 270 (Realm.swift:270) 9 Example 0x12c88c specialized Realm.safeWrite(file:function:line:_:) + 188 (Realm+Helpers.swift:188) 10 Example 0x38ca3c closure #1 in RoomGameTableRepo.removeRoomGameTables(using:) + 407 (RoomGameTableRepo.swift:407) 11 Example 0x38e394 partial apply for closure #1 in RoomGameTableRepo.removeRoomGameTables(using:) + 4301038484 (:4301038484) 12 Example 0x1402c4 closure #1 in static Realm.async(on:configuration:file:function:line:action:) + 206 (Realm+Helpers.swift:206) 13 Example 0x3e4b1c thunk for @escaping @callee_guaranteed () -> () + 4301392668 (:4301392668) 14 Example 0x13e5dc partial apply for thunk for @escaping @callee_guaranteed () -> (@unowned ()?) + 4298614236 (:4298614236) 15 Example 0x140cb8 partial apply for specialized closure #1 in static Realm.performTaskOnRealmQueue(method:file:function:line:_:) + 236 (Realm+Helpers.swift:236) 16 Example 0x2dc27c thunk for @escaping @callee_guaranteed @Sendable () -> () + 4300309116 (:4300309116) 17 libdispatch.dylib 0x5fa38 _dispatch_call_block_and_release + 24 18 libdispatch.dylib 0x607d4 _dispatch_client_callout + 16 19 libdispatch.dylib 0x9324 _dispatch_lane_serial_drain$VARIANT$mp + 592 20 libdispatch.dylib 0x9e40 _dispatch_lane_invoke$VARIANT$mp + 428 21 libdispatch.dylib 0x124ac _dispatch_workloop_worker_thread + 596 22 libsystem_pthread.dylib 0xc114 _pthread_wqthread + 304 23 libsystem_pthread.dylib 0xecd4 start_wqthread + 4 notificationQueue 0 libsystem_kernel.dylib 0x22ee4 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x3cf8 + 636 2 Foundation 0x753b8 -[__NSOperationInternal _waitUntilFinished:] + 772 3 Foundation 0x2fea4 -[__NSObserver _doit:] + 240 4 CoreFoundation 0x8a21c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 5 CoreFoundation 0x8a1e8 ___CFXRegistrationPost_block_invoke + 64 6 CoreFoundation 0x896dc _CFXRegistrationPost + 392 7 CoreFoundation 0x89388 ___CFXNotificationPost_block_invoke + 96 8 CoreFoundation 0x2c54 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1496 9 CoreFoundation 0x88e38 _CFXNotificationPost + 696 10 Foundation 0x61a4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 11 Example 0x3df618 closure #1 in postNotification(name:object:userInfo:) + 246 (Util.swift:246) 12 Example 0x3df870 partial apply for closure #1 in closure #1 in runInMainQueue(_:) + 56 (Util.swift:56) 13 Example 0x2dc27c thunk for @escaping @callee_guaranteed @Sendable () -> () + 4300309116 (:4300309116) 14 libdispatch.dylib 0x5fa38 _dispatch_call_block_and_release + 24 15 libdispatch.dylib 0x607d4 _dispatch_client_callout + 16 16 libdispatch.dylib 0x9324 _dispatch_lane_serial_drain$VARIANT$mp + 592 17 libdispatch.dylib 0x9e40 _dispatch_lane_invoke$VARIANT$mp + 428 18 libdispatch.dylib 0x124ac _dispatch_workloop_worker_thread + 596 19 libsystem_pthread.dylib 0xc114 _pthread_wqthread + 304 20 libsystem_pthread.dylib 0xecd4 start_wqthread + 4

Источник: https://stackoverflow.com/questions/781 ... 01c823e7b0
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • Сбой приложения с _isPlatformVersionAtLeast SIGABRT (ABORT) – APMIdentityWorkerQueue
    Anonymous » » в форуме IOS
    0 Ответы
    21 Просмотры
    Последнее сообщение Anonymous
  • Ошибка выполнения abort(3) SIGABRT . Частоты элементов массива с ограниченным диапазоном
    Anonymous » » в форуме C++
    0 Ответы
    60 Просмотры
    Последнее сообщение Anonymous
  • Сигнал прерывания от abort(3) (SIGABRT) [закрыт]
    Anonymous » » в форуме C++
    0 Ответы
    32 Просмотры
    Последнее сообщение Anonymous
  • Понимание аварии iOS [Sigabrt Abort]
    Anonymous » » в форуме IOS
    0 Ответы
    3 Просмотры
    Последнее сообщение Anonymous
  • 301 Перенаправить blog.example.com на www.example.com/blog с помощью htaccess в Ubuntu/Codeigniter4/Wordpress.
    Anonymous » » в форуме Php
    0 Ответы
    133 Просмотры
    Последнее сообщение Anonymous

Вернуться в «IOS»