[gmx-developers] Glibc error in eigio.c when flooding method called and correction

Oliver Lange olange at gwdg.de
Mon Oct 9 17:28:14 CEST 2006

Dear all,

Thank you Zhi for reporting the bug. I just want to point out for 
clarity, although you said it already:
The patch has to be applied to the gromacs library file for eigenvector 
input-output handling

*eigio.c*: between line 110 and line 111

do not change


Guo Zhi wrote:

> Dear All:
>     There is one bug in gromacs 3.3.1 make_edi module before preparing 
> for flooding, located in file eigio.c.
>     When allocating memory for input eigenvalue array, a realloc() 
> error occurs because of wild pointer.
>     goto line 111, before
>     "while (fread_trnheader(status,&head,&bOK))
>     "
>     Insert one line
>     "*eigval=NULL;"
> -- 
> Guo Zhi
> Department of Physics, Fudan University
> Computational Biophysics Group
> Address: No. 220 Handan Rd., Shanghai
> Zip code: 200433
> Phone: 80-021-65643521
> mail: gzgzgz at gmail.com <mailto:gzgzgz at gmail.com> OR 
> 042019028 at fudan.edu.cn <mailto:042019028 at fudan.edu.cn>
>gmx-developers mailing list
>gmx-developers at gromacs.org
>Please don't post (un)subscribe requests to the list. Use the 
>www interface or send it to gmx-developers-request at gromacs.org.

Oliver Lange
MPI for biophysical Chemistry
olange at gwdg.de
Fax: +495512012302
Tel: +495512012305

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20061009/05efdc4e/attachment.html>

More information about the gromacs.org_gmx-developers mailing list