-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
Description
How frequently does the bug occur?
Sometimes
Description
I'm initializing my app by loading data from Realm. Since iOS 17 I have experienced numerous crashes like this. What can I do to prevent this?
Stacktrace & log output
0 libsystem_kernel.dylib 0x00000001f637101c __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000021897a680 pthread_kill + 268 (pthread.c:1681)
2 libsystem_c.dylib 0x00000001b7773bb0 abort + 180 (abort.c:118)
3 Realm 0x0000000104544980 please_report_this_issue_in_github_realm_realm_core_v_13_17_1 + 12
4 Realm 0x0000000104544cb4 realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 244
5 Realm 0x0000000104544b24 realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list<realm::util::Printable>&&) + 400
6 Realm 0x0000000104544994 realm::util::terminate(char const*, char const*, long, std::initializer_list<realm::util::Printable>&&) + 20
7 Realm 0x000000010427aca0 void realm::util::terminate<unsigned long long, unsigned long long>(char const*, char const*, long, unsigned long long, unsigned long long) + 48 (terminate.hpp:45)
8 Realm 0x00000001043b1718 realm::Array::set(unsigned long, long long) + 276
9 Realm 0x00000001044f25e0 realm::Table::do_add_search_index(realm::ColKey, realm::IndexType) + 344
10 Realm 0x00000001044f2850 realm::Table::add_search_index(realm::ColKey, realm::IndexType) + 260
11 Realm 0x0000000104676630 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... + 3344
12 Realm 0x00000001046ddad0 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<... + 1600
13 Realm 0x0000000104381bdc +[RLMRealm realmWithConfiguration:confinedTo:error:] + 1540 (RLMRealm.mm:489)
14 Realm 0x0000000104381578 +[RLMRealm realmWithConfiguration:queue:error:] + 80 (RLMRealm.mm:391)
15 RealmSwift 0x0000000103c15fec @nonobjc RLMRealm.__allocating_init(configuration:queue:) + 72 (<compiler-generated>:0)
16 RealmSwift 0x0000000103c16558 Realm.init(configuration:queue:) + 116 (Realm.swift:95)
17 MyAppName 0x0000000102b98e44 closure realm/realm-swift#2 in closure realm/realm-swift#1 in initializeDatabase(shouldMigrate:shouldCompact:completion:) + 864 (DatabaseManagement.swift:254)
18 MyAppName 0x0000000102b9883c specialized autoreleasepool<A>(invoking:) + 28 (<compiler-generated>:0)
19 MyAppName 0x0000000102b9883c closure realm/realm-swift#1 in initializeDatabase(shouldMigrate:shouldCompact:completion:) + 496
20 MyAppName 0x0000000102b963c0 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
21 libdispatch.dylib 0x00000001b76b96a8 _dispatch_call_block_and_release + 32 (init.c:1530)
22 libdispatch.dylib 0x00000001b76bb300 _dispatch_client_callout + 20 (object.m:561)
23 libdispatch.dylib 0x00000001b76c2894 _dispatch_lane_serial_drain + 748 (queue.c:3885)
24 libdispatch.dylib 0x00000001b76c33c4 _dispatch_lane_invoke + 380 (queue.c:3976)
25 libdispatch.dylib 0x00000001b76ce004 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6913)
26 libdispatch.dylib 0x00000001b76cd878 _dispatch_workloop_worker_thread + 404 (queue.c:6507)
27 libsystem_pthread.dylib 0x0000000218976964 _pthread_wqthread + 288 (pthread.c:2629)
28 libsystem_pthread.dylib 0x0000000218976a04 start_wqthread + 8Can you reproduce the bug?
No
Reproduction Steps
No response
Version
13.17.1
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 17
Build environment
Xcode version: 15
Dependency manager and version: CocoaPods