Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-737

EXC_BAD_ACCESS on version 5.x.x

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None

      !!! MANDATORY TO FILL OUT !!!
      <!---
      When running with realm > v5 I get random crashes on every session. Downgrading back to 4.4.1 fixes it

      -->

      Actual Results

      Crashes in

      static uint_least8_t get_width_from_header(const char* header) noexcept
          {
              typedef unsigned char uchar;
              const uchar* h = reinterpret_cast<const uchar*>(header);
              return uint_least8_t((1 << (int(h[4]) & 0x07)) >> 1);
          }
      
      

      Version of Realm and Tooling

      <!---
      In the CONTRIBUTING guidelines, you will find a script,
      which will help determining some of these versions.
      -->
      Realm framework version: 5.0.3 and 5.2.0
      Xcode version: 11.5

      iOS/OSX version: iOS 12 and 13

      Dependency manager + version: SPM

            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: