Hello again, i have played a bit more:
Also building files on Mac/Linux using Matlab
a=zeros(545869,4);
hdf5write('testfile','/testmatrix',a);
generates files wich are not readable on windows but work perfectly on
Mac/Linux. Also i tried the new hdf5 1.8.7 which has a slightly more verbose
output:
HDF5-DIAG: Error detected in HDF5 (1.8.7) thread 0:
#000: ..\..\..\src\H5Dio.c line 174 in H5Dread(): can't read data
major: Dataset
minor: Read failed
#001: ..\..\..\src\H5Dio.c line 448 in H5D_read(): can't read data
major: Dataset
minor: Read failed
#002: ..\..\..\src\H5Dchunk.c line 1758 in H5D_chunk_read(): chunked read fail
ed
major: Dataset
minor: Read failed
#003: ..\..\..\src\H5Dselect.c line 275 in H5D_select_read(): read error
major: Dataspace
minor: Read failed
#004: ..\..\..\src\H5Dselect.c line 210 in H5D_select_io(): read error
major: Dataspace
minor: Read failed
#005: ..\..\..\src\H5Dcontig.c line 890 in H5D_contig_readvv(): can't perform
vectorized sieve buffer read
major: Dataset
minor: Can't operate on object
#006: ..\..\..\src\H5V.c line 1454 in H5V_opvv(): can't perform operation
major: Internal error (too specific to document in detail)
minor: Can't operate on object
#007: ..\..\..\src\H5Dcontig.c line 691 in H5D_contig_readvv_sieve_cb(): block
read failed
major: Dataset
minor: Read failed
#008: ..\..\..\src\H5Fio.c line 113 in H5F_block_read(): read through metadata
accumulator failed
major: Low-level I/O
minor: Read failed
#009: ..\..\..\src\H5Faccum.c line 254 in H5F_accum_read(): driver read reques
t failed
major: Low-level I/O
minor: Read failed
#010: ..\..\..\src\H5FDint.c line 142 in H5FD_read(): driver read request fail
ed
major: Virtual File Layer
minor: Read failed
#011: ..\..\..\src\H5FDwindows.c line 827 in H5FD_windows_read(): file read fa
iled, errno = 22, error message = 'Invalid argument'
major: Low-level I/O
minor: Read failed
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
This looks like a HDF5 Bug to me.
regards
Stefan
> Hi all,
>
> i have a problem with hdf5 version 1.8.6. (32 bits) and Visual c++ 2008.
> i have several files which contain a 4x545869 double - matrix datasset. I can
> open/read/write these files on linux and mac os, but windows refuses to work
> with these files.
>
> I get the following call stack:
>
> HDF5-DIAG: Error detected in HDF5 (1.8.6) thread 0:
> #000: ..\..\..\src\H5Dio.c line 174 in H5Dread(): can't read data
> major: Dataset
> minor: Read failed
> #001: ..\..\..\src\H5Dio.c line 448 in H5D_read(): can't read data
> major: Dataset
> minor: Read failed
> #002: ..\..\..\src\H5Dcontig.c line 520 in H5D_contig_read(): contiguous read
> failed
> major: Dataset
> minor: Read failed
> #003: ..\..\..\src\H5Dselect.c line 275 in H5D_select_read(): read error
> major: Dataspace
> minor: Read failed
> #004: ..\..\..\src\H5Dselect.c line 210 in H5D_select_io(): read error
> major: Dataspace
> minor: Read failed
> #005: ..\..\..\src\H5Dcontig.c line 692 in H5D_contig_readvv(): block read
> fai
> led
> major: Low-level I/O
> minor: Read failed
> #006: ..\..\..\src\H5Fio.c line 113 in H5F_block_read(): read through
> metadata
> accumulator failed
> major: Low-level I/O
> minor: Read failed
> #007: ..\..\..\src\H5Faccum.c line 254 in H5F_accum_read(): driver read
> reques
> t failed
> major: Low-level I/O
> minor: Read failed
> #008: ..\..\..\src\H5FDint.c line 142 in H5FD_read(): driver read request
> fail
> ed
> major: Virtual File Layer
> minor: Read failed
> #009: ..\..\..\src\H5FDwindows.c line 827 in H5FD_windows_read(): file read
> fa
> iled, errno = 22, error message = 'Invalid argument'
> major: Low-level I/O
> minor: Read failed
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
>
> Is there a way to detect whats wrong with the files? like an integrity
> checking tool?
>
> regards
>
> stefan
>
>
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org