Run test.exe
Constructing file…done.
Flushing…done.
Copying…
and then the program crashes without back-trace.
Reproducible also on debug version
(HDF5 sources needed):
Run make-debug.bat: make-debug.bat (1.3 KB)
(modify to specify HDF5 sources location and compiler)
Run test.exe
I believe the code in lz4_plugin.c is written correctly, but could you please review?
The issue becomes critical as it was not addressed since 1.10.2 release.
Reproducible on HDF5 1.10.2+ and Windows, 32- and 64-bit, any Microsoft
compiler version.
Not reproducible: HDF5 1.10.1 or earlier, GNU/Linux.
Running “git bisect” gives:
[980d5b4266133490192ceb10ea13e320532c6f03] Fix for HDFFV-7853 H5Ocopy
doesn’t work with open identifiers
Changes made so that raw data for dataset objects are copied from cached
info when possible instead of flushing objects to file and read them
back in again.
with cb_struct being
{func=0xcccccccccccccccc, op_data=0xcccccccccccccccc}
in
H5D__chunk_copy_cb(const H5D_chunk_rec_t * chunk_rec, void * _udata),
line 5823
in that revision.
In HEAD, the crash happens, equally reproducibly, in
H5D__chunk_copy_cb(const H5D_chunk_rec_t * chunk_rec, void * _udata),
line 5747
It is embarrassing and we need to do some soul searching here - how did we allow digress in the code, but I am afraid, the fix will need to wait until 1.10.5 later in the year.
It is embarrassing and we need to do some soul searching here - how did
we allow digress in the code, but I am afraid, the fix will need to wait
until 1.10.5 later in the year.
I think it might have helped if you checked earlier, when I reported the
issue for the first time (at times of 1.10.2 when the bug first
manifested itself)
But please keep me updated once the issue is localized and eliminated it
the master branch!