[gmx-developers] valgrind error on grompp

Viveca Lindahl vivecal at kth.se
Fri Oct 3 16:49:36 CEST 2014


I happened to run 'valgrind grompp' on with release-5-0 (a349e4) and get 1
error:

==31504== 1 errors in context 1 of 1:
==31504== Syscall param write(buf) points to uninitialised byte(s)
==31504==    at 0x5D783B0: __write_nocancel (syscall-template.S:81)
==31504==    by 0x5D05A82: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1261)
==31504==    by 0x5D06F5B: _IO_do_write@@GLIBC_2.2.5 (fileops.c:538)
==31504==    by 0x5D0530F: _IO_file_sync@@GLIBC_2.2.5 (fileops.c:892)
==31504==    by 0x5CFA9D1: fflush (iofflush.c:41)
==31504==    by 0x5D26AE: gmx_fio_close (in
/data/viveca/programs/awh/bin/gmx_5)
==31504==    by 0x4DFE81: gmx_grompp (in
/data/viveca/programs/awh/bin/gmx_5)
==31504==    by 0x5321DD: gmx::CommandLineModuleManager::run(int, char**)
(in /data/viveca/programs/awh/bin/gmx_5)
==31504==    by 0x48C434: main (in /data/viveca/programs/awh/bin/gmx_5)
==31504==  Address 0x404d050 is not stack'd, malloc'd or (recently) free'd
==31504==  Uninitialised value was created by a stack allocation
==31504==    at 0x4DACFB: gmx_grompp (in
/data/viveca/programs/awh/bin/gmx_5)

... comments?


Viveca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20141003/9de86b8c/attachment.html>


More information about the gromacs.org_gmx-developers mailing list