Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-977

`LockFileEx() failed: Incorrect function` when opening a Realm on Windows stored on the WSL file system

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Expected results

      The ability to open Realm files regardless of the file system they are on.

      Actual Results

      Users of Realm Studio experience an exception from Core when opening a Realm file stored on the Windows Subsystem for Linux file system:

      LockFileEx() failed: Incorrect function
      

      This is most likely related to WSL's lack of support for the LockFileEx system call.
      See https://github.com/microsoft/WSL/issues/5762.

      Steps & Code to Reproduce

      See https://github.com/realm/realm-studio/issues/1477.

      Core version

      Core version: 11.0.4

            Assignee:
            Unassigned Unassigned
            Reporter:
            kraen.hansen@mongodb.com Kræn Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: