Debian Bug report logs - #1117901
python-confluent-kafka: FTBFS with Python 3.14: Segmentation fault in test_create_topics_api

version graph

Package: src:python-confluent-kafka; Maintainer for src:python-confluent-kafka is Debian Python Team <team+python@tracker.debian.org>;

Reported by: Stefano Rivera <stefanor@debian.org>

Date: Sun, 12 Oct 2025 10:11:01 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version python-confluent-kafka/1.7.0-4

Fixed in version python-confluent-kafka/2.12.2-1

Done: Colin Watson <cjwatson@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/confluentinc/confluent-kafka-python/issues/2146

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:python-confluent-kafka for {1117901}):
Bug#1117901; Package src:python-confluent-kafka. (Sun, 12 Oct 2025 10:11:03 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Rivera <stefanor@debian.org>:
New Bug report received and forwarded. Copy sent to team+python@tracker.debian.org. (Sun, 12 Oct 2025 10:11:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Stefano Rivera <stefanor@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-confluent-kafka: FTBFS with Python 3.14: Segmentation fault in test_create_topics_api
Date: Sun, 12 Oct 2025 12:08:45 +0200
Source: python-confluent-kafka
Version: 1.7.0-4
Severity: normal
Tags: ftbfs
User: debian-python@lists.debian.org 
Usertags: python3.14

Python 3.14 is upon us, and we would like to enable it as a supported version 
in Debian.

This package fails to build with Python 3.14 as an available version. Graham 
Inggs did a test rebuild in Ubuntu and found this build failure. These can be 
reproduced in Debian by installing python3-all from experimental (but you may 
need to rebuild some dependencies by hand, first).

I think it may been fixed in a new upstream version, but that needs to 
be checked. The version in Debian is very out of date compared to 
upstream (#1089748). Upstream is tracking 3.14 support in
https://github.com/confluentinc/confluent-kafka-python/issues/2085
but this only talks about wheels, not this error.

Build log:
https://launchpadlibrarian.net/823265476/buildlog_ubuntu-questing-amd64.python-confluent-kafka_1.7.0-4build5_BUILDING.txt.gz

Error:

============================= test session starts ==============================
platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
plugins: typeguard-4.4.2, requests_mock-1.12.1, timeout-2.3.1
collecting ... collected 66 items / 1 deselected / 65 selected

tests/test_Admin.py::test_types PASSED                                   [  1%]
tests/test_Admin.py::test_basic_api PASSED                               [  3%]
tests/test_Admin.py::test_create_topics_api Fatal Python error: Segmentation fault

Current thread 0x00007ec770938140 [python3.14] (most recent call first):
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 69 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244 in call_and_report
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 132 in runtestprotocol
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362 in pytest_runtestloop
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337 in _main
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283 in wrap_session
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 330 in pytest_cmdline_main
  File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103 in _multicall
  File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513 in __call__
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 175 in main
  File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Current thread's C stack trace (most recent call first):
  Binary file "python3.14", at _Py_DumpStack+0x4a [0x47494a]
  Binary file "python3.14" [0x4f29c2]
  Binary file "/lib/x86_64-linux-gnu/libc.so.6", at +0x45f60 [0x7ec770645f60]
  Binary file "python3.14", at PyList_New+0x35 [0x4fb445]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x2d7c [0x53d9dc]
  Binary file "python3.14" [0x57c245]
  Binary file "python3.14" [0x524fed]
  Binary file "python3.14" [0x627372]
  Binary file "python3.14", at _PyObject_MakeTpCall+0x2f8 [0x51d648]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x6742 [0x5413a2]
  Binary file "python3.14" [0x57c245]
  Binary file "python3.14" [0x524fed]
  Binary file "python3.14" [0x627372]
  Binary file "python3.14", at _PyObject_MakeTpCall+0x2f8 [0x51d648]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x6742 [0x5413a2]
  Binary file "python3.14" [0x57c245]
  Binary file "python3.14" [0x524fed]
  Binary file "python3.14" [0x627372]
  Binary file "python3.14", at _PyObject_MakeTpCall+0x2f8 [0x51d648]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x11a91 [0x54c6f1]
  Binary file "python3.14" [0x57c245]
  Binary file "python3.14" [0x524fed]
  Binary file "python3.14" [0x627372]
  Binary file "python3.14", at _PyObject_MakeTpCall+0x2f8 [0x51d648]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x11a91 [0x54c6f1]
  Binary file "python3.14", at PyEval_EvalCode+0x106 [0x535df6]
  Binary file "python3.14" [0x5d208b]
  Binary file "python3.14", at PyObject_Vectorcall+0x33 [0x523d53]
  Binary file "python3.14", at _PyEval_EvalFrameDefault+0x3793 [0x53e3f3]
  Binary file "python3.14" [0x57c245]
  Binary file "python3.14" [0x6b4ac5]
  Binary file "python3.14", at Py_RunMain+0x1c2 [0x6b39a2]
  <truncated rest of calls>

Extension modules: confluent_kafka.cimpl (total: 1)
Segmentation fault (core dumped)




Added indication that bug 1117901 blocks 1117927 Request was from Stefano Rivera <stefanor@debian.org> to control@bugs.debian.org. (Sun, 12 Oct 2025 15:29:03 GMT) (full text, mbox, link).


Added blocking bug(s) of 1117901: 1119072 Request was from Colin Watson <cjwatson@debian.org> to submit@bugs.debian.org. (Sun, 26 Oct 2025 15:57:02 GMT) (full text, mbox, link).


Severity set to 'serious' from 'normal' Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Wed, 03 Dec 2025 06:07:02 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/confluentinc/confluent-kafka-python/issues/2146'. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Thu, 04 Dec 2025 00:53:01 GMT) (full text, mbox, link).


Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Fri, 05 Dec 2025 11:39:01 GMT) (full text, mbox, link).


Notification sent to Stefano Rivera <stefanor@debian.org>:
Bug acknowledged by developer. (Fri, 05 Dec 2025 11:39:01 GMT) (full text, mbox, link).


Message #18 received at 1117901-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1117901-close@bugs.debian.org
Subject: Bug#1117901: fixed in python-confluent-kafka 2.12.2-1
Date: Fri, 05 Dec 2025 11:37:59 +0000
[Message part 1 (text/plain, inline)]
Source: python-confluent-kafka
Source-Version: 2.12.2-1
Done: Colin Watson <cjwatson@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-confluent-kafka, 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 1117901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated python-confluent-kafka 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 05 Dec 2025 11:18:59 +0000
Source: python-confluent-kafka
Architecture: source
Version: 2.12.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1117901
Changes:
 python-confluent-kafka (2.12.2-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * Don't leave NewTopic partially-initialized on error (closes: #1117901).
Checksums-Sha1:
 4a48d3896b0ab43b33e93201038a697fa0bf5c16 2631 python-confluent-kafka_2.12.2-1.dsc
 a1599410e746f3e07563ce50d06ef5ae1d8ac455 398624 python-confluent-kafka_2.12.2.orig.tar.xz
 5552a93a0e3266304a69e2cb85d62b920d8ee844 4232 python-confluent-kafka_2.12.2-1.debian.tar.xz
Checksums-Sha256:
 fb32206f8563fcf9197f0b1bd552facd89c1e1e0411a99bf13a36f987dc87fcb 2631 python-confluent-kafka_2.12.2-1.dsc
 8317982200d3bc6302a5f724d982b4e8af5b72e85c83c0e973eadd45db1eab42 398624 python-confluent-kafka_2.12.2.orig.tar.xz
 9291b1ec25442659ef5d538c4bb3fbbe799975db23b9456e74df53fca4283309 4232 python-confluent-kafka_2.12.2-1.debian.tar.xz
Files:
 e99f7f31b6205f49c4fae1cc79651a9a 2631 python optional python-confluent-kafka_2.12.2-1.dsc
 9dbdaa01c029c257f6e5e1ef2a2df65e 398624 python optional python-confluent-kafka_2.12.2.orig.tar.xz
 ece5342bc283b8aec09c64be4bcbb366 4232 python optional python-confluent-kafka_2.12.2-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmkyv8gACgkQOTWH2X2G
UAvLXg//VHTTAXEDYSZTdIqmz1+05VGbHElgWGOXWUorFDHxwW6z0mJD9OuzOUKg
pQ7g6bTRcaif8PLmuPZeU10GKMAYvju6GipyIW8yTxwWZ1q9kSwU6OP5lT7ZP207
yOIdiEdUK0Tpcc7Y6gSJjem7MG8QB20cvx5aCXDcbv3xAAPvNaEiw416OHFtx+Fp
VuLi8FWzP/9q7Do1E7cM7bA6WVKfAQjpcNmfIdrPbFDHUmGePSdiX/TYir5otWcl
CPO4BvJKMHZYy9pplsBNS1q6LvjPmvuFrFazvgra3arzHxdNjjHZWfCHH0S1CAxF
phbytkzBwo7sCuCV3Yaju48YhBI2JBuPASLFjYLW7x7YMMZWfyaz/Vh+4W1qP2xp
177+2M3s0WfQUs+EF61zfQtcKl7rSsLaD8WW24iel6OCc0xYf34XiMvh7bjBxzkR
KlJVXoVcJINYidq6IFYvTFYfYAl92AI3ZihonYeChEEyjHP/xF5KIaUlcjq5QmtP
eCV9maUbOTBfFmnq4mexHHapkSumVxRZL7qTG/pZECeai24k10aXCcU8dUkyRmKU
Pqxrre18K3MbKuIZqeqmCBt0P2qk4JEZxzqvkYDNWBxUSWdbmK+EWZ4HX0vc7M0S
OuamJ0An+4RkVbfa+9WeBeCA8GSUb3flL6LuY5G+a9CDeKZ8MPk=
=+VAy
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Added tag(s) sid and forky. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sun, 21 Dec 2025 00:27:24 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 18 Jan 2026 07:24:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:32:43 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.