{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/632","labels_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/632/comments","events_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/632/events","html_url":"https://github.com/rust-lang/rust-by-example/issues/632","id":100238997,"number":632,"title":"memory leak in panic.rs","user":{"login":"sumproxy","id":562907,"avatar_url":"https://avatars.githubusercontent.com/u/562907?v=3","gravatar_id":"","url":"https://api.github.com/users/sumproxy","html_url":"https://github.com/sumproxy","followers_url":"https://api.github.com/users/sumproxy/followers","following_url":"https://api.github.com/users/sumproxy/following{/other_user}","gists_url":"https://api.github.com/users/sumproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/sumproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumproxy/subscriptions","organizations_url":"https://api.github.com/users/sumproxy/orgs","repos_url":"https://api.github.com/users/sumproxy/repos","events_url":"https://api.github.com/users/sumproxy/events{/privacy}","received_events_url":"https://api.github.com/users/sumproxy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-11T06:42:41Z","updated_at":"2015-08-12T04:09:50Z","closed_at":null,"body":"```\r\nrustc check.rs && valgrind --leak-check=full ./check\r\n==17032== Memcheck, a memory error detector\r\n==17032== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.\r\n==17032== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info\r\n==17032== Command: ./check\r\n==17032== \r\n--17032-- ./check:\r\n--17032-- dSYM directory is missing; consider using --dsymutil=yes\r\nthread '<main>' panicked at 'division by zero', check.rs:5\r\n==17032== \r\n==17032== HEAP SUMMARY:\r\n==17032==     in use at exit: 25,266 bytes in 372 blocks\r\n==17032==   total heap usage: 460 allocs, 88 frees, 31,674 bytes allocated\r\n==17032== \r\n==17032== LEAK SUMMARY:\r\n==17032==    definitely lost: 0 bytes in 0 blocks\r\n==17032==    indirectly lost: 0 bytes in 0 blocks\r\n==17032==      possibly lost: 0 bytes in 0 blocks\r\n==17032==    still reachable: 136 bytes in 1 blocks\r\n==17032==         suppressed: 25,130 bytes in 371 blocks\r\n==17032== Reachable blocks (those to which a pointer was found) are not shown.\r\n==17032== To see them, rerun with: --leak-check=full --show-leak-kinds=all\r\n==17032== \r\n==17032== For counts of detected and suppressed errors, rerun with: -v\r\n==17032== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 15 from 15)\r\nbash-3.2$ rustc --version\r\nrustc 1.2.0 (082e47636 2015-08-03)\r\nbash-3.2$ \r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/comments/130154460","html_url":"https://github.com/rust-lang/rust-by-example/issues/632#issuecomment-130154460","issue_url":"https://api.github.com/repos/rust-lang/rust-by-example/issues/632","id":130154460,"user":{"login":"sumproxy","id":562907,"avatar_url":"https://avatars.githubusercontent.com/u/562907?v=3","gravatar_id":"","url":"https://api.github.com/users/sumproxy","html_url":"https://github.com/sumproxy","followers_url":"https://api.github.com/users/sumproxy/followers","following_url":"https://api.github.com/users/sumproxy/following{/other_user}","gists_url":"https://api.github.com/users/sumproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/sumproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumproxy/subscriptions","organizations_url":"https://api.github.com/users/sumproxy/orgs","repos_url":"https://api.github.com/users/sumproxy/repos","events_url":"https://api.github.com/users/sumproxy/events{/privacy}","received_events_url":"https://api.github.com/users/sumproxy/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T04:09:50Z","updated_at":"2015-08-12T04:09:50Z","body":"The code is copied one-to-one\r\nthe system I'm using is \r\nDarwin localhost 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64"}}