Open loysphilibert opened 3 years ago
Hi @loysphilibert Where you using Realm in your application before v10 was released? Is this issue steadily reproducible? Could you try update to the latest version of Realm Cocoa and see if that helps?
Hi, We used Realm since 2016, so yes. We had this issue from the beginning. I can send you a corrupted realm file.
Hi @loysphilibert Please send the Realm file to realm-help@mongodb.com
@loysphilibert Just to be clear did you see this issue straight after an upgrade? Was there any migration involved too?
I have received your Realm file and I can open it with no issue in Realm Studio. Would you be able to check you get the same result?
Hello,
I just send you the realm file. It just append some time. We don’t really understand the cause.
Loys
Le jeu. 19 août 2021 à 10:50, Lee Maguire @.***> a écrit :
@loysphilibert https://github.com/loysphilibert Just to be clear did you see this issue straight after an upgrade? Was there any migration involved too?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realm/realm-cocoa/issues/7403#issuecomment-901730842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZY2FDCQQWXKIEJOIGUP53T5TAWLANCNFSM5CNQ45VQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
Try to change de data….
Loys
Le 27 août 2021 à 12:28, Lee Maguire @.***> a écrit :
I have received your Realm file and I can open it with no issue in Realm Studio. Would you be able to check you get the same result?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Goals
Just open the realm file
Expected Results
Just open it
Actual Results
../src/realm/group_writer.cpp:633: [realm-core-10.3.3] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit, m_alloc.get_file_path_for_assertions()) = [21896, 3144, 22976, 11, 7855, "Users/Shared/fr.adde.eyeCab/Ticketing/ticketing.realm"] 0 Supervision 0x000000010fff94dc _ZN5realm4utilL18terminate_internalERNSt3118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28 1 Supervision 0x000000010fff9a37 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 471 2 Supervision 0x000000010fed388c _ZN5realm4util19terminate_with_infoIJRmS2_S2_S2_S2_NSt3112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvPKciSB_SBDpOT + 156 3 Supervision 0x000000010fed30a7 _ZN5realm11GroupWriter17recreate_freelistEm + 2647 4 Supervision 0x000000010fed16fc _ZN5realm11GroupWriter11write_groupEv + 764 5 Supervision 0x000000010fecc0a5 _ZN5realm2DB16low_level_commitEyRNS_11TransactionE + 437 6 Supervision 0x000000010fecbe8b _ZN5realm2DB9do_commitERNS_11TransactionE + 107 7 Supervision 0x000000010fecb147 _ZN5realm11Transaction6commitEv + 87 8 Supervision 0x0000000110194bd3 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1651 9 Supervision 0x000000011019358a _ZN5realm5_impl16RealmCoordinator12do_get_realmENS_5Realm6ConfigERNSt3__110shared_ptrIS2_EENS_4util8OptionalINS_9VersionIDEEERNS8_17CheckedUniqueLockE + 58 10 Supervision 0x000000011019337f _ZN5realm5_impl16RealmCoordinator9get_realmENS_5Realm6ConfigENS_4util8OptionalINS_9VersionIDEEE + 495 11 Supervision 0x0000000110176747 _ZN5realm5Realm16get_shared_realmENS0_6ConfigE + 135 12 Supervision 0x000000010fc8a7f0 +[RLMRealm realmWithConfiguration:queue:error:] + 2352 13 Supervision 0x000000010fc89e5e +[RLMRealm realmWithConfiguration:error:] + 94 14 Supervision 0x000000010f92e115 +[RLMRealm(ticketing) ticketingRealm] + 517 15 Supervision 0x000000010f6654af +[WebFilesManager createCalendarWebJSONWithTicketingDictionary:] + 8239 16 Supervision 0x000000010f68afe1 -[AppDelegate ticketingCollect] + 24113 17 Supervision 0x000000010f6851a7 __29-[AppDelegate ticketingTimer]_block_invoke + 39 18 libdispatch.dylib 0x00000001118b7032 _dispatch_call_block_and_release + 12 19 libdispatch.dylib 0x00000001118b8264 _dispatch_client_callout + 8 20 libdispatch.dylib 0x00000001118cc4ac _dispatch_root_queue_drain + 828 21 libdispatch.dylib 0x00000001118ccd3f _dispatch_worker_thread2 + 127 22 libsystem_pthread.dylib 0x0000000111961ac7 _pthread_wqthread + 244 23 libsystem_pthread.dylib 0x0000000111960ae3 start_wqthread + 15!!! IMPORTANT: Please send this log and info about Realm SDK version and other relevant reproduction info to help@realm.io.2021-07-04 21:33:33.293671+0200 Supervision[46306:539948] ../src/realm/group_writer.cpp:633: [realm-core-10.3.3] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit, m_alloc.get_file_path_for_assertions()) = [21896, 3144, 22976, 11, 7855, "Users/Shared/fr.adde.eyeCab/Ticketing/ticketing.realm"]
Steps for others to Reproduce
Try to change a value in the realm file
Code Sample
Version of Realm and Tooling
Realm framework version: Realm (10.5.1)
Xcode version: 12.5.1 Build version 12E507
iOS/OSX version: 10.13 to 11.
Dependency manager + version: pod 1.10.0
I can send an example realm file.