-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to open file #46
Comments
First thing that comes to mind: did you wait for the filesystem to be ready (with |
Hi @Carnageous, Thank you for your response Following is code segment
|
Can you tell me if this is happening for the first file you're trying to write after loading h5wasm, or does it happen later when adding more files? Also it would help to know what's in the function |
Hi @bmaranville, Thank you for your response In my code, I am creating only one file per http request. Following is the
|
Sorry - can you also show what is in |
|
@bmaranville could you please let me know is this what you asked |
Sorry - I wasn't able to come up with a quick explanation of what's happening to you. The library initialization you're using seems fine. Without being able to run your code I'm not quite sure how to reproduce the error. There are other ways you can run into memory issues with wasm - are you opening extremely large files? How are you closing files when you are done with them? Are you overwriting a file with new contents when you open subsequent urls? ... |
Hi
When trying to create a file using
new h5wasm.File(fileName, 'w')
, occasionally following error happens.HDF5-DIAG: Error detected in HDF5 (1.12.1) thread 0:
#000: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5F.c line 532 in H5Fcreate(): unable to create file
major: File accessibility
minor: Unable to open file
#1: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5VLcallback.c line 3282 in H5VL_file_create(): file create failed
major: Virtual Object Layer
minor: Unable to create file
#2: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5VLcallback.c line 3248 in H5VL__file_create(): file create failed
major: Virtual Object Layer
minor: Unable to create file
#3: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5VLnative_file.c line 63 in H5VL__native_file_create(): unable to create file
major: File accessibility
minor: Unable to open file
#4: /home/brian/dev/libhdf5-wasm/wasm_build/1_12_1/_deps/hdf5-src/src/H5Fint.c line 1858 in H5F_open(): unable to truncate a major: File accessibility
minor: Unable to open file
Once I get the error, all requests are getting failed after that point with following error.
RuntimeError: memory access out of bounds
The only thing that worked for me was trying to restart.
I wonder whether anyone can help me to fix this.
Thanks!
Braveen.
The text was updated successfully, but these errors were encountered: