Giter Site home page Giter Site logo

Comments (9)

TimOliver avatar TimOliver commented on August 19, 2024

Hi there!

Oh dear! I'm sorry to see that!

I just finished updating the Realm Browser build here with Realm 0.94 as well (The App Store version is still running v0.93).

Have you tried building a version of the Realm Browser from the code here and seeing if it still crashes?

If so, I'll need to expedite an update of the Realm Browser to the App Store as soon as possible.

from realm-browser-osx.

lionpants avatar lionpants commented on August 19, 2024

I'm trying to build the latest version via Xcode but can't due to code signing issues. Is there another method I am not aware of?

from realm-browser-osx.

TimOliver avatar TimOliver commented on August 19, 2024

You should be able to turn the code-signing off if it's a local build (I might see if I can make them automatic in the settings).

from realm-browser-osx.

lionpants avatar lionpants commented on August 19, 2024

Cool, didn't know you could turn signing off.

Yup the latest version seems to work fine!

from realm-browser-osx.

TimOliver avatar TimOliver commented on August 19, 2024

Excellent! I'm glad that fixed it!

We'll need to look at getting an update to the App Store integrating 0.94 quickly to ensure this doesn't happen to anyone else!

from realm-browser-osx.

TimOliver avatar TimOliver commented on August 19, 2024

Actually, you know what? This issue shouldn't have been happening.

I just tested a similar scenario with one of my own production Realm files, and it worked fine, and one of the developers just confirmed with me that nothing should have been changed between 0.93 and 0.94 to create a crash-level incompatibility.

It's possible you may have come across a small edge case that we should be looking into.

If possible, would you willing to send us the code that was causing this crash?
Alternatively, if that's not possible/feasible, can you indicate what types of data you were trying to save into the Realm file, and what the write transaction block of code looked like?

Thanks a lot for that!

from realm-browser-osx.

lionpants avatar lionpants commented on August 19, 2024

I've managed to reproduce this in a small test app.

TestApp...
http://dropcanvas.com/cqgw7

Steps to reproduce...

  • Start the app
  • Click the "Do Things" button, this will insert 10000 Animals into the Realm DB
  • Open RealmBrowser 0.93.2 (7)
  • Open the Realm DB file for the TestApp
  • You should see the 10000 Animals and 4 Food objects
  • Press the "Do Things" button again
  • RealmBrowser should crash

from realm-browser-osx.

TimOliver avatar TimOliver commented on August 19, 2024

Awesome! Thank you so much for doing that! That's a huge help to us!
I'll have a play with that sample app and see if I can uncover what's going on exactly.
Thanks again!

from realm-browser-osx.

TimOliver avatar TimOliver commented on August 19, 2024

Alright. After discussing it with another one of the Cocoa engineers, we think this must be some kind of bug in Realm Objective-C itself that manifested between version 0.93 and 0.94.

I've re-uploaded the sample app, and mirrored the steps for reproduction in the Realm Cocoa repo (realm/realm-swift#2432). We'll continue working it out from there.

Thanks again so much for reporting this issue, and taking the time to make a sample app! :)

from realm-browser-osx.

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.