realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
503 stars 54 forks source link

Crash on handling migrations for opened Realm #335

Open stel opened 7 years ago

stel commented 7 years ago

If realm has been migrated to new schema version while opened in the Browser, most likely browser crashes. The issue is related to bindings which doesn't handle schema changes when using dynamic API.

*** Terminating app due to uncaught exception 'std::logic_error', reason: 'Schema mismatch detected: another process has modified the Realm file's schema in an incompatible way'

There are cases for this issue: local and synced realms, also related to https://github.com/realm/realm-browser-osx/issues/296.

@bdash, @tgoyne do you have any thoughts on this?