/bin/zsh
└─ mate-screenshot --window
└─ mate-screenshot --window
└─ bwrap --unshare-all --die-with-parent --chdir / --ro-bind /usr /usr --dev /dev --ro-bind-try
└─ bwrap --unshare-all --die-with-parent --chdir / --ro-bind /usr /usr --dev /dev --ro-bind-
└─ /usr/lib/glycin-loaders/2+/glycin-image-rs --dbus-fd 28
Steps to Reproduce
Run
mate-screenshot --window. That will create a process tree something like the following:Close the window that appears / close/quit
mate-screenshotThe subprocess tree still exists:
While the main process appears to have exited, the subprocess it spawned has been reparented to init, and appears to run indefinitely, leaking 4 processes and the associated RAM & other resources.
Expected Behavior
mate-screenshotdoes not orphan/leak child processes.Actual Behavior
mate-screenshotorphans a child process.Error Output
Version
mate-screenshot 1.28.0
Distribution
Arch Linux
Additional Context
No response
Reproducibility
Every time
Checklist