-
Notifications
You must be signed in to change notification settings - Fork 471
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
"java.io.IOException: posix_fallocate() returned -1" returned by ChronicleMapBuilder.createPersistedTo #540
Comments
hi @plbpietrz-chronicle - running the minimal reproducer on an Ubuntu 22.04 VM there are 2 issues:
Putting both fixes in place the minimal reproducer runs without issue. Could you double check the minimal reproducer and/or the original code it is base upon and let me know how things look. Thanks |
For completeness, this is a working version:
|
Another example of the fallocate issue would be this chronicle-map example:
with only this library in mvn dependencies section:
|
The above works for me with unmodified Chronicle-Map ea on:
@plbpietrz-chronicle - as discussed, pls try a fresh VM of your distro (Fedora) and vanilla Chronicle-Map to rule out something awry in your local env. |
Issue fixed in latest release |
When trying to create a new
ChronicleMap
within a Ubuntu 22.04 docker container (and on bare metal Fedora 38, 39) we are seeing this IOException:A minimal repro project, composed of
posix:2.25ea0
andchronicle-core:2.25ea10
libraries, containing:also ends up with a
fallocate=-1
being returned. What is interesting is that this code works if we remove theasm:9.2
library from the classpath. Below is the full dep tree of the test projectThe text was updated successfully, but these errors were encountered: