-
Notifications
You must be signed in to change notification settings - Fork 127
Make valgrind check more useful #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hmm... Waht's the story behind the extra CPython noise? Shouldn't this come from |
AFAIK the valgrind suppression file is designed for debug builds of CPython. I guess some rules don't match for normal builds. Some rules may be outdated or missing, too. The leak is not a bug in NSS, but a deliberate design choice in OpenLDAP's NSS module. It leaks one string one time only.
|
Thanks for the explanations! The NSS one is fine; it looks like a one-time thing. But the CPython list looks like it'll often change as CPython implementation details get adjusted. If CPython doesn't maintain this for non-debug builds, neither do I want to maintain it here. |
* make valgrind now fails when valgrind detects a definitive memory leak * suppress a known memory leak in OpenLDAP's NSS module Signed-off-by: Christian Heimes <cheimes@redhat.com>
Fair enough, I've removed the CPython stuff. It's not that important because they are just possible leaks. |
Looks good, thanks! It does cause
|
@encukou The two errors should have been ignored by suppression rules. But the rules don't match on your system. I can only assume that the rules require debug symbols and you don't have debug symbols installed. |
Makes sense, thanks! |
Signed-off-by: Christian Heimes cheimes@redhat.com