danyspin97 / wpaperd

Modern wallpaper daemon for Wayland
GNU General Public License v3.0
332 stars 26 forks source link

Wpaperd crash #63

Open juienpro opened 6 months ago

juienpro commented 6 months ago

I think it's linked to undocking and/or sleep and waking up. Here is the stack trace.

DEBUG [smithay_client_toolkit::shm] supported wl_shm format Abgr16161616
DEBUG [smithay_client_toolkit::registry] Bound new global [60] wl_output v4
DEBUG [smithay_client_toolkit::registry] Bound new global [61] wl_output v4
The application panicked (crashed).
Message:  unable to create an EGL surface: BadAlloc
Location: daemon/src/render/egl_context.rs:55

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 7 frames hidden ⋮                               
   8: wpaperd::render::egl_context::EglContext::new::h16493889f15df926
      at <unknown source file>:<unknown line>
   9: <wpaperd::wpaperd::Wpaperd as smithay_client_toolkit::output::OutputHandler>::new_output::hf41234011f7c470f
      at <unknown source file>:<unknown line>
  10: <smithay_client_toolkit::output::OutputState as wayland_client::event_queue::Dispatch<wayland_client::protocol::wl_output::WlOutput,smithay_client_toolkit::output::OutputData,D>>::event::h7047ad046110a103
      at <unknown source file>:<unknown line>
  11: wayland_client::event_queue::queue_callback::hb6a303052bf414de
      at <unknown source file>:<unknown line>
  12: wayland_client::event_queue::EventQueue<State>::dispatching_impl::had4cce10d24fd0db
      at <unknown source file>:<unknown line>
  13: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::process_events::h3c6d95937372e721
      at <unknown source file>:<unknown line>
  14: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::h6e95f83a33a616ae
      at <unknown source file>:<unknown line>
  15: calloop::loop_logic::EventLoop<Data>::dispatch::h73490faceba22e83
      at <unknown source file>:<unknown line>
  16: wpaperd::main::h2909c628155c04c1
      at <unknown source file>:<unknown line>
  17: std::sys_common::backtrace::__rust_begin_short_backtrace::hc32a36c244009fed
      at <unknown source file>:<unknown line>
  18: std::rt::lang_start::{{closure}}::hc02005d6df40ede0
      at <unknown source file>:<unknown line>
  19: std::rt::lang_start_internal::he5e87cd982b6a812
      at <unknown source file>:<unknown line>
  20: main<unknown>
      at <unknown source file>:<unknown line>
  21: __libc_start_main<unknown>
      at <unknown source file>:<unknown line>
  22: _start<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Let me know how I can help.

danyspin97 commented 6 months ago

Hello @juienpro and thank you for the issue.

Is it happening when you undock or put it to sleep/wake up?