{"action":"created","issue":{"url":"https://api.github.com/repos/polydraw/polydraw/issues/9","repository_url":"https://api.github.com/repos/polydraw/polydraw","labels_url":"https://api.github.com/repos/polydraw/polydraw/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/polydraw/polydraw/issues/9/comments","events_url":"https://api.github.com/repos/polydraw/polydraw/issues/9/events","html_url":"https://github.com/polydraw/polydraw/issues/9","id":163584083,"number":9,"title":"OpenGL/GLES2 examples segfault","user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2016-07-03T23:00:37Z","updated_at":"2016-07-13T00:02:17Z","closed_at":null,"body":"A newly compiled `arcs` example (rustc 1.11.0-dev (8a50e295f 2016-07-02) segfaults:\r\n\r\n```shell\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00000000 in ?? ()\r\n(gdb) bt\r\n#0  0x00000000 in ?? ()\r\n#1  0x7f566348 in polydraw::sys::gl::ffi::glGenFramebuffers (n=1, framebuffers=0xbeffe4ec)\r\n    at ../polydraw-gles/src/sys/gl/ffi.rs:238\r\n#2  0x7f566270 in polydraw::sys::gl::{{impl}}::new (texture=0xbeffe564)\r\n    at ../polydraw-gles/src/sys/gl/mod.rs:241\r\n#3  0x7f56e6dc in polydraw::frame::{{impl}}::new (width=256, height=256)\r\n    at ../polydraw-gles/src/frame.rs:142\r\n#4  0x7f56e5fc in polydraw::frame::{{impl}}::new (width=256, height=256)\r\n    at ../polydraw-gles/src/frame.rs:22\r\n#5  0x7f56d7a8 in polydraw::event_loop::{{impl}}::run (self=0xbeffe7d4, renderer=..., width=256, \r\n    height=256)\r\n    at ../polydraw-gles/src/event_loop.rs:21\r\n#6  0x7f56d5d8 in polydraw::application::{{impl}}::run (self=0xbeffe874, renderer=...)\r\n    at ../polydraw-gles/src/application.rs:59\r\n#7  0x7f56e2b4 in polydraw::creator::{{impl}}::run (self=...)\r\n    at ../polydraw-gles/src/creator.rs:84\r\n#8  0x7f55fc84 in arcs::main ()\r\n    at ../polydraw-gles/examples/arcs.rs:120\r\n#9  0x7f593094 in std::panicking::try::call::h23d0d9523f424720 ()\r\n#10 0x7f59c260 in __rust_try ()\r\n#11 0x7f59c1f4 in __rust_maybe_catch_panic ()\r\n#12 0x7f592ae8 in std::rt::lang_start::h7023097bb9b24642 ()\r\n#13 0x7f5611f8 in main ()\r\n````"},"comment":{"url":"https://api.github.com/repos/polydraw/polydraw/issues/comments/232217586","html_url":"https://github.com/polydraw/polydraw/issues/9#issuecomment-232217586","issue_url":"https://api.github.com/repos/polydraw/polydraw/issues/9","id":232217586,"user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T00:02:17Z","updated_at":"2016-07-13T00:02:17Z","body":"Nope, always running without."}}
{"actor":{"display_login":"petevine"}}