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

KDE Plasma 6 Crash #152

Open
reloadedd opened this issue Mar 9, 2024 · 5 comments
Open

KDE Plasma 6 Crash #152

reloadedd opened this issue Mar 9, 2024 · 5 comments

Comments

@reloadedd
Copy link

Hi,

I've used the package for some time, maybe a year, and today I upgraded to KDE Plasma 6 and saw that the program doesn't run anymore. I tried downloading the latest release, however the issue is the same. I'm on Arch Linux, KDE Plasma 6.0.1. Below is the error:

❯ RUST_BACKTRACE=full legion-kb-rgb
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: Glutin(Error { raw_code: Some(12291), raw_os_message: None, kind: OutOfMemory })
Location: app/src/main.rs:99

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 9 frames hidden ⋮                               
  10: legion_kb_rgb::main::h4f2cd5353315b61e
      at <unknown source file>:<unknown line>
  11: std::sys_common::backtrace::__rust_begin_short_backtrace::h8d19eac5420f060e
      at <unknown source file>:<unknown line>
  12: std::rt::lang_start::{{closure}}::h2e5a4ce76a5e010d
      at <unknown source file>:<unknown line>
  13: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd95060ecd5e1ca24
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284
  14: std::panicking::try::do_call::h6e8cf51db32a6e4b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  15: std::panicking::try::h3a52eefe24fe3c29
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  16: std::panic::catch_unwind::h24c28c23c02c3841
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  17: std::rt::lang_start_internal::{{closure}}::h705d3c9cbc06ef47
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  18: std::panicking::try::do_call::ha21f52ba13158470
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  19: std::panicking::try::h5581346bf6aeb1f8
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  20: std::panic::catch_unwind::h7919645a6b72e25b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  21: std::rt::lang_start_internal::h12de51168669836e
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  22: std::rt::lang_start::h2209dd1f8ebf3985
      at <unknown source file>:<unknown line>
  23: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
  24: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
warning: queue 0x5a0264ad9b30 destroyed while proxies still attached:
  xdg_wm_base@29 still attached
  wl_output@15 still attached
  zwp_text_input_manager_v3@14 still attached
  xdg_activation_v1@13 still attached
  wl_subcompositor@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  zwp_pointer_constraints_v1@10 still attached
  wl_seat@9 still attached
  wl_shm@8 still attached
  wp_fractional_scale_manager_v1@7 still attached
  wp_viewporter@6 still attached
  zxdg_decoration_manager_v1@5 still attached
  wl_compositor@4 still attached
  wl_registry@2 still attached
fish: Job 1, 'RUST_BACKTRACE=full legion-kb-r…' terminated by signal SIGSEGV (Address boundary error)
@4JX
Copy link
Owner

4JX commented Mar 9, 2024

Can't see any related issues on the egui (GUI framework) or glutin (windowing/OpenGL). It has to be either of those doing something strange, or more likely some issue in Plasma 6

Will see if anyone else using egui has also faced this, though again I'm more inclined to blame the update.

@ugudango
Copy link

I can confirm I have the exact same error as @reloadedd

RUST_BACKTRACE=full ./legion-kb-rgb
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 8 frames hidden ⋮                               
   9: core::panicking::panic::h195fc2a96298d4c3
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127
  10: glutin::api::egl::surface::<impl glutin::api::egl::display::Display>::create_window_surface::h4a80eb44243c2108
      at <unknown source file>:<unknown line>
  11: <glutin::display::Display as glutin::display::GlDisplay>::create_window_surface::h51b39e0cf10ded44
      at <unknown source file>:<unknown line>
  12: eframe::native::run::glow_integration::GlutinWindowContext::on_resume::hd90ec52472d8eb8f
      at <unknown source file>:<unknown line>
  13: <eframe::native::run::glow_integration::GlowWinitApp as eframe::native::run::WinitApp>::on_event::hcb2f791d4eec11e8
      at <unknown source file>:<unknown line>
  14: eframe::native::run::run_and_return::{{closure}}::h6ab3318b82b39d43
      at <unknown source file>:<unknown line>
  15: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return::h4b0bb354c270042f
      at <unknown source file>:<unknown line>
  16: eframe::native::run::with_event_loop::h21057128cff3356f
      at <unknown source file>:<unknown line>
  17: eframe::native::run::glow_integration::run_glow::h574154da0301e6e3
      at <unknown source file>:<unknown line>
  18: eframe::run_native::hfc568a146bd065e6
      at <unknown source file>:<unknown line>
  19: legion_kb_rgb::main::h4f2cd5353315b61e
      at <unknown source file>:<unknown line>
  20: std::sys_common::backtrace::__rust_begin_short_backtrace::h8d19eac5420f060e
      at <unknown source file>:<unknown line>
  21: std::rt::lang_start::{{closure}}::h2e5a4ce76a5e010d
      at <unknown source file>:<unknown line>
  22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd95060ecd5e1ca24
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284
  23: std::panicking::try::do_call::h6e8cf51db32a6e4b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  24: std::panicking::try::h3a52eefe24fe3c29
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  25: std::panic::catch_unwind::h24c28c23c02c3841
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  26: std::rt::lang_start_internal::{{closure}}::h705d3c9cbc06ef47
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  27: std::panicking::try::do_call::ha21f52ba13158470
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  28: std::panicking::try::h5581346bf6aeb1f8
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  29: std::panic::catch_unwind::h7919645a6b72e25b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  30: std::rt::lang_start_internal::h12de51168669836e
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  31: std::rt::lang_start::h2209dd1f8ebf3985
      at <unknown source file>:<unknown line>
  32: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
  33: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
warning: queue 0x612ccf9dae50 destroyed while proxies still attached:
  xdg_wm_base@28 still attached
  wl_output@15 still attached
  zwp_text_input_manager_v3@14 still attached
  xdg_activation_v1@13 still attached
  wl_subcompositor@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  zwp_pointer_constraints_v1@10 still attached
  wl_seat@9 still attached
  wl_shm@8 still attached
  wp_fractional_scale_manager_v1@7 still attached
  wp_viewporter@6 still attached
  zxdg_decoration_manager_v1@5 still attached
  wl_compositor@4 still attached
  wl_registry@2 still attached

@4JX
Copy link
Owner

4JX commented Apr 12, 2024

Can you test https://github.com/4JX/L5P-Keyboard-RGB/actions/runs/8667435685 and see if that changes anything? It should have the latest update of all the libraries I'm using (GUI included, which may be the issue)

PS: In the case that it does work, can you also test if you can close the window while keeping the program running?

@Mustafa-Alwalss
Copy link

Mustafa-Alwalss commented May 3, 2024

Hi, I am using nobara 39 and I tried to run this application and it say this:

➜  Desktop ./legion-kb-rgb                                                 
No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
warning: queue 0x5617f86527a0 destroyed while proxies still attached:
  xdg_wm_base@28 still attached
  wl_output@15 still attached
  zwp_text_input_manager_v3@14 still attached
  xdg_activation_v1@13 still attached
  wl_subcompositor@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  zwp_pointer_constraints_v1@10 still attached
  wl_seat@9 still attached
  wl_shm@8 still attached
  wp_fractional_scale_manager_v1@7 still attached
  wp_viewporter@6 still attached
  zxdg_decoration_manager_v1@5 still attached
  wl_compositor@4 still attached
  wl_registry@2 still attached

can you pleases help m.
Thanks in advance

EDIT:
I ran it again like this:


➜  Desktop RUST_BACKTRACE=full ./legion-kb-rgb

No subcommands found, starting in GUI mode. To view the possible subcommands type "legion-kb-rgb --help".
interface 'wl_surface' has no event 2
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glutin-0.30.9/src/api/egl/surface.rs:246

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 8 frames hidden ⋮                               
   9: core::panicking::panic::h195fc2a96298d4c3
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127
  10: glutin::api::egl::surface::<impl glutin::api::egl::display::Display>::create_window_surface::h4a80eb44243c2108
      at <unknown source file>:<unknown line>
  11: <glutin::display::Display as glutin::display::GlDisplay>::create_window_surface::h51b39e0cf10ded44
      at <unknown source file>:<unknown line>
  12: eframe::native::run::glow_integration::GlutinWindowContext::on_resume::hd90ec52472d8eb8f
      at <unknown source file>:<unknown line>
  13: <eframe::native::run::glow_integration::GlowWinitApp as eframe::native::run::WinitApp>::on_event::hcb2f791d4eec11e8
      at <unknown source file>:<unknown line>
  14: eframe::native::run::run_and_return::{{closure}}::h6ab3318b82b39d43
      at <unknown source file>:<unknown line>
  15: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_return::h4b0bb354c270042f
      at <unknown source file>:<unknown line>
  16: eframe::native::run::with_event_loop::h21057128cff3356f
      at <unknown source file>:<unknown line>
  17: eframe::native::run::glow_integration::run_glow::h574154da0301e6e3
      at <unknown source file>:<unknown line>
  18: eframe::run_native::hfc568a146bd065e6
      at <unknown source file>:<unknown line>
  19: legion_kb_rgb::main::h4f2cd5353315b61e
      at <unknown source file>:<unknown line>
  20: std::sys_common::backtrace::__rust_begin_short_backtrace::h8d19eac5420f060e
      at <unknown source file>:<unknown line>
  21: std::rt::lang_start::{{closure}}::h2e5a4ce76a5e010d
      at <unknown source file>:<unknown line>
  22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd95060ecd5e1ca24
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284
  23: std::panicking::try::do_call::h6e8cf51db32a6e4b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  24: std::panicking::try::h3a52eefe24fe3c29
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  25: std::panic::catch_unwind::h24c28c23c02c3841
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  26: std::rt::lang_start_internal::{{closure}}::h705d3c9cbc06ef47
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  27: std::panicking::try::do_call::ha21f52ba13158470
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552
  28: std::panicking::try::h5581346bf6aeb1f8
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516
  29: std::panic::catch_unwind::h7919645a6b72e25b
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142
  30: std::rt::lang_start_internal::h12de51168669836e
      at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148
  31: std::rt::lang_start::h2209dd1f8ebf3985
      at <unknown source file>:<unknown line>
  32: __libc_start_call_main<unknown>
      at <unknown source file>:<unknown line>
  33: __libc_start_main_alias_2<unknown>
      at <unknown source file>:<unknown line>
  34: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
warning: queue 0x5579a62ffc30 destroyed while proxies still attached:
  xdg_wm_base@28 still attached
  wl_output@15 still attached
  zwp_text_input_manager_v3@14 still attached
  xdg_activation_v1@13 still attached
  wl_subcompositor@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  zwp_pointer_constraints_v1@10 still attached
  wl_seat@9 still attached
  wl_shm@8 still attached
  wp_fractional_scale_manager_v1@7 still attached
  wp_viewporter@6 still attached
  zxdg_decoration_manager_v1@5 still attached
  wl_compositor@4 still attached
  wl_registry@2 still attached

@4JX
Copy link
Owner

4JX commented May 3, 2024

@Mustafa-Alwalss As per my comment above, can you try https://github.com/4JX/L5P-Keyboard-RGB/actions/runs/8667435685

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants