mdrun memory error
Created an attachment (id=309)
tpr of structure, which causes mdrun crash
I downloaded gromacs 4.0 official release,
compiled with gcc 4.1.2 and icc 10.1, single and double precision.
- glibc detected * free(): invalid next size (normal): 0x0000000000846c20 *
The error appears only when md integrator is used (minimization works fine) and only when some coordinates are used (I have a set of 4 similar DNA structures, from which two works well). Problems are with all mdruns compiled with different compilers as well as with single and double precision.
Gromacs 3.3 works with all 4 structures well.
#1 Updated by Berk Hess almost 11 years ago
This segv is probably caused by line 575 of splitter.c
where isid is -1.
I don't understand this merge_sid code completely.
I rev 1.18 you changed the check on line 574 from (isid >= 0)
to (nsid >= 0).
There should at least be a check for isid >= 0.
Do we also need the nsid >= 0 check?