[asterisk-bugs] [Asterisk 0016007]: [patch] Clean valgrind output by suppressing false errors

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 22 16:58:28 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16007 
====================================================================== 
Reported By:                atis
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   16007
Category:                   Documentation
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 221627 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-10-01 13:06 CDT
Last Modified:              2009-10-22 16:58 CDT
====================================================================== 
Summary:                    [patch] Clean valgrind output by suppressing false
errors
Description: 
There are some false errors that are flooding valgrind log. 

Attached small valgrind suppression file that filters out most common
errors. It's supposed to be placed in utils/asterisk.supp but if other dir
is chosen, it should be updated in valgrind.txt

Also updated valgrind.txt so that 
* it doesn't write malloc_debug.txt from stderr (which never ever
contained anything useful).
* --log-fd is used instead of --log-file. This helps to avoid flood with
"Use --log-fd=<number> to select an alternative log fd" messages.




======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016038 Various valgrind errors in 1.6.0.16-rc2
====================================================================== 

---------------------------------------------------------------------- 
 (0112637) svnbot (reporter) - 2009-10-22 16:58
 https://issues.asterisk.org/view.php?id=16007#c112637 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 225487

A   branches/1.6.1/contrib/valgrind.supp
U   branches/1.6.1/doc/valgrind.txt

------------------------------------------------------------------------
r225487 | lmadsen | 2009-10-22 16:58:28 -0500 (Thu, 22 Oct 2009) | 26
lines

Merged revisions 225485 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r225485 | lmadsen | 2009-10-22 16:52:30 -0500 (Thu, 22 Oct 2009) | 19
lines
  
  Merged revisions 225484 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r225484 | lmadsen | 2009-10-22 16:51:52 -0500 (Thu, 22 Oct 2009) | 11
lines
    
    Clean valgrind output by suppressing false errors.
    Update valgrind.txt documentation and add valgrind.supp file in order
to
    allow those who are creating valgrind output to have less false errors
in
    the logfile.
    
    (closes issue https://issues.asterisk.org/view.php?id=16007)
    Reported by: atis
    Patches:
          valgrind.txt.diff uploaded by atis (license 242)
          asterisk2.supp uploaded by atis (license 242)
    Tested by: atis, amorsen
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=225487 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-22 16:58 svnbot         Checkin                                      
2009-10-22 16:58 svnbot         Note Added: 0112637                          
======================================================================




More information about the asterisk-bugs mailing list