Open barracuda156 opened 1 year ago
I don't see this on macOS with Apple Silicon. I wonder if it's a bug with HDF5 itself for Apple PowerPC?
I don't see this on macOS with Apple Silicon. I wonder if it's a bug with HDF5 itself for Apple PowerPC?
@scivision Well, I will run the test-suite for hdf5
now and update you.
@scivision Indeed may be the case, since while everything else passes, specifically Fortran ones do not:
:info:test Making check in fortran
:info:test Making check in src
:info:test /usr/bin/make check-am
:info:test /usr/bin/make check-TESTS
:info:test make[6]: Nothing to be done for `_exec_check-s'.
:info:test Making check in test
:info:test /usr/bin/make fortranlib_test fflush1 fflush2 fortranlib_test_1_8 fortranlib_test_F03 vol_connector
:info:test make[3]: `fortranlib_test' is up to date.
:info:test make[3]: `fflush1' is up to date.
:info:test make[3]: `fflush2' is up to date.
:info:test make[3]: `fortranlib_test_1_8' is up to date.
:info:test make[3]: `fortranlib_test_F03' is up to date.
:info:test make[3]: `vol_connector' is up to date.
:info:test /usr/bin/make check-TESTS
:info:test ===Serial tests in test begin Mon Apr 24 19:10:34 CST 2023===
:info:test ============================
:info:test Fortran API: Testing fortranlib_test
:info:test ============================
:info:test Fortran API: Test log for fortranlib_test
:info:test ============================
:info:test Program received signal SIGBUS: Access to an undefined portion of a memory object.
:info:test Backtrace for this error:
:info:test #0 0xf19db
:info:test Command terminated abnormally.
:info:test 8.39 real 0.03 user 0.09 sys
:info:test make[5]: *** [fortranlib_test.chkexe_] Error 1
:info:test make[4]: *** [build-check-s] Error 2
Open an issue with upstream: https://github.com/HDFGroup/hdf5/issues/2799
@scivision More detailed output:
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test
==========================
FORTRAN tests
==========================
h5open/h5close test PASSED
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Mounting test PASSED
Reopen test PASSED
Get name test PASSED
File open/close test PASSED
File free space test PASSED
Dataset test PASSED
Extendible dataset test PASSED
Dataset offset with user block PASSED
Program received signal SIGBUS: Access to an undefined portion of a memory object.
Backtrace for this error:
#0 0xf19db
zsh: bus error sudo
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test_F03
==============================
FORTRAN 2003 tests
==============================
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Testing 1-D Array of Compound Datatypes Functionality PASSED
Testing 1-D Array of Compound Array Datatypes Functionality PASSED
Testing 3-D array by dataset, using C_LOC PASSED
Testing writing/reading enum dataset, using C_LOC PASSED
Testing enumeration conversions PASSED
Testing writing/reading bitfield dataset, using C_LOC PASSED
Testing writing/reading opaque datatypes, using C_LOC PASSED
Testing writing/reading object references, using C_LOC PASSED
Testing writing/reading region references, using C_LOC PASSED
Testing writing/reading variable-length datatypes, using C_LOC PASSED
Testing writing/reading variable-string datatypes, using C_LOC PASSED
Testing variable-string write/read, using h5dwrite_f/h5dread_f PASSED
Testing writing/reading string datatypes, using C_LOC PASSED
Testing string datatypes containing control characters PASSED
Testing filling functions PASSED
Program received signal SIGBUS: Access to an undefined portion of a memory object.
Backtrace for this error:
#0 0xf19db
zsh: bus error sudo
36-118% sudo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/fortran/test/fortranlib_test_1_8
==========================
FORTRAN 1.8 tests
==========================
FORTRANLIB_TEST is linked with HDF5 Library version 1.14 release 0
Testing with new file format:
- Tests INT attributes on both datasets and groups PASSED
- Testing with shared attributes:
- Testing INT attributes on both datasets and groups PASSED
- Testing storing attribute with "null" dataspace PASSED
- Testing storing lots of attributes PASSED
- Testing creating objects with attribute creation order PASSED
- Testing compact storage on objects with attribute creation order PASSED
- Testing querying attribute info by index PASSED
- Testing deleting attribute by index PASSED
- Testing Creating Attributes By Name w/o Creation Order Index
- Testing Creating Attributes By Name w/Creation Order Index
- Testing creating attributes by name PASSED
- Testing renaming shared attributes in "compact" & "dense" storage PASSED
- Testing deleting shared attributes in "compact" & "dense" storage PASSED
- Testing without shared attributes:
- Testing INT attributes on both datasets and groups PASSED
- Testing storing attribute with "null" dataspace PASSED
- Testing storing lots of attributes PASSED
- Testing creating objects with attribute creation order PASSED
- Testing compact storage on objects with attribute creation order PASSED
- Testing querying attribute info by index PASSED
- Testing deleting attribute by index PASSED
- Testing Creating Attributes By Name w/o Creation Order Index
- Testing Creating Attributes By Name w/Creation Order Index
- Testing creating attributes by name PASSED
Testing with old file format:
- Tests INT attributes on both datasets and groups PASSED
Testing attributes PASSED
link creation (w/new group format)
Testing building a file with assorted links PASSED
Testing links are correct and building assorted links PASSED
Testing create group with creation order indices, test querying group info PASSED
Testing disabling tracking timestamps for an object PASSED
Testing moving and renaming links preserves their properties PASSED
Testing deleting links by index PASSED
Testing link creation property lists PASSED
Testing object copy PASSED
Testing adding links to a group follow proper "lifecycle" PASSED
Testing groups PASSED
Testing object interface PASSED
Testing data transform PASSED
Testing dataspace encoding and decoding PASSED
Testing scaleoffset filter PASSED
Testing basic generic property list class creation functionality PASSED
============================================
FORTRAN tests completed with 0 error(s) !
============================================
@scivision Could you say what specifically this test depends on?
call h%read('/scalar_int32', i64)
if(i64 /= 42) error stop 'scalar cast int32 => int64'
At this point we are pretty sure it is an upstream bug, but tracking it will be helpful.
What happened?
One test fails and a few are disabled. Could this be fixed?
macOS 10.6,
gcc
12.2.0,cmake
3.26,hdf5
@1.14.0_0+cxx+fortran+gfortran+hl+mpich+szipRelevant log output
```shell Start testing: Apr 20 23:06 CST ---------------------------------------------------------- 1/27 Testing: minimal 1/27 Test: minimal Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test/test_minimal" Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_h5fortran/h5fortran/work/build/test "minimal" start time: Apr 20 23:06 CST Output: ---------------------------------------------------------- minimal: created test_minimal.h5 minimal: created variable minimal: closed test_minimal.h5