segmentation fault in unit-test Field.PeriodicBC
Summary
Segmentation fault in unit-test Field.PeriodicBC
on Merlin with the following toolchain:
module load cmake/3.15.5
module load gnuplot/5.2.7
module load Python/3.6.3
module load gcc/8.4.0
module load gsl/2.6
module load OpenBLAS/0.3.10
module load gtest/1.10.0
module load openmpi/3.1.6
module load amrex/18.07_3d
module load boost/1.70.0
module load hdf5/1.10.6
module load parmetis/4.0.3
module load H5hut/2.0.0rc6
module load trilinos/12.18.1
Same problem on macOS and Clang/10 instead of gcc/8.4.0.
But no problem on opalrunner.psi.ch
!
Steps to reproduce
Login to one of the login-node of Merlin, compile OPAL with above modules and run unit.tests or run on macOS 10.15 with current Xcode.
What is the current bug behavior?
Segmentation fault in Field.PeriodicBC
[ RUN ] Field.PeriodicBC
[merlin-l-002:20033] *** Process received signal ***
[merlin-l-002:20033] Signal: Segmentation fault (11)
[merlin-l-002:20033] Signal code: Address not mapped (1)
[merlin-l-002:20033] Failing at address: 0xffffffffffffffe8
[merlin-l-002:20033] [ 0] /lib64/libpthread.so.0(+0xf630)[0x7fbc1aa4b630]
[merlin-l-002:20033] [ 1] /opt/psi/Programming/gcc/8.4.0/lib64/libstdc++.so.6(_ZNSo6sentryC2ERSo+0x16)[0x7fbc18a479c6]
[merlin-l-002:20033] [ 2] /opt/psi/Programming/gcc/8.4.0/lib64/libstdc++.so.6(_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l+0x28)[0x7fbc18a47fd8]
[merlin-l-002:20033] [ 3] /opt/psi/Programming/gcc/8.4.0/lib64/libstdc++.so.6(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc+0x27)[0x7fbc18a483e7]
[merlin-l-002:20033] [ 4] opal_unit_tests(_ZN15FieldDebugPrintIdLj3EE5printER9BareFieldIdLj3EERK7NDIndexILj3EER6Informb+0x8fb)[0x136ef7b]
[merlin-l-002:20033] [ 5] opal_unit_tests(_Z4sfp3IdEvR9BareFieldIT_Lj3EEiiiiiiiiib+0x2dc)[0x136ff9c]
[merlin-l-002:20033] [ 6] opal_unit_tests(_Z3fp3IdEvR9BareFieldIT_Lj3EEb+0x75)[0x13705f5]
[merlin-l-002:20033] [ 7] opal_unit_tests(_ZN21Field_PeriodicBC_Test8TestBodyEv+0x996)[0x13960b6]
[merlin-l-002:20033] [ 8] opal_unit_tests(_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc+0x3a)[0x370176a]
[merlin-l-002:20033] [ 9] opal_unit_tests(_ZN7testing4Test3RunEv+0xba)[0x36f69ca]
[merlin-l-002:20033] [10] opal_unit_tests(_ZN7testing8TestInfo3RunEv+0x118)[0x36f6b18]
[merlin-l-002:20033] [11] opal_unit_tests(_ZN7testing8TestCase3RunEv+0xb5)[0x36f7135]
[merlin-l-002:20033] [12] opal_unit_tests(_ZN7testing8internal12UnitTestImpl11RunAllTestsEv+0x44c)[0x36f855c]
[merlin-l-002:20033] [13] opal_unit_tests(_ZN7testing8UnitTest3RunEv+0x51)[0x36f8651]
[merlin-l-002:20033] [14] opal_unit_tests(main+0xa8)[0xeb9a98]
[merlin-l-002:20033] [15] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fbc18367545]
[merlin-l-002:20033] [16] opal_unit_tests[0xeec448]
[merlin-l-002:20033] *** End of error message ***
./run-tests: line 305: 20033 Segmentation fault ${tests_bin} "${unittests_args[@]}"