- Package:
- python3-gi
- Source:
- python3-gi
- Description:
- Python 3 bindings for gobject-introspection libraries
- Submitter:
- Christoph Anton Mitterer
- Date:
- 2026-08-15 06:51:01 UTC
- Severity:
- normal
Hey. Since upgrading to 3.57.0-2, whenever I lock cinnamon via cinnamon-screensaver, and then unlock it,... it crashes after entering the password, apparently showing some built-in fallback (which still keeps X locked), and instructs one to go to th kernel console, log in and unlock via cinnamon-unlock-desktop). At the same time I get a segfault: Aug 07 16:51:43 heisenberg kernel: cs-backup-locke[2624494]: segfault at 0 ip 00007fa1d3c600cd sp 00007fff6fea5008 error 4 in libgio-2.0.so.0.8800.3[580cd,7fa1d3c46000+122000] likely on CPU 8 (core 16, socket 0) Aug 07 16:51:43 heisenberg kernel: Code: 01 00 00 48 8d 35 a9 b8 10 00 48 8d 3d b0 ae 10 00 e8 e7 74 fe ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 85 ff 74 0a 48 8b 47 18 <8b> 10 85 d2 74 05 c3 0f 1f 40 00 41 57 41 56 55 53 48 89 fb 48 83 Downgrading python3-gi to 3.56.3-2 fixes the issue. Thanks, Chris.
Control: severity -1 serious Control: retitle -1 python3-gi: Triggers crash in cinnamon-screensaver Thank you for taking the time to report this issue promptly. Please additionally report this issue to the cinnamon maintainers in Debian and upstream. We were aware of one crash triggered by the new pygobject version, but it was determined to be a downstream issue. Maybe the Cinnamon bug has a similar cause. https://gitlab.gnome.org/GNOME/pygobject/-/work_items/764 We can temporarily hold the new pygobject in Unstable to allow maintainers time to fix the issue so I upgraded this bug to RC. We prefer that the delay last days instead of weeks though. On behalf of the Debian GNOME team, Jeremy Bícha
Hey Jeremy. Thanks :-) Done... and forwarded to https://github.com/linuxmint/cinnamon-screensaver/issues/507 Cheers, Chris.
Root cause found, and it is not the same as the Anaconda issue in https://gitlab.gnome.org/GNOME/pygobject/-/work_items/764 - cinnamon-screensaver exports its D-Bus interface through the C skeleton generated by gdbus-codegen, so it never goes through the Python register_object() override. What breaks it is that GLib.Pid is no longer an int. Up to 3.56.3 it was gi._gi.Pid, a C type deriving from int; since 3.57.0 (upstream commit b6e14902, "Reimplement GLib.spawn_async in Python") it is: class Pid: def __init__(self, pid): self._pid = pid def __int__(self): return self._pid def close(self): GLib.spawn_close_pid(self._pid) No __index__, no rich comparisons. So for any application that keeps the result of GLib.spawn_async() around, `pid > 0` now raises TypeError and os.kill(pid, sig) no longer works. In cinnamon-screensaver this aborts the unlock path and leaves the screen locked (details in #1143872). I have patches for cinnamon-screensaver ready and also posted upstream, so this should not hold pygobject back for long. But I would suggest raising it with pygobject upstream as well: it is a silent API break with no NEWS entry and no porting note, the class is unchanged in git main, and any other Python application using GLib.spawn_async() is exposed to it. Adding __index__ and the integer comparisons back (or simply deriving from int again) would keep the old code working.
Yes, let's wait to see what upstream's response is. Thank you, Jeremy Bícha
We believe that the bug you reported is fixed in the latest version of pygobject, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1143867@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated pygobject package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sat, 15 Aug 2026 08:31:19 +0200 Source: pygobject Built-For-Profiles: derivative.ubuntu noudeb Architecture: source Version: 3.57.1-1 Distribution: unstable Urgency: medium Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> Changed-By: Jeremy Bícha <jbicha@ubuntu.com> Closes: 1143867 Changes: pygobject (3.57.1-1) unstable; urgency=medium . * New upstream release (Closes: #1143867) Checksums-Sha1: abad43ca02a417b41a5dde18a49257827711203b 2762 pygobject_3.57.1-1.dsc 3b7057b3e8a612498ff4877f9daa49c7af9f1ecd 1408570 pygobject_3.57.1.orig.tar.gz 867604cfbfe5443c018a3f46dfe729c818b6950c 26232 pygobject_3.57.1-1.debian.tar.xz e62362770ed20978f7f11f997446b52f5f9fccc6 12777 pygobject_3.57.1-1_source.buildinfo Checksums-Sha256: 0b9b4579951af4b123533bff22b3873a54205ae5f7b4e084da97bb9eb540214a 2762 pygobject_3.57.1-1.dsc 126f82d8e6b24008e07a394fc09631f196159a94f5970a4ae27c5a35fc15ef23 1408570 pygobject_3.57.1.orig.tar.gz 3c769170c1f61a1529eafad4fb4db005ff10ccd3ee2e6ad64e584ea5b9a74d12 26232 pygobject_3.57.1-1.debian.tar.xz a04918ba9d4cf3822ba83134016f4d4c8042af2085b12fff1c190d22a309d56e 12777 pygobject_3.57.1-1_source.buildinfo Files: 694e92a489d2e2490e54604ae60e34a4 2762 python optional pygobject_3.57.1-1.dsc 204e09f42e18775b9871dddfdb87e5ff 1408570 python optional pygobject_3.57.1.orig.tar.gz 82374c2a68f237046ce5963e5737e9e7 26232 python optional pygobject_3.57.1-1.debian.tar.xz 65ca5e6221073371019eeba88db8012d 12777 python optional pygobject_3.57.1-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmqACAcACgkQ5mx3Wuv+ bH1mQA//cv5BvNIcGl/CgnuX6DI7A+LXGkG1yBOlT64hmHTCIQU+iPqvSEvIc8KI jLaAdZ1pb6iKoxKvk3fXx7l82ulNPKWGZjQMwiPgFdcf3l0O1fkDh947zLFvwNpL Oomb/lGJ/dB/hx7aQvsqCVOZdRJnKI34tiplN9i0+nBI4AgWusRniHYyWJyljTUK wIMz9lwRA2hPWZIxBALp1U0cjhBH7MZiS21B3XpkTrBjhBMnIcYxKm2Tbii035dH zdBQaA0sDpt56Z3zpCj4v8bPmGgdv/Tqa6Nv+lUGUlDUcX0CgxeVf2iLoShMg4Y5 0AJkar41RU9RDgoIvuN2Fab7v9ACrG3qr3h5eaAEEmfb7mUh1je7p4PFQaAXmYdg apjtqPWi2vyy0nHQSLTWe2MFGPAzBsvIYKKhY2Ik2MF+uixgJPWV5rqE8jJp8r7q FDhEST5CEIP5ZDt+sXlclQe0DK6Q2pdbwcF+GSv6Xi/qr3SWo09eaB5bSr1sAn9Y 33R8o/1X107Vf96ir7mx7QuMYmQVaff2jP6/mciV9RdTWic4JcU86Jd/D+tLo1ka tf0MdlKDm1QAVijvneEf38FiAWeaAK75E5zhcr2xDtlQOqGOkXoPktr+urX82bea FYKoX2kWSPSTRBy9McB2kzq6foLMm0ZDP0ABv6jyzeY4Ye/iyss= =IHPF -----END PGP SIGNATURE-----