-
Type: Task
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
SDK and version
SDK : RealmSwift
Version: 10.28.1
Observations
- How frequent do the crash occur? Random, but always if happened in specific device
- Does it happen in production or during dev/test? Production
- Can the crash be reproduced by you? No
- Can you provide instructions for how we can reproduce it? ``Not sure, but in this case just init a *Realm()* instance.``
Crash log / stacktrace
MAIN THREAD - CRASHED libsystem_kernel.dylib __pthread_kill libsystem_c.dylib abort Realm please_report_this_issue_in_github_realm_realm_core Realm realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Realm realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list<realm::util::Printable>&&) Realm void realm::util::terminate_with_info<unsigned long&, unsigned long&>(char const*, int, char const*, char const*, unsigned long&&&, unsigned long&&&) Realm realm::StringIndex::StringIndex(unsigned long, realm::ArrayParent*, unsigned long, realm::ClusterColumn const&, realm::Allocator&) Realm realm::Table::refresh_index_accessors() Realm realm::Group::create_table_accessor(unsigned long) Realm realm::Group::get_table(realm::TableKey) Realm realm::Transaction::check_consistency() Realm realm::DB::open(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, realm::DBOptions) Realm realm::DB::open(realm::Replication&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, realm::DBOptions) Realm realm::DB::create(std::__1::unique_ptr<realm::Replication, std::__1::default_delete<realm::Replication> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, realm::DBOptions) Realm realm::_impl::RealmCoordinator::open_db() Realm realm::_impl::RealmCoordinator::do_get_realm(realm::RealmConfig, std::__1::shared_ptr<realm::Realm>&, realm::util::Optional<realm::VersionID>, realm::util::CheckedUniqueLock&) Realm realm::_impl::RealmCoordinator::get_realm(realm::RealmConfig, realm::util::Optional<realm::VersionID>) Realm realm::Realm::get_shared_realm(realm::RealmConfig) Realm +[RLMRealm realmWithConfiguration:queue:error:] RLMRealm.mm:531 RealmSwift RealmSwift.Realm.init(queue: __C.OS_dispatch_queue?) throws -> RealmSwift.Realm <compiler-generated>:0 ... My Production call stack, just call let realm = try! Realm()
Steps & Code to Reproduce
<!-- What steps/operations resulted in the crash? Please show any relevant code or steps that WE can
<!-- use to reproduce it. Even better is a full sample project that can reproduce the crash. -->
<!-- Code and files can be shared privately at help@realm.io if needed. -->
In some device, just run let realm = try! Realm() and it happened.
- duplicates
-
RCORE-1170 Randomly crash when append objects to list in write transaction
- Closed