GithubHelp home page GithubHelp logo

Comments (4)

charlesroddie avatar charlesroddie commented on June 16, 2024 1

Thanks for the help here. I thought UInt64 since the generic argument of the regex was UInt64. We did notice that we were using IEnumerable around some realm returns which may have caused lazy access. After fixing this we are still getting a crash but without Realm mentioned. So I will close this issue and move it to dotnet/macios. The stacktrace does have System.Linq and it's possible that realm is calling this as the main user of System.Linq but I will close this for now unless realm reappears.

from realm-dotnet.

nirinchev avatar nirinchev commented on June 16, 2024

What version of Realm are you using?

from realm-dotnet.

charlesroddie avatar charlesroddie commented on June 16, 2024

Latest 11.6.1

from realm-dotnet.

nirinchev avatar nirinchev commented on June 16, 2024

So here are a few thoughts reading through the stacktrace:

  1. Looks like at some point, this goes through the ctor for RealmCollectionBase<float?>.
  2. The exact error happens when setting the Handle field which is a Lazy<CollectionHandleBase>.
  3. What makes you think there's UInt64 involved? We definitely use this type when talking to the native layer and also the framework uses it quite a bit to represent pointers, but at no point will we ever parse it from a string.
  4. The stacktrace doesn't make much sense to me as there's no clear reason why we would go from the ctor of the collection to an enumerator in 10Mathematics_EduTypes_RQLRecord. Either there's frames missing or I'm not seeing something.
  5. The crash seems to be happening somewhere where you're iterating and selecting a kvp involving 10Mathematics_EduTypes_RQLRecord - might be worth trying to find where that is and share the relevant code to see if we can correlate it.

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.