View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000561 | ascend | general | public | 2012-08-09 09:17 | 2017-04-23 18:27 |
Reporter | ben | ||||
Assigned To | ben | ||||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86+ | OS | Linux | OS Version | any |
Product Version | SVN | ||||
Target Version | SVN | Fixed in Version | |||
Summary | 0000561: valgrind usage (permanently open) | ||||
Description | valgrind is a very handy tool to detect programming errors. This issue documents a simple example and steps to make it more useful by suppressing certain messages in common libraries. Ideally this should also be captured by putting ascend/pyascend specific suppression files in svn and using them as part of nightly testing. Example: valgrind --suppressions=/tmp/a4supp --leak-check=full --track-origins=yes --gen-suppressions=all -v ./ascend4 and the content of /tmp/a4supp should be something like:{ memtclv Memcheck:Value8 ... obj:/usr/lib/libtcl8.5.so.0 ... } { memtkv Memcheck:Value8 ... obj:/usr/lib/libtk8.5.so.0 ... } { memtclc Memcheck:Cond ... obj:/usr/lib/libtcl8.5.so.0 ... } { memtkc Memcheck:Cond ... obj:/usr/lib/libtk8.5.so.0 ... } { memtcl Memcheck:Leak ... obj:/usr/lib/libtcl8.5.so.0 ... } { memtk Memcheck:Leak ... obj:/usr/lib/libtk8.5.so.0 ... } { fontconfig Memcheck:Leak ... obj:/usr/lib/libfontconfig.so.1.4.4 ... } | ||||
Steps To Reproduce | run valgrind during all C development. | ||||
Additional Information | see also man page for valgrind and valgrind online documentation. | ||||
Tags | No tags attached. | ||||
|
Hi Ben You might like to include the above suppressions in our trunk suppressions file, code/trunk/tools/valgrind/suppressions as detailed here: [[Valgrind]] Cheers JP |
|
closed; tcl-tk GUI is only minimally used now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-09 09:17 | ben | New Issue | |
2012-08-09 09:17 | ben | Status | new => assigned |
2012-08-09 09:17 | ben | Assigned To | => ben |
2012-08-09 09:53 | john | Note Added: 0000892 | |
2012-08-09 09:54 | john | Note Edited: 0000892 | View Revisions |
2017-04-23 18:27 | john | Status | assigned => closed |
2017-04-23 18:27 | john | Resolution | open => fixed |
2017-04-23 18:27 | john | Note Added: 0001019 |