GOMC
GOMC copied to clipboard
Segfault on read
This problem is caused by operator error in building the PSF file, but, the code should exit cleanly with an error message, not a segfault. This was caused because the angles section of the PSF field was not populated. segfault_on_read.zip
`Bonds parameter: Atom Types Kb(K) b0(A) CH3 CTL FIX 1.5400 CTL CH2 FIX 1.5400 CTL CH3 FIX 1.5400 CH2 CHL FIX 1.5400 CHL CH3 FIX 1.5400
Angles parameter: Atom Types Ktheta(K) theta0(degree) Dihedrals parameter: Atom Types Kchi(K) n delta(degree)
[New Thread 0x2aaab4407700 (LWP 4565)] [New Thread 0x2aaab478b700 (LWP 4566)]
Program received signal SIGSEGV, Segmentation fault. 0x0000000000569e79 in cbmc::DCHedron::DCHedron(cbmc::DCData*, mol_setup::MolKind const&, unsigned int, unsigned int) ()'