GithubHelp home page GithubHelp logo

Trying to open a particular Realm DB file throws the following exception - "Upgrading from file format version 22 to 24 D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm/util/encrypted_file_mapping.hpp:180: [realm-core-14.5.1] Assertion failed: local_ndx < m_page_state.size() with (local_ndx, m_page_state.size(), size_t(addr), size_t(m_addr), m_page_shift) = [85, 1, 2331762327552, 2331762294784, 16] <backtrace not supported on this platform>" about realm-dotnet HOT 11 OPEN

clement-ilango avatar clement-ilango commented on June 26, 2024
Trying to open a particular Realm DB file throws the following exception - "Upgrading from file format version 22 to 24 D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm/util/encrypted_file_mapping.hpp:180: [realm-core-14.5.1] Assertion failed: local_ndx < m_page_state.size() with (local_ndx, m_page_state.size(), size_t(addr), size_t(m_addr), m_page_shift) = [85, 1, 2331762327552, 2331762294784, 16] "

from realm-dotnet.

Comments (11)

sync-by-unito avatar sync-by-unito commented on June 26, 2024

➤ PM Bot commented:

Jira ticket: RNET-1141

from realm-dotnet.

nirinchev avatar nirinchev commented on June 26, 2024

You haven't specified the version of the Realm SDK that you're using, but this appears to be a bug that was fixed in the latest version - can you try upgrading to confirm?

from realm-dotnet.

nirinchev avatar nirinchev commented on June 26, 2024

@ironage this appears to be similar to the encryption bug that you fixed, but continues to happen even with Core 14.6.1, which should contain the fix. Is there anything obvious from the stacktrace or something we can ask the reporter to try track it down?

from realm-dotnet.

ironage avatar ironage commented on June 26, 2024

Hi @clement-ilango the stack traces you provided show you are using a core version of v14.5.1, and the relevant fix is in v14.6.0. For the .Net SDK this is version 12.1.0 (2024-05-01) or later. Please try upgrading and let us know if this solves the issue. If not, please provide an updated stack trace, and send your Realm file with encryption key to [email protected].

from realm-dotnet.

ironage avatar ironage commented on June 26, 2024

@clement-ilango apologies, I missed this part of your latest message:

D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm/util/encrypted_file_mapping.hpp:184: [realm-core-14.6.1] Assertion failed: local_ndx < m_page_state.size() with (local_ndx, m_page_state.size(), size_t(addr), size_t(m_addr), m_page_shift) =  [85, 1, 1549425541120, 1549425508352, 16]

Which indicates that you are still seeing this on the updated version. Could you please still send the file to the email in my message above so that we can reproduce this and track down the issue?

from realm-dotnet.

ironage avatar ironage commented on June 26, 2024

@clement-ilango sorry, but I am unable to find your attachment when you respond by email to this thread. As far as I can tell, it is a limitation of Github's issue response system. Would you be able to send the file to [email protected] ?

from realm-dotnet.

clement-ilango avatar clement-ilango commented on June 26, 2024

from realm-dotnet.

ironage avatar ironage commented on June 26, 2024

@clement-ilango I have received the files. Thanks for your patience in this process, we will investigate.

from realm-dotnet.

nirinchev avatar nirinchev commented on June 26, 2024

@clement-ilango I've edited the ticket in Jira to remove the sensitive information. Can you please double check to confirm. If there's more content that needs to be removed, can you please reach out to me via email at [email protected].

from realm-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.