[ET Trac] [Einstein Toolkit] #1419: Cactus should produce no errors in Valgrind

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Aug 6 08:45:59 CDT 2013


#1419: Cactus should produce no errors in Valgrind
-------------------------+--------------------------------------------------
 Reporter:  sbrandt      |       Owner:                     
     Type:  enhancement  |      Status:  new                
 Priority:  minor        |   Milestone:  Cactus_4.3.0       
Component:  Cactus       |     Version:  development version
 Keywords:               |  
-------------------------+--------------------------------------------------
 Valgrind is a useful tool for identifying a large number of coding
 problems. Currently, running Cactus under valgrind produces a large number
 of spurious errors due to the implementation of the string library.
 Attempts to use the valgrind suppression mechanism to eliminate them have
 proven difficult.

 However, these errors all go away if we simply replace all calls to
 strdup() with calls to util_Strdup(), a function which is already part of
 Cactus. Making this replacement shouldn't have any negative impacts, and
 it would make valgrind more usable.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1419>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list