Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localrunner запускается не с первой попытки (ubuntu 20.04) #19

Open
PavelZubkov opened this issue Jul 9, 2022 · 1 comment
Labels
app bug Something isn't working

Comments

@PavelZubkov
Copy link

PavelZubkov commented Jul 9, 2022

При запуске, чаще всего вываливается ошибка:

:~/raic/runner$ ./aicup22 --antialias false
[INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
aicup22: ../../src/xcb_io.c:260: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

Примерно 1 раз на десять запусков, он запускается и работает

:~/raic/runner$ ./aicup22 --antialias false
[INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
libEGL warning: DRI2: failed to authenticate
[INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
[INFO  ugli::context] GL version: "4.5 (Core Profile) Mesa 22.0.0-devel"

При запуске без antialias, выдет ошибку:

libEGL warning: DRI2: failed to authenticate
[ERROR batbox::logger] panicked at 'called `Result::unwrap()` on an `Err` value: CreationErrors([NoAvailablePixelFormat, NoAvailablePixelFormat])', /usr/local/cargo/git/checkouts/geng-a1d76f5475a34e9a/f12cf96/crates/geng/src/window/mod.rs:93:18
[ERROR batbox::logger]    0: batbox::logger::init_with::{{closure}}
       1: std::panicking::rust_panic_with_hook
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:702:17
       2: std::panicking::begin_panic_handler::{{closure}}
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:588:13
       3: std::sys_common::backtrace::__rust_end_short_backtrace
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:138:18
       4: rust_begin_unwind
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
       5: core::panicking::panic_fmt
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
       6: core::result::unwrap_failed
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1785:5
       7: geng::context::Geng::new_with
       8: codegame::runner::run
       9: std::sys_common::backtrace::__rust_begin_short_backtrace
      10: std::rt::lang_start::{{closure}}
      11: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/ops/function.rs:259:13
          std::panicking::try::do_call
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40
          std::panicking::try
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19
          std::panic::catch_unwind
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14
          std::rt::lang_start_internal::{{closure}}
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/rt.rs:128:48
          std::panicking::try::do_call
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40
          std::panicking::try
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19
          std::panic::catch_unwind
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14
          std::rt::lang_start_internal
                 at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/rt.rs:128:20
      12: main
      13: __libc_start_main
                 at /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16
      14: _start
    
@PavelZubkov
Copy link
Author

PavelZubkov commented Jul 9, 2022

Только заметил, что новаря версия вышла. В v1.1.0 вообще не запускается. Ошибка такая же как во втором листинге выше(c --antialias false)

@kuviman kuviman added bug Something isn't working app labels Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants