hyprwm / hyprpicker

A wlroots-compatible Wayland color picker that does not suck.
BSD 3-Clause "New" or "Revised" License
685 stars 30 forks source link

Memory leak? #44

Open offeex opened 11 months ago

offeex commented 11 months ago

Same as #38 , but a little bit more context

Using waybar w/ hyprpaper.

Reproduce

Pressing button on waybar (hyprpaper is bound to it) and dragging it out of waybar area blocks waybar, what eventually (over time) will result in 'hyprpicker' terminated by signal SIGBUS (Misaligned address error) after couple of iterations. Same behavior will happen for other apps eventually, the only fix is to restart system, but meehhh...

Looks like a memory leak or smthing i dunno

vaxerski commented 11 months ago

if hyprpicker crashes, it can't remove the temp buffers in /run/user/1000

Odd though, it should remove them on next launch.