"stack smashing detected" for direct CCSD (development version)


Click here for full thread
Clicked A Few Times
I compiled the development copy obtained on 17 Aug 2017, and the code was built using ARMCI_NETWORK=MPI-PR, and other environment variables have been described in my another post "NWChem (development version) on KNL+Infiniband"

The job is a CCSD(T)/cc-pvqz for (H2O)8 single point using both TCE and Direct method (input file has also been shown in the aforementioned post). The TCE job can finished without error, but I got "stack smashing detected" error for direct calculation.

-------------------------------------------------------------------------
iter correlation delta rms T2 Non-T2 Main
energy energy error ampl ampl Block
time time time
-------------------------------------------------------------------------
forrtl: severe (174): SIGSEGV, segmentation fault occurred
forrtl: severe (174): SIGSEGV, segmentation fault occurred
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
forrtl: severe (174): SIGSEGV, segmentation fault occurred
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
...
forrtl: severe (174): SIGSEGV, segmentation fault occurred
*** longjmp causes uninitialized stack frame ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x2aaab1cd6047]
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
...
======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x2aaab1cd6047]
/lib64/libc.so.6(+0x10ef6d)[0x2aaab1cd5f6d]
/lib64/libc.so.6(__longjmp_chk+0x29)[0x2aaab1cd5ec9]
/home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem[0x544dc12]
/lib64/libpthread.so.0(+0xf370)[0x2aaaaf261370]
/home/users/app/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64/libiomp5.so(__kmpc_dispatch_next_8+0x42)[0x2aaaaef0db12]
*** stack smashing detected ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
*** longjmp causes uninitialized stack frame ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
forrtl: severe (174): SIGSEGV, segmentation fault occurred
forrtl: severe (174): SIGSEGV, segmentation fault occurred
*** longjmp causes uninitialized stack frame ***: /home/users/astar/ihpc/chiensh/nwchem-29377/bin/LINUX64/nwchem terminated
======= Backtrace: =========