-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: SessionException: Inappropriate ioctl for device
on ExFAT file system
#5789
Comments
Transferred to Core as it looks like it would be in your domain of expertise. |
The |
In our case, just opening the file (via Do you have any suggestions for how I can better track down the responsible operation? |
Nevermind, I didn't see it in the snippet. |
Thankfully, I think I might have something you can work with. I can reproduce this same issue using realm studio (12.0.0): fcntl() with F_BARRIERFSYNC failed: Inappropriate ioctl for device Realm.Studio.2022-08-30.at.06.37.25.mp4Realm file: |
@ironage can you have a look at this? This is not happening on (my) Linux, but a colleague with a Mac confirmed that this is indeed reproducible. |
➤ Finn Andersen commented: Ok, The message says F_BARRIERFSYNC is not supported on the device. This also implies that the problem relates to the Realm file and not the lock file or a pipe used for emulating robust mutexes. |
Thank you for the fix! |
What happened?
As reported by a user (ppy/osu#19948), when opening a realm file from an ExFAT disk, an error is thrown.
Weirdly, I cannot reproduce this in an isolated test. I'm not precisely sure how this is happening, but I can reproduce in our game 100%.
Repro steps
.lock
/.note
files) or create a new realm file on an external drive with ExFAT file systemVersion
10.15.1
What SDK flavour are you using?
Local Database only
What type of application is this?
Other
Client OS and version
macOS 12.5
Code snippets
https://github.com/ppy/osu/blob/d947a6cb5947c1a3bf1a1d81fd7701266945ffae/osu.Game/Database/RealmAccess.cs#L672-L703
Of note, removing the
FallbackPipePath
does not help.Stacktrace of the exception/crash you're getting
Relevant log output
No response
The text was updated successfully, but these errors were encountered: