realm-java: Fatal signal 7 (RealmFinalizing)

i got an error which seems to be from realm. my fullstacktrace from logcat is following line.

Fatal signal 7 (SIGBUS) at 0x667943d9 (code=1), thread 7314 (RealmFinalizing)

also similar errors for signal

Fatal signal 11 (SIGSEGV) at 0x3f800004 (code=1), thread 3069 (net.iGap)
Fatal signal 11 (SIGSEGV) at 0x3f800000 (code=1), thread 4420 (pool-1-thread-2)

Unfortunately , i do not have more information to explain this error


Realm version(s): 3.5.0 Realm sync feature enabled: no Android Studio version: 2.2.1 Which Android version and device: all

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

@Zhuinden It sounds nothing will be reliable if Android backup is designed to be overwriting file while the app is running …

During Auto Backup, the system shuts down the app to make sure it is no longer writing to the file system. By default, the backup system ignores apps that are running in the foreground because users would notice their apps being shut down. You can override the default behavior by setting the backupInForeground attribute to true.

hmmm, backupInForeground sounds very dangerous for Realm files

Data is restored whenever the app is installed, either from the Play store, during device setup (when the system installs previously installed apps), or from running adb install. The restore operation occurs after the APK is installed, but before the app is available to be launched by the user.

So restoring would not be a problem