{"action":"created","issue":{"url":"https://api.github.com/repos/genometools/genometools/issues/666","labels_url":"https://api.github.com/repos/genometools/genometools/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/genometools/genometools/issues/666/comments","events_url":"https://api.github.com/repos/genometools/genometools/issues/666/events","html_url":"https://github.com/genometools/genometools/issues/666","id":109092317,"number":666,"title":"Valgrind reports","user":{"login":"standage","id":566823,"avatar_url":"https://avatars.githubusercontent.com/u/566823?v=3","gravatar_id":"","url":"https://api.github.com/users/standage","html_url":"https://github.com/standage","followers_url":"https://api.github.com/users/standage/followers","following_url":"https://api.github.com/users/standage/following{/other_user}","gists_url":"https://api.github.com/users/standage/gists{/gist_id}","starred_url":"https://api.github.com/users/standage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standage/subscriptions","organizations_url":"https://api.github.com/users/standage/orgs","repos_url":"https://api.github.com/users/standage/repos","events_url":"https://api.github.com/users/standage/events{/privacy}","received_events_url":"https://api.github.com/users/standage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-30T13:48:41Z","updated_at":"2015-09-30T14:16:27Z","closed_at":null,"body":"It has become increasingly difficult to do memory debugging for my software that links to libgenometools on any system newer than Ubuntu 12.04. On Ubuntu 14.xx, Debian Jessie, and the latest Fedoras, running valgrind will generate a ton of error messages. For the most part these look like they are related to very core system functions like malloc and stuff like that.\r\n\r\nAre there really widespread issues with memory management that are pervasive across different Linux distributions? Or are these false positives?\r\n\r\nEither way, I've tried creating suppressions files (they're massive and I don't have time to manually inspect them) but it never seems to be a comprehensive solution.\r\n\r\nI know GenomeTools has its own init and clean functions, which IIRC do some memory auditing. Is all the GT memory debugging included in the library or do you ever use external tools like Valgrind?"},"comment":{"url":"https://api.github.com/repos/genometools/genometools/issues/comments/144424331","html_url":"https://github.com/genometools/genometools/issues/666#issuecomment-144424331","issue_url":"https://api.github.com/repos/genometools/genometools/issues/666","id":144424331,"user":{"login":"standage","id":566823,"avatar_url":"https://avatars.githubusercontent.com/u/566823?v=3","gravatar_id":"","url":"https://api.github.com/users/standage","html_url":"https://github.com/standage","followers_url":"https://api.github.com/users/standage/followers","following_url":"https://api.github.com/users/standage/following{/other_user}","gists_url":"https://api.github.com/users/standage/gists{/gist_id}","starred_url":"https://api.github.com/users/standage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standage/subscriptions","organizations_url":"https://api.github.com/users/standage/orgs","repos_url":"https://api.github.com/users/standage/repos","events_url":"https://api.github.com/users/standage/events{/privacy}","received_events_url":"https://api.github.com/users/standage/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T14:16:26Z","updated_at":"2015-09-30T14:16:26Z","body":"Here is some valgrind output from Debian Jessie with `--leak-check=full --show-reachable=yes --gen-supressions=all`.\r\n\r\nhttps://gist.github.com/standage/f7013bd225607acc4d49"}}