[GH-ISSUE #321] [realm-core-5.10.2] Assertion failed: prev_ref + prev_size <= ref #177

Open
opened 2026-03-03 01:10:35 +03:00 by kerem · 1 comment
Owner

Originally created by @pirogoeth on GitHub (Oct 25, 2018).
Original GitHub issue: https://github.com/Clipy/Clipy/issues/321

Hi @Econa77, thank you for the awesome app!

Since I upgraded to macOS Mojave, Clipy no longer opens. It spews an assertion error from realm-core:

/Users/realm/workspace/m_realm-core_release_5.10.2-JLYB4463STYEHDZYG5MCNCHSR6P7KGQAINRPSTQDTS37Q72ZT66Q/src/realm/group_writer.cpp:597: [realm-core-5.10.2] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit) =  [0, 4096, 0, 1, 16]
0   Realm                               0x0000000106cf106c _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
1   Realm                               0x0000000106cf1640 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 592
2   Realm                               0x0000000106beccad _ZN5realm4util19terminate_with_infoIJRmS2_S2_S2_S2_EEEvPKciS4_S4_DpOT_ + 125
3   Realm                               0x0000000106becaf1 _ZN5realm11GroupWriter17recreate_freelistEm + 1057
4   Realm                               0x0000000106bebd0c _ZN5realm11GroupWriter11write_groupEv + 940
5   Realm                               0x0000000106be7def _ZN5realm11SharedGroup16low_level_commitEy + 351
6   Realm                               0x0000000106be78ec _ZN5realm11SharedGroup9do_commitEv + 76
7   Realm                               0x0000000106be8176 _ZN5realm11SharedGroup27commit_and_continue_as_readEv + 38
8   Realm                               0x0000000106a15747 _ZN5realm5_impl16RealmCoordinator12commit_writeERNS_5RealmE + 51
9   Realm                               0x0000000106ade70d _ZN5realm5Realm18commit_transactionEv + 65
10  Realm                               0x0000000106ade056 _ZN5realm5Realm13update_schemaENS_6SchemaEyNSt3__18functionIFvNS2_10shared_ptrIS0_EES5_RS1_EEENS3_IFvS5_EEEb + 1410
11  Realm                               0x0000000106aaab08 +[RLMRealm realmWithConfiguration:error:] + 1560
12  RealmSwift                          0x00000001071a07d1 _T010RealmSwift0A0CACyKcfc + 97
13  RealmSwift                          0x00000001071a0766 _T010RealmSwift0A0CACyKcfC + 38
14  Clipy                               0x00000001068032ed Clipy + 353005
15  Clipy                               0x00000001067c6a62 Clipy + 105058
16  CoreFoundation                      0x00007fff326b82e3 -[NSSet makeObjectsPerformSelector:] + 236
17  AppKit                              0x00007fff2fb9cde5 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1652
18  AppKit                              0x00007fff2fb9abe1 loadNib + 401
19  AppKit                              0x00007fff2fb9a0a9 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696
20  AppKit                              0x00007fff2fb99cee -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204
21  AppKit                              0x00007fff2fb99aaf +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 447
22  AppKit                              0x00007fff2fb8dd84 NSApplicationMain + 505
23  Clipy                               0x00000001067afca9 Clipy + 11433
24  libdyld.dylib                       0x00007fff5f6e4085 start + 1!!! IMPORTANT: Please send this log and info about Realm SDK version and other relevant reproduction info to help@realm.io.[1]    80212 abort      /Applications/Clipy.app/Contents/MacOS/Clipy

Any ideas?

Originally created by @pirogoeth on GitHub (Oct 25, 2018). Original GitHub issue: https://github.com/Clipy/Clipy/issues/321 Hi @Econa77, thank you for the awesome app! Since I upgraded to macOS Mojave, Clipy no longer opens. It spews an assertion error from realm-core: ``` /Users/realm/workspace/m_realm-core_release_5.10.2-JLYB4463STYEHDZYG5MCNCHSR6P7KGQAINRPSTQDTS37Q72ZT66Q/src/realm/group_writer.cpp:597: [realm-core-5.10.2] Assertion failed: prev_ref + prev_size <= ref with (prev_ref, prev_size, ref, i, limit) = [0, 4096, 0, 1, 16] 0 Realm 0x0000000106cf106c _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28 1 Realm 0x0000000106cf1640 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 592 2 Realm 0x0000000106beccad _ZN5realm4util19terminate_with_infoIJRmS2_S2_S2_S2_EEEvPKciS4_S4_DpOT_ + 125 3 Realm 0x0000000106becaf1 _ZN5realm11GroupWriter17recreate_freelistEm + 1057 4 Realm 0x0000000106bebd0c _ZN5realm11GroupWriter11write_groupEv + 940 5 Realm 0x0000000106be7def _ZN5realm11SharedGroup16low_level_commitEy + 351 6 Realm 0x0000000106be78ec _ZN5realm11SharedGroup9do_commitEv + 76 7 Realm 0x0000000106be8176 _ZN5realm11SharedGroup27commit_and_continue_as_readEv + 38 8 Realm 0x0000000106a15747 _ZN5realm5_impl16RealmCoordinator12commit_writeERNS_5RealmE + 51 9 Realm 0x0000000106ade70d _ZN5realm5Realm18commit_transactionEv + 65 10 Realm 0x0000000106ade056 _ZN5realm5Realm13update_schemaENS_6SchemaEyNSt3__18functionIFvNS2_10shared_ptrIS0_EES5_RS1_EEENS3_IFvS5_EEEb + 1410 11 Realm 0x0000000106aaab08 +[RLMRealm realmWithConfiguration:error:] + 1560 12 RealmSwift 0x00000001071a07d1 _T010RealmSwift0A0CACyKcfc + 97 13 RealmSwift 0x00000001071a0766 _T010RealmSwift0A0CACyKcfC + 38 14 Clipy 0x00000001068032ed Clipy + 353005 15 Clipy 0x00000001067c6a62 Clipy + 105058 16 CoreFoundation 0x00007fff326b82e3 -[NSSet makeObjectsPerformSelector:] + 236 17 AppKit 0x00007fff2fb9cde5 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1652 18 AppKit 0x00007fff2fb9abe1 loadNib + 401 19 AppKit 0x00007fff2fb9a0a9 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 696 20 AppKit 0x00007fff2fb99cee -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 204 21 AppKit 0x00007fff2fb99aaf +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 447 22 AppKit 0x00007fff2fb8dd84 NSApplicationMain + 505 23 Clipy 0x00000001067afca9 Clipy + 11433 24 libdyld.dylib 0x00007fff5f6e4085 start + 1!!! IMPORTANT: Please send this log and info about Realm SDK version and other relevant reproduction info to help@realm.io.[1] 80212 abort /Applications/Clipy.app/Contents/MacOS/Clipy ``` Any ideas?
Author
Owner

@hooveraj commented on GitHub (Nov 26, 2018):

Since upgrading to Mojave, Clipy opens but periodically freezes (spinning beach ball when I hover over the icon in the menubar, etc). In Activity manager, it shows as not responding. I wonder if I'm seeing the same error. What logs can I provide that would be helpful, and how do I get them?

<!-- gh-comment-id:441791846 --> @hooveraj commented on GitHub (Nov 26, 2018): Since upgrading to Mojave, Clipy opens but periodically freezes (spinning beach ball when I hover over the icon in the menubar, etc). In Activity manager, it shows as not responding. I wonder if I'm seeing the same error. What logs can I provide that would be helpful, and how do I get them?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Clipy#177
No description provided.