{"action":"created","issue":{"url":"https://api.github.com/repos/emoon/rust_minifb/issues/1","labels_url":"https://api.github.com/repos/emoon/rust_minifb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/emoon/rust_minifb/issues/1/comments","events_url":"https://api.github.com/repos/emoon/rust_minifb/issues/1/events","html_url":"https://github.com/emoon/rust_minifb/issues/1","id":120051049,"number":1,"title":"Segfault on arm using nightly rust 1.6","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,"milestone":null,"comments":11,"created_at":"2015-12-02T22:33:06Z","updated_at":"2015-12-04T11:46:57Z","closed_at":null,"body":"Continuing from https://github.com/emoon/minifb/issues/2, here's the backtrace after the `s.as_ptr() as *const _` hack:\r\n\r\n````\r\nStarting program: /tmp/rust64-master/target/debug/rust64\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x7f57cc4c in mfb_update (buffer=0xb6458000) at src/native/x11/X11MiniFB.c:128\r\n128             s_ximage->data = (char*)buffer;\r\n(gdb) bt\r\n#0  0x7f57cc4c in mfb_update (buffer=0xb6458000) at src/native/x11/X11MiniFB.c:128\r\n#1  0x7f57c6f8 in minifb::update (buffer=...)\r\n    at /home/odroid/.cargo/git/checkouts/rust_minifb-65b6a7c68ef60bd2/master/src/lib.rs:53\r\n#2  0x7f55ff88 in rust64::c64::C64::render (self=0xbeffec78) at src/c64/mod.rs:89\r\n#3  0x7f55cb38 in rust64::main () at src/main.rs:68\r\n#4  0x7f586874 in sys_common::unwind::try::try_fn::h3067093340196622558 ()\r\n#5  0x7f583c80 in __rust_try ()\r\n#6  0x7f5863e0 in rt::lang_start::h6fedeacd81917c3471x ()\r\n#7  0x7f560034 in main () at src/c64/mod.rs:90\r\n````\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/emoon/rust_minifb/issues/comments/161948820","html_url":"https://github.com/emoon/rust_minifb/issues/1#issuecomment-161948820","issue_url":"https://api.github.com/repos/emoon/rust_minifb/issues/1","id":161948820,"user":{"login":"emoon","id":350822,"avatar_url":"https://avatars.githubusercontent.com/u/350822?v=3","gravatar_id":"","url":"https://api.github.com/users/emoon","html_url":"https://github.com/emoon","followers_url":"https://api.github.com/users/emoon/followers","following_url":"https://api.github.com/users/emoon/following{/other_user}","gists_url":"https://api.github.com/users/emoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoon/subscriptions","organizations_url":"https://api.github.com/users/emoon/orgs","repos_url":"https://api.github.com/users/emoon/repos","events_url":"https://api.github.com/users/emoon/events{/privacy}","received_events_url":"https://api.github.com/users/emoon/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T11:46:57Z","updated_at":"2015-12-04T11:46:57Z","body":"So that call fails for some reason... Oh well. I guess I should order a Odroid C1 so I can fix the issue :)"}}