#1076097 DeprecationWarning: This process (pid=3710789) is multi-threaded, use of fork() may lead to deadlocks in the child.

#1076097#5
Date:
2024-07-10 17:14:30 UTC
From:
To:
After a recent upgrade of python3 from 3.11.8-1 to 3.12.2-1,
unattended-upgrade gives these warnings:

/usr/bin/unattended-upgrade:769: DeprecationWarning: This process
(pid=3710789) is multi-threaded, use of fork() may lead to deadlocks in
the child.
   pid = os.fork()

#1076097#10
Date:
2024-07-22 11:42:24 UTC
From:
To:
I bumped into the same issue on my Trixie host.

Martin-Éric

- -- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 6.9.9-686-pae (SMP w/1 CPU thread; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]      1.5.87
ii  lsb-release                12.1-1
ii  python3                    3.12.3-1
ii  python3-apt                2.9.0+b1
ii  python3-dbus               1.3.2-5+b3
ii  python3-distro-info        1.7
ii  sysvinit-utils [lsb-base]  3.09-2
ii  ucf                        3.0043+nmu1
ii  xz-utils                   5.6.2-2

Versions of packages unattended-upgrades recommends:
ii  systemd-sysv  256.2-1

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx                          8.1.2-0.20220412cvs-1
ii  needrestart                        3.6-8
ii  nullmailer [mail-transport-agent]  1:2.2+10~g7ed88a0-6
ii  powermgmt-base                     1.37+nmu1
ii  python3-gi                         3.48.2-1+b1

- -- debconf information:
* unattended-upgrades/enable_auto_updates: true
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmaeRZsACgkQrh+Cd8S0
17b0OhAAr4+bLAooXNLLr0AFYOtoNJWFF9C6H/RK9aOhDWcA6OzfjgPcQcUZLf5q
yCudrzab6i0FxAsiRR9eaYxRFrMEXJtWLQPDgeuTYgduRSS3SCd6mvr3+g86F1vo
NvIabD6z9jxO51PK8iUDtQyX3KLZgiYSj5ycqY09lvQ6qPmZQpQ1qWOqg0DG73h6
+GC1rGTYH4N2nCwu5d+GWWMF5zv0YHtNznchlsZZIA/KbJ2uW2i9tiujyCpmhPNx
tdgRUqLUYrQ5/q8OYYvAS8MwlhlhhUAKJxG9VUwPzGvJMOuKx92OwXgzJUhEhrxw
TLWqLrvx0jtdv6uhl5WEYJJJj+o3CDpERJUJY8QFbGFTRcX6iMGHdNug+9vmF3U9
xkfrl2zG7VDUCRJekY6JO/F6+KxtAIY1sTY+QXTOoSVZKIHk2g0nePjPW+g+avvH
Su859rpPgUDFChm98hS1bODc7HFcg8K+bLL2pc+r8X6s5ctLKePGKKz9GxmxCpTz
TYpRjVVs8nO/Z4PS4o48VyE/ODK9bm5fsjOaNwjo09/vJ5pF+4fpD4WRiPQgpxMg
6GMngxs0RwAHgzsvlal0Yy8OgQ/v0LS6owiEWa+eDWXFHekl1RXSMXpHbLW44w6U
Fhmik+oXL1shjQNpIDnjRFBM+kUh8IUVzPz9wMG+04QqajmXa1Q=
=mXYE
-----END PGP SIGNATURE-----

#1076097#15
Date:
2024-11-05 06:42:40 UTC
From:
To:
This issue remains unresolved. Do you need Python maintainers to look into it for you?

Martin-Éric