{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11035","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11035/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11035/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11035/events","html_url":"https://github.com/bitcoin/bitcoin/pull/11035","id":249817860,"number":11035,"title":"contrib: Add Valgrind suppressions file","user":{"login":"practicalswift","id":7826565,"avatar_url":"https://avatars3.githubusercontent.com/u/7826565?v=4","gravatar_id":"","url":"https://api.github.com/users/practicalswift","html_url":"https://github.com/practicalswift","followers_url":"https://api.github.com/users/practicalswift/followers","following_url":"https://api.github.com/users/practicalswift/following{/other_user}","gists_url":"https://api.github.com/users/practicalswift/gists{/gist_id}","starred_url":"https://api.github.com/users/practicalswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/practicalswift/subscriptions","organizations_url":"https://api.github.com/users/practicalswift/orgs","repos_url":"https://api.github.com/users/practicalswift/repos","events_url":"https://api.github.com/users/practicalswift/events{/privacy}","received_events_url":"https://api.github.com/users/practicalswift/received_events","type":"User","site_admin":false},"labels":[{"id":231994551,"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Scripts%20and%20tools","name":"Scripts and tools","color":"ffffee","default":false},{"id":62963516,"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Tests","name":"Tests","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-12T15:17:46Z","updated_at":"2017-08-19T18:11:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/11035","html_url":"https://github.com/bitcoin/bitcoin/pull/11035","diff_url":"https://github.com/bitcoin/bitcoin/pull/11035.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/11035.patch"},"body":"Includes known Valgrind warnings in our dependencies that cannot be fixed in-tree.\r\n\r\nExample use:\r\n\r\n```\r\n$ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin\r\n$ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \\\r\n      --show-leak-kinds=all src/test/test_bitcoin --log_level=test_suite\r\n```\r\n\r\nRunning with the suppressions file under Ubuntu 16.04:\r\n\r\n```\r\n$ valgrind --suppressions=contrib/valgrind.supp --leak-check=full --show-leak-kinds=all src/test/test_bitcoin --log_level=test_suite --run_test=wallet_crypto\r\n…\r\n==10769== LEAK SUMMARY:\r\n==10769==    definitely lost: 0 bytes in 0 blocks\r\n==10769==    indirectly lost: 0 bytes in 0 blocks\r\n==10769==      possibly lost: 0 bytes in 0 blocks\r\n==10769==    still reachable: 0 bytes in 0 blocks\r\n==10769==         suppressed: 72,704 bytes in 1 blocks\r\n```\r\n\r\nRunning without the suppressions file under Ubuntu 16.04:\r\n\r\n```\r\n$ valgrind --leak-check=full --show-leak-kinds=all src/test/test_bitcoin --log_level=test_suite --run_test=wallet_crypto\r\n…\r\n==10724== 72,704 bytes in 1 blocks are still reachable in loss record 1 of 1\r\n==10724==    at 0x4C2DBF6: malloc (vg_replace_malloc.c:299)\r\n==10724==    by 0x6F74EFF: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)\r\n==10724==    by 0x40106B9: call_init.part.0 (dl-init.c:72)\r\n==10724==    by 0x40107CA: call_init (dl-init.c:30)\r\n==10724==    by 0x40107CA: _dl_init (dl-init.c:120)\r\n==10724==    by 0x4000C69: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so)\r\n==10724==    by 0x2: ???\r\n==10724==    by 0x1FFF0006D2: ???\r\n==10724==    by 0x1FFF0006E8: ???\r\n==10724==    by 0x1FFF0006FF: ???\r\n==10724==\r\n==10724== LEAK SUMMARY:\r\n==10724==    definitely lost: 0 bytes in 0 blocks\r\n==10724==    indirectly lost: 0 bytes in 0 blocks\r\n==10724==      possibly lost: 0 bytes in 0 blocks\r\n==10724==    still reachable: 72,704 bytes in 1 blocks\r\n==10724==         suppressed: 0 bytes in 0 blocks\r\n```"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/323539028","html_url":"https://github.com/bitcoin/bitcoin/pull/11035#issuecomment-323539028","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11035","id":323539028,"user":{"login":"luke-jr","id":1095675,"avatar_url":"https://avatars2.githubusercontent.com/u/1095675?v=4","gravatar_id":"","url":"https://api.github.com/users/luke-jr","html_url":"https://github.com/luke-jr","followers_url":"https://api.github.com/users/luke-jr/followers","following_url":"https://api.github.com/users/luke-jr/following{/other_user}","gists_url":"https://api.github.com/users/luke-jr/gists{/gist_id}","starred_url":"https://api.github.com/users/luke-jr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke-jr/subscriptions","organizations_url":"https://api.github.com/users/luke-jr/orgs","repos_url":"https://api.github.com/users/luke-jr/repos","events_url":"https://api.github.com/users/luke-jr/events{/privacy}","received_events_url":"https://api.github.com/users/luke-jr/received_events","type":"User","site_admin":false},"created_at":"2017-08-19T18:11:52Z","updated_at":"2017-08-19T18:11:52Z","body":"Shouldn't there be a bunch for libsecp256k1 (maybe they ought to go in its repo)?"}}
{"actor":{"display_login":"luke-jr"}}