{"action":"created","issue":{"url":"https://api.github.com/repos/torch/torch7/issues/860","repository_url":"https://api.github.com/repos/torch/torch7","labels_url":"https://api.github.com/repos/torch/torch7/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/torch/torch7/issues/860/comments","events_url":"https://api.github.com/repos/torch/torch7/issues/860/events","html_url":"https://github.com/torch/torch7/pull/860","id":193102746,"number":860,"title":"Prevent runover refcount of tensor","user":{"login":"drahnr","id":667047,"avatar_url":"https://avatars.githubusercontent.com/u/667047?v=3","gravatar_id":"","url":"https://api.github.com/users/drahnr","html_url":"https://github.com/drahnr","followers_url":"https://api.github.com/users/drahnr/followers","following_url":"https://api.github.com/users/drahnr/following{/other_user}","gists_url":"https://api.github.com/users/drahnr/gists{/gist_id}","starred_url":"https://api.github.com/users/drahnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drahnr/subscriptions","organizations_url":"https://api.github.com/users/drahnr/orgs","repos_url":"https://api.github.com/users/drahnr/repos","events_url":"https://api.github.com/users/drahnr/events{/privacy}","received_events_url":"https://api.github.com/users/drahnr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-02T12:14:07Z","updated_at":"2016-12-03T18:33:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/torch/torch7/pulls/860","html_url":"https://github.com/torch/torch7/pull/860","diff_url":"https://github.com/torch/torch7/pull/860.diff","patch_url":"https://github.com/torch/torch7/pull/860.patch"},"body":"This is necessary since for integrations with C one never knows what or when the lua gc kicks in."},"comment":{"url":"https://api.github.com/repos/torch/torch7/issues/comments/264656726","html_url":"https://github.com/torch/torch7/pull/860#issuecomment-264656726","issue_url":"https://api.github.com/repos/torch/torch7/issues/860","id":264656726,"user":{"login":"apaszke","id":4583066,"avatar_url":"https://avatars.githubusercontent.com/u/4583066?v=3","gravatar_id":"","url":"https://api.github.com/users/apaszke","html_url":"https://github.com/apaszke","followers_url":"https://api.github.com/users/apaszke/followers","following_url":"https://api.github.com/users/apaszke/following{/other_user}","gists_url":"https://api.github.com/users/apaszke/gists{/gist_id}","starred_url":"https://api.github.com/users/apaszke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apaszke/subscriptions","organizations_url":"https://api.github.com/users/apaszke/orgs","repos_url":"https://api.github.com/users/apaszke/repos","events_url":"https://api.github.com/users/apaszke/events{/privacy}","received_events_url":"https://api.github.com/users/apaszke/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T18:33:20Z","updated_at":"2016-12-03T18:33:20Z","body":"@drahnr I would say that invalid memory accesses are one of the biggest problems you can possibly have in your program! The only way for them to be non-destructive is when you actually happen to hit them only when they're in the allocator cache (good luck). If they have been reused you'll end up modifying the bits of some random objects because of the decref. This is a terrible bug, as it's going to silently corrupt your state and crash your program only sometime later. If they were truly freed you'll get a SIGSEV. Both of them seem pretty bad to me."}}
{"actor":{"display_login":"apaszke"}}