********>Bugfix 5: Author: Scott Brozell Date: September 17, 2007 Program: dock6 Description: DOCK3.5 score frees some memory twice during program exit. This has been innocuous, but recent, probably 2.5 and later, GNU C libraries detect the error and abort. Here is the start of the error: *** glibc detected *** ./dock6: double free or corruption (!prev): Fix: make the following changes to the file src/dock/score_chemgrid.cpp ------------------------------------------------------------------------- *** src/dock/score_chemgrid.cpp 15 Dec 2006 01:34:41 -0000 1.22.2.2 --- src/dock/score_chemgrid.cpp 17 Sep 2007 20:22:51 -0000 *************** *** 268,276 **** phi = NULL; - vdwA = NULL; - vdwB = NULL; - } /************************************************/ Chemgrid_Score::~Chemgrid_Score() --- 268,273 ---- *************** *** 285,293 **** delete[]phi; - delete[]vdwA; - delete[]vdwB; - } /************************************************/ void --- 282,287 ---- -------------------------------------------------------------------------- Workaround: ignore the error termination.