Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-1084

RealmException: posix_fallocate() failed

      What happened?

      Hello!

      I've been using Realm (.Net) 11.5.0 in Unity for months now with no issues (Windows Editor & Android Builds)

      After upgrading to 11.6.1 it's still working in the Editor, but the attached exception is thrown when retrieving a Realm instance on Android.

      The lock file is created, but the Realm (and other associated files) are not. This occurs whether opening an existing Realm or creating a new.

      Unity Version: 2022.3.13f1
      Android Version: 10 (ARM64 \ IL2CPP)

      Repro steps

      See attached code.

      Version

      11.6.1

      What Atlas Services are you using?

      Local Database only

      What type of application is this?

      Unity

      Client OS and version

      Android 10 (ARM64 \ IL2CPP)

      Code snippets

      RealmConfiguration config = new RealmConfiguration([file]);
      config.EncryptionKey = [key];
      config.Schema = new Type[]

      { typeof([type]) }

      ;
      config.FallbackPipePath = [path];

      Realm realm = Realm.GetInstance(config);

      Stacktrace of the exception/crash you're getting

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      RealmException: posix_fallocate() failed: Operation not supported on transport endpoint: Operation not supported on transport endpoint (95)
      Realms.NativeException.ThrowIfNecessary ()
      Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration)
      Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration)
      Realms.RealmConfigurationBase.CreateRealm ()
      

      Relevant log output

      No response

            Assignee:
            yavor.georgiev@mongodb.com Yavor Georgiev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: