{"action":"created","issue":{"url":"https://api.github.com/repos/maps4print/azul/issues/1","repository_url":"https://api.github.com/repos/maps4print/azul","labels_url":"https://api.github.com/repos/maps4print/azul/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/maps4print/azul/issues/1/comments","events_url":"https://api.github.com/repos/maps4print/azul/issues/1/events","html_url":"https://github.com/maps4print/azul/issues/1","id":306753803,"number":1,"title":"\"debug\" example crashes","user":{"login":"frol","id":304265,"avatar_url":"https://avatars2.githubusercontent.com/u/304265?v=4","gravatar_id":"","url":"https://api.github.com/users/frol","html_url":"https://github.com/frol","followers_url":"https://api.github.com/users/frol/followers","following_url":"https://api.github.com/users/frol/following{/other_user}","gists_url":"https://api.github.com/users/frol/gists{/gist_id}","starred_url":"https://api.github.com/users/frol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frol/subscriptions","organizations_url":"https://api.github.com/users/frol/orgs","repos_url":"https://api.github.com/users/frol/repos","events_url":"https://api.github.com/users/frol/events{/privacy}","received_events_url":"https://api.github.com/users/frol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-20T07:22:34Z","updated_at":"2018-03-20T07:48:24Z","closed_at":null,"author_association":"NONE","body":"I am not sure if it is expected on the current state of the project development, but I figured it would rather give some feedback:\r\n\r\n```\r\n$ env RUST_BACKTRACE=1 cargo run --example debug\r\n    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs\r\n     Running `target/debug/examples/debug`\r\nthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CreateError(NoAvailablePixelFormat)', /checkout/src/libcore/result.rs:916:5\r\nstack backtrace:\r\n   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace\r\n             at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49\r\n   1: std::sys_common::backtrace::print\r\n             at /checkout/src/libstd/sys_common/backtrace.rs:68\r\n             at /checkout/src/libstd/sys_common/backtrace.rs:57\r\n   2: std::panicking::default_hook::{{closure}}\r\n             at /checkout/src/libstd/panicking.rs:381\r\n   3: std::panicking::default_hook\r\n             at /checkout/src/libstd/panicking.rs:397\r\n   4: std::panicking::rust_panic_with_hook\r\n             at /checkout/src/libstd/panicking.rs:577\r\n   5: std::panicking::begin_panic\r\n             at /checkout/src/libstd/panicking.rs:538\r\n   6: std::panicking::begin_panic_fmt\r\n             at /checkout/src/libstd/panicking.rs:522\r\n   7: rust_begin_unwind\r\n             at /checkout/src/libstd/panicking.rs:498\r\n   8: core::panicking::panic_fmt\r\n             at /checkout/src/libcore/panicking.rs:71\r\n   9: core::result::unwrap_failed\r\n             at /checkout/src/libcore/macros.rs:23\r\n  10: <core::result::Result<T, E>>::unwrap\r\n             at /checkout/src/libcore/result.rs:782\r\n  11: debug::main\r\n             at examples/debug.rs:45\r\n  12: std::rt::lang_start::{{closure}}\r\n             at /checkout/src/libstd/rt.rs:74\r\n  13: std::panicking::try::do_call\r\n             at /checkout/src/libstd/rt.rs:59\r\n             at /checkout/src/libstd/panicking.rs:480\r\n  14: __rust_maybe_catch_panic\r\n             at /checkout/src/libpanic_unwind/lib.rs:101\r\n  15: std::rt::lang_start_internal\r\n             at /checkout/src/libstd/panicking.rs:459\r\n             at /checkout/src/libstd/panic.rs:365\r\n             at /checkout/src/libstd/rt.rs:58\r\n  16: std::rt::lang_start\r\n             at /checkout/src/libstd/rt.rs:74\r\n  17: main\r\n  18: __libc_start_main\r\n  19: _start\r\n```\r\n\r\n* Arch Linux, x86_64, kernel 4.15.10\r\n* Intel HD 4600 video card\r\n* Gnome 3.26.2\r\n* Rust 1.24.0"},"comment":{"url":"https://api.github.com/repos/maps4print/azul/issues/comments/374504862","html_url":"https://github.com/maps4print/azul/issues/1#issuecomment-374504862","issue_url":"https://api.github.com/repos/maps4print/azul/issues/1","id":374504862,"user":{"login":"fschutt","id":12084016,"avatar_url":"https://avatars1.githubusercontent.com/u/12084016?v=4","gravatar_id":"","url":"https://api.github.com/users/fschutt","html_url":"https://github.com/fschutt","followers_url":"https://api.github.com/users/fschutt/followers","following_url":"https://api.github.com/users/fschutt/following{/other_user}","gists_url":"https://api.github.com/users/fschutt/gists{/gist_id}","starred_url":"https://api.github.com/users/fschutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fschutt/subscriptions","organizations_url":"https://api.github.com/users/fschutt/orgs","repos_url":"https://api.github.com/users/fschutt/repos","events_url":"https://api.github.com/users/fschutt/events{/privacy}","received_events_url":"https://api.github.com/users/fschutt/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T07:48:24Z","updated_at":"2018-03-20T07:48:24Z","author_association":"CONTRIBUTOR","body":"Yeah, I think SRGB isn't that big of a deal to disable.. I think I'll make it so that the it retries the context creation on failure, making SRGB / Vsync optional - so that they are enabled on platforms they work on, but aren't strictly required.\r\n\r\nThanks for reporting. "}}
{"actor":{"display_login":"fschutt"}}