<div class="markdown_content"><p>Steps to accomplish this:</p>
<ul>
<li>add a COMPILE_WITH_DEB UG variable in the CWB makefile, which when defined causes GCC to run with the -0g options (no optimisation, include debug info)</li>
<li>modify the test engine in CWB-Perl to ad a "valgrinding" option, which when true will run all commands within valgrind</li>
</ul>
<p>Going from <br/>
<em>COMMAND</em><br/>
to <br/>
valgrind --leak-check=yes <em>COMMAND</em></p>
<hr/>
<p><strong> <a class="alink" href="https://sourceforge.net/p/cwb/bugs/40/">[bugs:#40]</a> Memory leak check on cwb utils and cqp</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> TODO-3.5<br/>
<strong>Created:</strong> Fri Sep 03, 2010 10:56 AM UTC by Andrew Hardie<br/>
<strong>Last Updated:</strong> Sun Jul 31, 2011 10:56 PM UTC<br/>
<strong>Owner:</strong> Andrew Hardie</p>
<p>We need to run CQP and the CWB tools through Valgrind on Linux, in order to see whether we have big memory leaks, buffer overflows or looming segmentation faults.</p>
<hr/>
<p>Sent from sourceforge.net because cwb@sslmit.unibo.it is subscribed to <a href="https://sourceforge.net/p/cwb/bugs/">https://sourceforge.net/p/cwb/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/cwb/admin/bugs/options.">https://sourceforge.net/p/cwb/admin/bugs/options.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>