{"action":"created","issue":{"url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/86","repository_url":"https://api.github.com/repos/loganmc10/GLupeN64","labels_url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/86/comments","events_url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/86/events","html_url":"https://github.com/loganmc10/GLupeN64/issues/86","id":184892921,"number":86,"title":"Valgrind - 42045 errors from 64 contexts","user":{"login":"orbea","id":4204285,"avatar_url":"https://avatars.githubusercontent.com/u/4204285?v=3","gravatar_id":"","url":"https://api.github.com/users/orbea","html_url":"https://github.com/orbea","followers_url":"https://api.github.com/users/orbea/followers","following_url":"https://api.github.com/users/orbea/following{/other_user}","gists_url":"https://api.github.com/users/orbea/gists{/gist_id}","starred_url":"https://api.github.com/users/orbea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbea/subscriptions","organizations_url":"https://api.github.com/users/orbea/orgs","repos_url":"https://api.github.com/users/orbea/repos","events_url":"https://api.github.com/users/orbea/events{/privacy}","received_events_url":"https://api.github.com/users/orbea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-24T16:40:15Z","updated_at":"2016-10-25T18:14:51Z","closed_at":null,"body":"OS: `Slackware64-current`\r\n`valgrind-3.11.0-x86_64-1_SBo`\r\n`libdrm-2016.09.22_9e24d0c_master-x86_64-1_git`\r\n`mesa-2016.10.19_7b7eb71_master-x86_64-1_git`\r\n`RetroArch-2016.10.23_31180df_master-x86_64-1_git`\r\n`GLupeN64-2016.10.19_e72887c_master-x86_64-1_git`\r\n\r\nSurely this is an upstream issue too, but given the state of the other plugins in mupen64plus the valgrind output looks much more useful with RetroArch. I will make a similar issue for upstream next. Fixing this will be a massive task, but it should point out ways in which GLupeN64 and GLideN64 could improve?\r\n\r\nThis was made using Ocarina of Time, the beginning up until the Zelda logo in the opening animation.\r\n```\r\n==6103== HEAP SUMMARY:\r\n==6103==     in use at exit: 49,058,085 bytes in 8,718 blocks\r\n==6103==   total heap usage: 1,494,277 allocs, 1,485,559 frees, 498,923,041 bytes allocated\r\n==6103==\r\n==6103== LEAK SUMMARY:\r\n==6103==    definitely lost: 20,016 bytes in 313 blocks\r\n==6103==    indirectly lost: 4,181,168 bytes in 583 blocks\r\n==6103==      possibly lost: 44,356,565 bytes in 6,531 blocks\r\n==6103==    still reachable: 500,336 bytes in 1,291 blocks\r\n==6103==         suppressed: 0 bytes in 0 blocks\r\n==6103== Rerun with --leak-check=full to see details of leaked memory\r\n==6103==\r\n==6103== For counts of detected and suppressed errors, rerun with: -v\r\n==6103== Use --track-origins=yes to see where uninitialised values come from\r\n==6103== ERROR SUMMARY: 42045 errors from 64 contexts (suppressed: 0 from 0)\r\n```\r\nValgrind log - http://pastebin.com/BJAZ0qLm"},"comment":{"url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/comments/256117299","html_url":"https://github.com/loganmc10/GLupeN64/issues/86#issuecomment-256117299","issue_url":"https://api.github.com/repos/loganmc10/GLupeN64/issues/86","id":256117299,"user":{"login":"orbea","id":4204285,"avatar_url":"https://avatars.githubusercontent.com/u/4204285?v=3","gravatar_id":"","url":"https://api.github.com/users/orbea","html_url":"https://github.com/orbea","followers_url":"https://api.github.com/users/orbea/followers","following_url":"https://api.github.com/users/orbea/following{/other_user}","gists_url":"https://api.github.com/users/orbea/gists{/gist_id}","starred_url":"https://api.github.com/users/orbea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbea/subscriptions","organizations_url":"https://api.github.com/users/orbea/orgs","repos_url":"https://api.github.com/users/orbea/repos","events_url":"https://api.github.com/users/orbea/events{/privacy}","received_events_url":"https://api.github.com/users/orbea/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T18:14:51Z","updated_at":"2016-10-25T18:14:51Z","body":"While that is true a lot of these issues are only present when GLupeN64 is used, so I think this means that they are connected to GLupeN64 and / or mupen64plus.\r\n\r\nFor comparison here is RetroArch by itself when opening it and then selecting exit in the menu.\r\n```\r\n==21268== HEAP SUMMARY:\r\n==21268==     in use at exit: 542,584 bytes in 1,300 blocks\r\n==21268==   total heap usage: 338,324 allocs, 337,024 frees, 239,213,670 bytes allocated\r\n==21268==\r\n==21268== LEAK SUMMARY:\r\n==21268==    definitely lost: 88 bytes in 3 blocks\r\n==21268==    indirectly lost: 42,160 bytes in 6 blocks\r\n==21268==      possibly lost: 0 bytes in 0 blocks\r\n==21268==    still reachable: 500,336 bytes in 1,291 blocks\r\n==21268==         suppressed: 0 bytes in 0 blocks\r\n==21268== Rerun with --leak-check=full to see details of leaked memory\r\n==21268==\r\n==21268== For counts of detected and suppressed errors, rerun with: -v\r\n==21268== Use --track-origins=yes to see where uninitialised values come from\r\n==21268== ERROR SUMMARY: 23 errors from 2 contexts (suppressed: 1 from 1)\r\n```\r\nLog - http://pastebin.com/GPSr9gBm\r\n\r\nWith `--leak-check=full`.\r\n```\r\n==21429== LEAK SUMMARY:\r\n==21429==    definitely lost: 88 bytes in 3 blocks\r\n==21429==    indirectly lost: 42,160 bytes in 6 blocks\r\n==21429==      possibly lost: 0 bytes in 0 blocks\r\n==21429==    still reachable: 500,336 bytes in 1,291 blocks\r\n==21429==         suppressed: 0 bytes in 0 blocks\r\n==21429== Reachable blocks (those to which a pointer was found) are not shown.\r\n==21429== To see them, rerun with: --leak-check=full --show-leak-kinds=all\r\n==21429== \r\n==21429== For counts of detected and suppressed errors, rerun with: -v\r\n==21429== Use --track-origins=yes to see where uninitialised values come from\r\n==21429== ERROR SUMMARY: 26 errors from 5 contexts (suppressed: 1 from 1)\r\n```\r\nLog - http://pastebin.com/DEWu0g13\r\n\r\n\r\nAnd with snes9x and megaman x until the title screen.\r\n```\r\n==21912== HEAP SUMMARY:\r\n==21912==     in use at exit: 608,120 bytes in 1,301 blocks\r\n==21912==   total heap usage: 377,972 allocs, 376,671 frees, 170,531,962 bytes allocated\r\n==21912== \r\n==21912== LEAK SUMMARY:\r\n==21912==    definitely lost: 65,624 bytes in 4 blocks\r\n==21912==    indirectly lost: 42,160 bytes in 6 blocks\r\n==21912==      possibly lost: 0 bytes in 0 blocks\r\n==21912==    still reachable: 500,336 bytes in 1,291 blocks\r\n==21912==         suppressed: 0 bytes in 0 blocks\r\n==21912== Rerun with --leak-check=full to see details of leaked memory\r\n==21912== \r\n==21912== For counts of detected and suppressed errors, rerun with: -v\r\n==21912== Use --track-origins=yes to see where uninitialised values come from\r\n==21912== ERROR SUMMARY: 20181 errors from 10 contexts (suppressed: 0 from 0)\r\n```\r\nLog - http://pastebin.com/1zhUi5xz\r\n\r\nWith `--leak-check=full`.\r\n```\r\n==22026== LEAK SUMMARY:\r\n==22026==    definitely lost: 65,624 bytes in 4 blocks\r\n==22026==    indirectly lost: 42,160 bytes in 6 blocks\r\n==22026==      possibly lost: 0 bytes in 0 blocks\r\n==22026==    still reachable: 500,336 bytes in 1,291 blocks\r\n==22026==         suppressed: 0 bytes in 0 blocks\r\n==22026== Reachable blocks (those to which a pointer was found) are not shown.\r\n==22026== To see them, rerun with: --leak-check=full --show-leak-kinds=all\r\n==22026== \r\n==22026== For counts of detected and suppressed errors, rerun with: -v\r\n==22026== Use --track-origins=yes to see where uninitialised values come from\r\n==22026== ERROR SUMMARY: 20257 errors from 14 contexts (suppressed: 0 from 0)\r\n```\r\nLog - http://pastebin.com/nfeFZwnX"}}
{"actor":{"display_login":"orbea"}}