Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1199

Crash while consolidating freelist (2)

      SDK and version

      SDK : Cocoa/Swift
      Version: v10.25.1

      Observations

      • How frequent do the crash occur? 25 crashes
      • 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? No

      Crash log / stacktrace

      Crashed: com.apple.main-thread
      0  libsystem_kernel.dylib         0x28414 __pthread_kill + 8
      1  libsystem_pthread.dylib        0x2b40 pthread_kill + 272
      2  libsystem_c.dylib              0x76b74 abort + 104
      3  Realm                          0x2cf708 please_report_this_issue_in_github_realm_realm_core + 10
      4  Realm                          0x2cfa08 realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 328
      5  Realm                          0x2cfd6c realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list<realm::util::Printable>&&) + 388
      6  Realm                          0x1af7e4 void realm::util::terminate_with_info<unsigned long const&, unsigned long long const&, unsigned long&, unsigned long&, unsigned long long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, int, char const*, char const*, unsigned long const&, unsigned long long const&, unsigned long&, unsigned long&, unsigned long long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) + 146
      7  Realm                          0x1af1f8 realm::GroupWriter::recreate_freelist(unsigned long) + 1688
      8  Realm                          0x1ade10 realm::GroupWriter::write_group() + 656
      9  Realm                          0x18d0e4 realm::DB::low_level_commit(unsigned long long, realm::Transaction&, bool) + 400
      10 Realm                          0x18d508 realm::Transaction::commit_and_continue_as_read(bool) + 164
      11 Realm                          0x3919ec realm::_impl::RealmCoordinator::commit_write(realm::Realm&, bool) + 108
      12 Realm                          0x41ff70 realm::Realm::commit_transaction() + 128
      13 Realm                          0x121c1c -[RLMRealm commitWriteTransactionWithoutNotifying:error:] + 288
      14 RealmSwift                     0x6a908 $s10RealmSwift0A0V5write16withoutNotifying_xSaySo20RLMNotificationTokenCG_xyKXEtKlF + 400
      

      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. -->

            Assignee:
            jorgen.edelbo@mongodb.com Jørgen Edelbo
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: