Skip to content

unmapping layer surface crash #2736

@alex-huff

Description

@alex-huff

Problem description

After a layer surface has unmapped itself, labwc will still try to send configure events to the unmapped surface when arranging all the layers. This causes labwc to crash because of a failed assertion in wlr_scene_layer_surface_v1_configure.

Steps to reproduce

To reproduce you need to run a layer shell program that unmaps itself. The kitty terminal has a new feature that does this. With the latest version of kitty installed, bind kitten quick-access-terminal to some keybinding and activate this binding twice. labwc should now have crashed.

labwc build source

Local build

labwc version

labwc 0.8.4-38-g95552c26

labwc environment

From a TTY or some display manager like lightdm

Distribution

Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions