{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/19437","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/19437/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/19437/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/19437/events","html_url":"https://github.com/JuliaLang/julia/pull/19437","id":191898123,"number":19437,"title":"Support partially copied stack in the GC","user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"labels":[{"id":195227131,"url":"https://api.github.com/repos/JuliaLang/julia/labels/GC","name":"GC","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-28T00:39:12Z","updated_at":"2016-11-28T15:41:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/19437","html_url":"https://github.com/JuliaLang/julia/pull/19437","diff_url":"https://github.com/JuliaLang/julia/pull/19437.diff","patch_url":"https://github.com/JuliaLang/julia/pull/19437.patch"},"body":"This does no really fix a bug but should make embedding in scripting languages a little easier. Copying only part of the stack should be less problematic than copying stack frames that do not expect it so I think we could support that. Bottom line is that I don't really like this but this shouldn't introduce any new segfault.\r\n\r\nDoing a stack switch with an stack address higher than `stackbase` can probably still do sth weird (it'll request a unreasonably big buffer to old the stack for example).\r\n\r\nThis fixes https://github.com/JuliaPy/pyjulia/issues/71 for me and will likely fix https://github.com/JuliaLang/julia/issues/19401 although I have no way to verify the second one.\r\n\r\nApparently people are hitting this as early as 0.3 but I'm not sure how backportable this actually this.....\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/263304493","html_url":"https://github.com/JuliaLang/julia/pull/19437#issuecomment-263304493","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/19437","id":263304493,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T15:41:50Z","updated_at":"2016-11-28T15:41:50Z","body":"Add lower bound check in additional to upper bound check in case the offset overflows and to keep it working in the off chance that [someone crazy want to use a heap allocated frame](https://github.com/JuliaLang/julia/commit/19524a3987f79f42492b42b107ca20332ea015cd#diff-31b93f4272eaeede3738531e90317e0cR371) that supports task switching.\r\n\r\nAlso add support to stack copying code since it was trivial to do....\r\n"}}
{"actor":{"display_login":"yuyichao"}}