<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br>
<br>
That is another small bug in the 4.0 release.<br>
I had already fixed this for 4.0.1.<br>
<br>
Berk<br><br><br>&gt; Date: Wed, 5 Nov 2008 17:19:34 -0500<br>&gt; From: jalemkul@vt.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] Error with editconf 4.0<br>&gt; <br>&gt; <br>&gt; Hi all,<br>&gt; <br>&gt; I was trying to dump out a .gro file from a .tpr under Gromacs 4.0, but editconf <br>&gt; gave a Segmentation Fault.  The complete output is below:<br>&gt; <br>&gt; editconf -f npt.tpr -o in.gro<br>&gt; <br>&gt; &lt;snip&gt;<br>&gt; <br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/aminoacids.dat<br>&gt; WARNING: masses will be determined based on residue and atom names,<br>&gt;           this can deviate from the real mass of the atom type<br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/atommass.dat<br>&gt; Entries in atommass.dat: 178<br>&gt; WARNING: vdwradii will be determined based on residue and atom names,<br>&gt;           this can deviate from the real mass of the atom type<br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/vdwradii.dat<br>&gt; Entries in vdwradii.dat: 31<br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/dgsolv.dat<br>&gt; Entries in dgsolv.dat: 7<br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/electroneg.dat<br>&gt; Entries in electroneg.dat: 71<br>&gt; Opening library file /usr/local/gromacs/share/gromacs/top/elements.dat<br>&gt; Entries in elements.dat: 218<br>&gt; Reading file npt.tpr, VERSION 4.0 (single precision)<br>&gt; Reading file npt.tpr, VERSION 4.0 (single precision)<br>&gt; editconf(12411) malloc: *** error for object 0x1006e00: incorrect checksum for <br>&gt; freed object - object was probably modified after being freed.<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x100ce00: incorrect checksum for <br>&gt; freed object - object was probably modified after being freed.<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x9070b0: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x1002400: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x100ce00: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x907330: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x907ad0: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x907ba0: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x907c40: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x130000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; Read 138271 atoms<br>&gt; Volume: 1701.6 nm^3, corresponds to roughly 765700 electrons<br>&gt; Velocities found<br>&gt; editconf(12411) malloc: *** error for object 0x100ce00: incorrect checksum for <br>&gt; freed object - object was probably modified after being freed.<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12411) malloc: *** error for object 0x907c50: incorrect checksum for <br>&gt; freed object - object was probably modified after being freed.<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; Segmentation fault<br>&gt; <br>&gt; No output is generated, obviously.  Interestingly, if I issue the same command <br>&gt; with editconf 4.0 on a .tpr file generated under Gromacs 3.3.3, I get the following:<br>&gt; <br>&gt; &lt;snip&gt;<br>&gt; <br>&gt; Reading file npt.tpr, VERSION 3.3.3 (single precision)<br>&gt; Reading file npt.tpr, VERSION 3.3.3 (single precision)<br>&gt; editconf(12421) malloc: *** error for object 0x2316000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0xf8c000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x27d6000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2cee000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x296e000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x29f6000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2bde000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x1006a00: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0xfb4000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2c34000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x180000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0xfdd000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2c66000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2ca1000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x1002400: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x9071c0: double free<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; editconf(12421) malloc: *** error for object 0x2d24000: pointer being freed was <br>&gt; not allocated<br>&gt; *** set a breakpoint in malloc_error_break to debug<br>&gt; Read 138271 atoms<br>&gt; Volume: 2001.49 nm^3, corresponds to roughly 900600 electrons<br>&gt; Velocities found<br>&gt; <br>&gt; gcq#163: "If You Don't Like Cool Quotes Check Your GMXRC File" (Your Sysadmin)<br>&gt; <br>&gt; The result is that in.gro is generated from the 3.3.3 .tpr file.  Any ideas <br>&gt; what's going on?<br>&gt; <br>&gt; Thanks,<br>&gt; Justin<br>&gt; <br>&gt; -- <br>&gt; ========================================<br>&gt; <br>&gt; Justin A. Lemkul<br>&gt; Graduate Research Assistant<br>&gt; Department of Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; <br>&gt; ========================================<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>