This is pretty much the same thing as bz2330562 but for libcomps. In Python 3.13.0: >>> import libcomps >>> i = libcomps.Comps() >>> next(iter(iter(i.environments))) Segmentation fault (core dumped) This is with python3-libcomps-0.1.21-3.fc41.x86_64. With Python 3.13.1 this code is called via dnf in https://github.com/rpm-software-management/dnf/blob/4.22.0/dnf/comps.py#L420 This causes anaconda to segfault and blocks update to Python 3.13.1. Reproducible: Always
> >>> import libcomps > >>> i = libcomps.Comps() > >>> next(iter(iter(i.environments))) > Segmentation fault (core dumped) Or even: >>> import libcomps >>> i = libcomps.Comps() >>> it = iter(i.environments) >>> it2 = iter(it) Segmentation fault (core dumped)
Upstream PR: https://github.com/rpm-software-management/libcomps/pull/116
FEDORA-2024-63d5771cc9 (libcomps-0.1.21-4.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-63d5771cc9
FEDORA-2024-3c18fe0d93 (libcomps-0.1.21-4.fc41, libdnf-0.73.4-2.fc41, and 2 more) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3c18fe0d93
FEDORA-2024-63d5771cc9 (libcomps-0.1.21-4.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-3c18fe0d93 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-3c18fe0d93` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3c18fe0d93 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-3c18fe0d93 (libcomps-0.1.21-4.fc41, libdnf-0.73.4-2.fc41, and 2 more) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.