Skip to content

Decoration plugin will crash wayfire with border size changes #2750

@killown

Description

@killown

Describe the bug

EE 23-07-25 08:28:44.881 - [src/main.cpp:139] Fatal error: Segmentation fault
EE 23-07-25 08:28:44.905 - #1  signal_handler(int) main.cpp:?
EE 23-07-25 08:28:44.916 - #2  __sigaction ??:?
EE 23-07-25 08:28:44.929 - #3  wlr_texture_is_gles2 ??:?
EE 23-07-25 08:28:44.942 - #4  gles2_get_texture :?
EE 23-07-25 08:28:44.955 - #5  render_pass_add_texture pass.c:?
EE 23-07-25 08:28:44.969 - #6  wf::render_pass_t::add_texture(wf::texture_t const&, wf::render_target_t const&, wlr_fbox const&, wf::region_t const&, float) ??:?
EE 23-07-25 08:28:44.984 - #7  wf::render_pass_t::add_texture(wf::texture_t const&, wf::render_target_t const&, wlr_box const&, wf::region_t const&, float) ??:?
EE 23-07-25 08:28:44.997 - #8  wf::decor::button_t::render(wf::scene::render_instruction_t const&, wlr_box) ??:?
EE 23-07-25 08:28:45.008 - #9  simple_decoration_node_t::decoration_render_instance_t::render(wf::scene::render_instruction_t const&) ??:?
EE 23-07-25 08:28:45.023 - #10 wf::render_pass_t::run_partial() ??:?
EE 23-07-25 08:28:45.037 - #11 wf::render_pass_t::run(wf::render_pass_params_t const&) ??:?
EE 23-07-25 08:28:45.051 - #12 wf::scene::transformer_base_node_t::get_updated_contents(wlr_box const&, float, std::vector<std::unique_ptr<wf::scene::render_instance_t, std::default_delete<wf::scene::render_instance_t> >, std::allocator<std::unique_ptr<wf::scene::render_instance_t, std::default_delete<wf::scene::render_instance_t> > > >&) ??:?
EE 23-07-25 08:28:45.065 - #13 wf::scene::view_2d_render_instance_t::render(wf::scene::render_instruction_t const&) ??:?
EE 23-07-25 08:28:45.080 - #14 wf::render_pass_t::run_partial() ??:?
EE 23-07-25 08:28:45.096 - #15 wf::render_manager::impl::paint() ??:?
EE 23-07-25 08:28:45.110 - #16 std::_Function_handler<void (void*), wf::render_manager::impl::impl(wf::output_t*)::{lambda(void*)#1}>::_M_invoke(std::_Any_data const&, void*&&) ??:?
EE 23-07-25 08:28:45.125 - #17 wf::wl_listener_wrapper::emit(void*) ??:?
EE 23-07-25 08:28:45.137 - #18 wl_signal_emit_mutable ??:?
EE 23-07-25 08:28:45.151 - #19 handle_page_flip drm.c:?
EE 23-07-25 08:28:45.160 - #20 drmHandleEvent ??:?
EE 23-07-25 08:28:45.171 - #21 handle_drm_event :?
EE 23-07-25 08:28:45.182 - #22 wl_event_loop_dispatch ??:?
EE 23-07-25 08:28:45.192 - #23 wl_display_run ??:?
EE 23-07-25 08:28:45.206 - #24 main ??:?
EE 23-07-25 08:28:45.218 - #25 __libc_init_first ??:?
EE 23-07-25 08:28:45.230 - #26 __libc_start_main ??:?
EE 23-07-25 08:28:45.244 - #27 _start ??:?

To Reproduce
Steps to reproduce the behavior:
have a minimal wayfire.ini with decoration plugin, go to wcm and keep changing border size

Wayfire version
~ ❯❯❯ wayfire --version
0.10.0-b77ce33f (Jul 22 2025) branch fix-2585 wlroots-0.19.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    PRs-welcomeIssues which are unlikely to be fixed unless someone sends a PRbuglow-priorityIssues that aren't likely to be resolved soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions