Bug#1001252: devilspie2: Crashes when encountering X errors (e.g. undecorate after exit)
Package: devilspie2
Version: 0.43-4
Severity: normal
Tags: patch
Dear Maintainer,
The latest released version of devilspie2 calls a deprecated (and
seemingly non-functional) function to trap X errors instead of
terminating the caller. This means that any scripts that e.g.
undecorate windows after exit will cause devilspie2 to crash.
This has been fixed on the unreleased master branch upstream but no new
version has been released. Applying the following patch to this package
resolves the crash for me:
https://github.com/dsalt/devilspie2/commit/350dfc480d254c48aefcfaf6136d3e2cc4a0d75b
Note that there is another related fix to get_window_is_decorated on the
master branch:
https://github.com/dsalt/devilspie2/commit/547c31c63c63dffe03effab0570ecd99ecc8d859.
It would be great to see these patches applied to the Debian package and
ideally backported to bullseye.
Thanks,
Matt
-- System Information:
Debian Release: 11.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages devilspie2 depends on:
ii libc6 2.31-13+deb11u2
ii libglib2.0-0 2.66.8-1
ii libgtk-3-0 3.24.24-4
ii liblua5.1-0 5.1.5-8.1+b3
ii libwnck-3-0 3.36.0-1
ii libx11-6 2:1.7.2-1
devilspie2 recommends no packages.
devilspie2 suggests no packages.
-- no debconf information
Reply to: