[asterisk-bugs] [Asterisk 0016007]: [patch] Clean valgrind output by suppressing false errors
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 8 07:19:03 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16007
======================================================================
Reported By: atis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16007
Category: Documentation
Reproducibility: N/A
Severity: tweak
Priority: normal
Status: ready for review
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:
======================================================================
Date Submitted: 2009-10-01 13:06 CDT
Last Modified: 2009-10-08 07:19 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
======================================================================
----------------------------------------------------------------------
(0112048) atis (reporter) - 2009-10-08 07:19
https://issues.asterisk.org/view.php?id=16007#c112048
----------------------------------------------------------------------
amorsen: regarding log of https://issues.asterisk.org/view.php?id=16038 i
wonder what are your compile flags.
Could You paste output of "core show settings"?
This dlclose/load_modules should be handled by suppression file, and at
0x47ADA7 should be load_dynamic_module.
==19410== Invalid read of size 1
==19410== at 0x4014881: _dl_close (in /lib64/ld-2.10.1.so)
==19410== by 0x400E705: _dl_catch_error (in /lib64/ld-2.10.1.so)
==19410== by 0x576D2BB: _dlerror_run (in /lib64/libdl-2.10.1.so)
==19410== by 0x576D01E: dlclose (in /lib64/libdl-2.10.1.so)
==19410== by 0x47ADA7: (within /usr/sbin/asterisk)
==19410== by 0x47B72A: (within /usr/sbin/asterisk)
==19410== by 0x47BC85: load_modules (in /usr/sbin/asterisk)
==19410== by 0x42E483: main (in /usr/sbin/asterisk)
lmadsen: i wouldn't call this a patch, it's merely a cleaner output of
debug :)
Issue History
Date Modified Username Field Change
======================================================================
2009-10-08 07:19 atis Note Added: 0112048
======================================================================
More information about the asterisk-bugs
mailing list