Closed eliasbagley closed 9 years ago
Hi @eliasbagley thanks for sending this in. This was fixed in the latest versions of Realm, can you try downloading them and letting us know if you're still running into any issues? I believe you're using an older version based on this line array.cpp:453: [realm-core-0.88.1] Assertion failed: ndx < m_size
core is now at 0.88.5.
This is something that has to be debugged at the core level, usually we request you send a sample project that we can use to look into it further. Can you give the latest version a shot first?
How do I make sure I'm using the latest core version? I'm using Carthage for dependency management, and the .xcproj file it downloads shows that it's using Realm 0.91.1, but I only see folders for core-0.88.0 and core-0.88.1. How do I get it to use 0.88.5?
The only way I can guarantee that right now is if you downloaded the framework directly from realm.io. I did open up an issue so that Carthage can get updated. Can you let me know how this works out and if it solves your error?
@eliasbagley jp tried using 0.91.1 and things went smoothly using the latest version of core. You can read more here https://github.com/realm/realm-cocoa/issues/1664. It could be an issue with carthage, keep me posted based on what you do with this new info
@eliasbagley please provide us with a reproducible case of this issue and we'll be happy to reopen and investigate.
Hey - I'm getting the following crash on Realm 0.91.1 Swift:
The strange part about this crash is that it only happens in my environment - it won't happen if I run the exact same code on a coworkers machine. The crash doesn't happen when I remove some properties from the model, but I don't think those properties I removed are the root cause, just somehow manifesting the bug.
My question is - what is a likely culprit for this to track it down, or is there a way I can get a more helpful error other than "ndx < m_size" ? I've tried updating the OS, Xcode, command line tools, Realm versions yet the problem persists so I'm not sure what in my environment could actually be affecting this. Thanks!