{"action":"opened","issue":{"url":"https://api.github.com/repos/kitlang/kit/issues/87","repository_url":"https://api.github.com/repos/kitlang/kit","labels_url":"https://api.github.com/repos/kitlang/kit/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/kitlang/kit/issues/87/comments","events_url":"https://api.github.com/repos/kitlang/kit/issues/87/events","html_url":"https://github.com/kitlang/kit/issues/87","id":393808915,"node_id":"MDU6SXNzdWUzOTM4MDg5MTU=","number":87,"title":"Segfault on Vector access after resize","user":{"login":"bendmorris","id":544977,"node_id":"MDQ6VXNlcjU0NDk3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/544977?v=4","gravatar_id":"","url":"https://api.github.com/users/bendmorris","html_url":"https://github.com/bendmorris","followers_url":"https://api.github.com/users/bendmorris/followers","following_url":"https://api.github.com/users/bendmorris/following{/other_user}","gists_url":"https://api.github.com/users/bendmorris/gists{/gist_id}","starred_url":"https://api.github.com/users/bendmorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendmorris/subscriptions","organizations_url":"https://api.github.com/users/bendmorris/orgs","repos_url":"https://api.github.com/users/bendmorris/repos","events_url":"https://api.github.com/users/bendmorris/events{/privacy}","received_events_url":"https://api.github.com/users/bendmorris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-24T04:38:21Z","updated_at":"2018-12-24T04:38:21Z","closed_at":null,"author_association":"MEMBER","body":"- **Kit version:** dev\r\n- **OS/Platform:** all\r\n\r\n```kit\r\nstruct MyStruct {\r\n    public var a: Int;\r\n    public var b: Int;\r\n}\r\n\r\nfunction main() {\r\n    var n: Int = 0x1000;\r\n    var a: Array[MyStruct] = Array.new(n * 2);\r\n    var v: Vector[Ptr[MyStruct]] = Vector.new(n);\r\n\r\n    for i in 0 ... n * 2 {\r\n        var x: Ptr[MyStruct] = a[i];\r\n        v.push(x);\r\n    }\r\n\r\n    printf(\"%zx\\n\", v.length);\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"bendmorris"}}