-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
Expected results
App does not crash
Actual Results
App crashes
Stack trace
0 libsystem_kernel.dylib 0x0000000212b831a0 __pthread_kill + 8 (:-1) 1 libsystem_pthread.dylib 0x00000002231cb1ac pthread_kill + 268 (pthread.c:1670) 2 libsystem_c.dylib 0x00000001dc863c8c abort + 180 (abort.c:118) 3 Realm 0x0000000101196174 please_report_this_issue_in_github_realm_realm_core_v_12_11_0 + 12 4 Realm 0x000000010119645c realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 260 5 Realm 0x00000001011962bc realm::util::terminate(char const*, char const*, long, std::initializer_list<realm::util::Printable>&&) + 328 6 Realm 0x0000000100ed6858 void realm::util::terminate<unsigned long long, long>(char const*, char const*, long, unsigned long long, long) + 52 (terminate.hpp:45) 7 Realm 0x0000000100ed67c0 realm::Allocator::translate_critical(realm::Allocator::RefTranslation*, unsigned long) const + 36 (alloc.hpp:579) 8 Realm 0x0000000100ed67c0 realm::Allocator::translate(unsigned long) const + 56 (alloc.hpp:587) 9 Realm 0x0000000100ed67c0 realm::Array::init_from_ref(unsigned long) + 208 (array.hpp:112) 10 Realm 0x000000010107d55c (anonymous namespace)::has_duplicate_values(realm::Array const&, realm::ClusterColumn const&) + 360 11 Realm 0x000000010107d498 (anonymous namespace)::has_duplicate_values(realm::Array const&, realm::ClusterColumn const&) + 164 12 Realm 0x000000010115627c realm::Table::contains_unique_values(realm::ColKey) const + 92 13 Realm 0x0000000101156020 realm::Table::validate_column_is_unique(realm::ColKey) const + 40 14 Realm 0x000000010106ca48 realm::Group::validate_primary_columns() + 108 15 Realm 0x00000001012afd40 realm::ObjectStore::apply_schema_changes(realm::Transaction&, unsigned long long, realm::Schema&, unsigned long long, realm::SchemaMode, std::__1::vector<realm::SchemaChange, std::__1::allocator<re... + 3584 16 Realm 0x000000010130e628 realm::Realm::update_schema(realm::Schema, unsigned long long, std::__1::function<void (std::__1::shared_ptr<realm::Realm>, std::__1::shared_ptr<realm::Realm>, realm::Schema&)>, std::__1::function<... + 1448 17 Realm 0x0000000100fe842c +[RLMRealm realmWithConfiguration:queue:error:] + 1724 (RLMRealm.mm:594) 18 RealmSwift 0x000000010196885c @nonobjc RLMRealm.__allocating_init(configuration:queue:) + 72 (<compiler-generated>:0) 19 RealmSwift 0x0000000101968d48 Realm.init(configuration:queue:) + 100 (Realm.swift:95) 20 Geory 0x0000000100ae3424 closure #1 in closure #1 in initializeDatabase(qos:shouldMigrate:shouldCompact:completion:) + 600 (DatabaseManagement.swift:189) 21 Geory 0x0000000100ae5f34 specialized autoreleasepool<A>(invoking:) + 32 (DatabaseManagement.swift:141) 22 Geory 0x0000000100ae5f34 closure #1 in initializeDatabase(qos:shouldMigrate:shouldCompact:completion:) + 32 (<compiler-generated>:0) 23 Geory 0x0000000100ae5f34 partial apply for closure #1 in initializeDatabase(qos:shouldMigrate:shouldCompact:completion:) + 68 24 Geory 0x0000000100ae60fc thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0) 25 libdispatch.dylib 0x00000001dc7fe4b4 _dispatch_call_block_and_release + 32 (init.c:1518) 26 libdispatch.dylib 0x00000001dc7fffdc _dispatch_client_callout + 20 (object.m:560) 27 libdispatch.dylib 0x00000001dc811b8c _dispatch_root_queue_drain + 684 (inline_internal.h:2632) 28 libdispatch.dylib 0x00000001dc812284 _dispatch_worker_thread2 + 164 (queue.c:7052) 29 libsystem_pthread.dylib 0x00000002231c4dbc _pthread_wqthread + 228 (pthread.c:2631) 30 libsystem_pthread.dylib 0x00000002231c4b98 start_wqthread + 8 (:-1)
Core version
Core version: happens since Realm Swift 10.32.2