Skip to content

grimblast area screenshots freeze and crash Hyprland #143

@RoootTheFox

Description

@RoootTheFox

Program

grimblast

Maintainers of the program

fufexan, Misterio77

Bug or Regression?

Regression

Description

One of the more recent(-ish) updates to grimblast cause Hyprland to crash when using the area select mode.
It freezes for a couple (~5-ish) seconds, then crashes.

Only happens sometimes (rather randomly), isn't very consistent to reproduce, and seems to be related(??) to the hypr-dynamic-cursors plugin - setting GRIMBLAST_HIDE_CURSOR=0 (or having hypr-dynamic-cursors disabled) seems to have fixed the issue, haven't gotten a crash since.

Maybe automatically disable the hacky cursor hiding workaround when the hypr-dynamic-cursors plugin is loaded?

How to reproduce

Not sure honestly, I guess having the hypr-dynamic-cursors plugin installed and repeatedly trying to grimblast copy area until it crashes?

Hyprland crash reports, program logs, images, videos

I am honestly not sure how, but it crashes so hard that Hyprland can't finish writing its crash reports...

(all of these are somehow capped at 512 bytes, none contain useful information; attaching them nonetheless)
hyprlandCrashReport8106.txt
hyprlandCrashReport7519.txt
hyprlandCrashReport73393.txt
hyprlandCrashReport7127.txt
hyprlandCrashReport68474.txt
hyprlandCrashReport64984.txt
hyprlandCrashReport58572.txt
hyprlandCrashReport749.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions