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

Lapce crash on Linux Mint #3243

Open
AbstractiveNord opened this issue May 5, 2024 · 0 comments
Open

Lapce crash on Linux Mint #3243

AbstractiveNord opened this issue May 5, 2024 · 0 comments
Labels
C-bug Category: bug - something isn't working as it's supposed to

Comments

@AbstractiveNord
Copy link

Lapce Version

Lapce v0.4.0 from lapce --version

System information

Linux Mint 21.2

Describe the bug

Just crash at start with no visible error indication, only screen blink.

Additional information

lapce --wait

2024-05-05T19:36:29.629797Z ERROR floem_winit::platform_impl::platform: X11 error: XError {
    description: "BadMatch (invalid parameter attributes)",
    error_code: 8,
    request_code: 149,
    minor_code: 4,
}    
2024-05-05T19:36:29.630092Z ERROR floem_winit::platform_impl::platform: X11 error: XError {
    description: "BadMatch (invalid parameter attributes)",
    error_code: 8,
    request_code: 149,
    minor_code: 4,
}    
2024-05-05T19:36:29.630125Z ERROR floem_winit::platform_impl::platform: X11 error: XError {
    description: "BadMatch (invalid parameter attributes)",
    error_code: 8,
    request_code: 149,
    minor_code: 4,
}    
2024-05-05T19:36:30.139011Z ERROR lapce_app::panic_hook: thread main panicked at <unknown> | file://.//cargo/registry/src/index.crates.io-*random*/floem-winit-0.29.4/src/platform_impl/linux/x11/window.rs:1084:14
   0: lapce_app::app::panic_hook::{{closure}}
   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2029:9
      std::panicking::rust_panic_with_hook
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:785:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:659:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:171:18
   4: rust_begin_unwind
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:647:5
   5: core::panicking::panic_fmt
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panicking.rs:72:14
   6: core::result::unwrap_failed
             at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/result.rs:1649:5
   7: floem::window_handle::WindowHandle::process_update_messages
   8: floem::window_handle::WindowHandle::process_update_no_paint
   9: floem::app_handle::ApplicationHandle::idle
  10: lapce_app::app::launch
  11: std::sys_common::backtrace::__rust_begin_short_backtrace
  12: main
  13: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  14: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:392:3
  15: _start

That's may be related to 2 GPUs systems, like laptops.

@AbstractiveNord AbstractiveNord added the C-bug Category: bug - something isn't working as it's supposed to label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug - something isn't working as it's supposed to
Projects
None yet
Development

No branches or pull requests

1 participant