Bug 2366194 - breezy dumps core with Python 3.14: Segmentation fault when invoking brz whoami 'Your Name <name>'
Summary: breezy dumps core with Python 3.14: Segmentation fault when invoking brz whoa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: breezy
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2411730 (view as bug list)
Depends On: 2392255
Blocks: PYTHON3.14 2371874
TreeView+ depends on / blocked
 
Reported: 2025-05-14 08:31 UTC by Karolina Surma
Modified: 2025-11-06 02:41 UTC (History)
11 users (show)

Fixed In Version: breezy-3.3.17-1.fc43
Clone Of:
Environment:
Last Closed: 2025-11-06 02:41:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources breezy pull-request 25 0 None None None 2025-11-03 19:25:55 UTC
Launchpad.net brz/+bug/2121688 0 None None None 2025-08-29 13:38:16 UTC

Description Karolina Surma 2025-05-14 08:31:40 UTC
python-dunamai fails to build with Python 3.14.0b1.

This report is automated and not very verbose, but we'll try to get back here with details.

+ brz whoami 'Your Name <name>'
/var/tmp/rpm-tmp.acK6aP: line 51:   337 Segmentation fault      (core dumped) brz whoami "Your Name <name>"

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09033102-python-dunamai/

For all our attempts to build python-dunamai with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-dunamai/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Sandro 2025-05-15 08:14:53 UTC
(In reply to Karolina Surma from comment #0)
> + brz whoami 'Your Name <name>'
> /var/tmp/rpm-tmp.acK6aP: line 51:   337 Segmentation fault      (core
> dumped) brz whoami "Your Name <name>"


This appears to be an issue with breezy, not python-dunamai.

To reproduce:

1. Follow the instructions to setup a Python 3.14 mock chroot: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/
2. mock -r fedora-rawhide-python314-b1 --install breezy
3. mock -r fedora-rawhide-python314-b1 --shell
4. brz whoami 'Your Name <name>'

Result:

Segmentation fault (core dumped)

The same command works fine in a rawhide chroot.

It appears that breezy is not running any tests (no %check section in spec file), allowing the build [1] to succeed while the produced binaries are broken.

[1] https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/breezy

Comment 2 Sandro 2025-05-25 07:30:20 UTC
Should this bug be reassigned to breezy? Or will you deal with broken breezy in a different way and can this bug be closed?

Comment 3 Karolina Surma 2025-05-26 08:31:05 UTC
Thank you for the pointers, reassigning to breezy.

Comment 4 Ben Beasley 2025-06-19 16:12:31 UTC
The problem is still present. I am working around it in dunamai by omitting its breezy/bazaar integration tests for now.

Comment 5 Miro Hrončok 2025-06-19 16:16:02 UTC
breezy uses pyo3 v0.23. Perhpas this is related?

Comment 6 Miro Hrončok 2025-08-27 22:12:11 UTC
Oh, this still happens:


<mock-chroot> sh-5.3# rpm -q python3 breezy
python3-3.14.0~rc2-1.fc44.x86_64
breezy-3.3.12-2.fc44.x86_64
<mock-chroot> sh-5.3# brz whoami 'Your Name <name>'
Segmentation fault         (core dumped) brz whoami 'Your Name <name>'

Comment 7 Ondřej Pohořelský 2025-08-28 08:24:12 UTC
Yes, sadly I haven't had any time to properly investigate and fix the issue

Comment 8 Miro Hrončok 2025-08-29 13:38:17 UTC
Reported upstream: https://bugs.launchpad.net/brz/+bug/2121688

Comment 9 Stefan Ring 2025-11-01 13:28:07 UTC
*** Bug 2411730 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2025-11-03 22:46:16 UTC
FEDORA-2025-edd2aa33f0 (breezy-3.3.17-1.fc43 and python-dulwich-0.24.8-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-edd2aa33f0

Comment 11 Fedora Update System 2025-11-04 04:19:35 UTC
FEDORA-2025-edd2aa33f0 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-edd2aa33f0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-edd2aa33f0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-11-06 02:41:27 UTC
FEDORA-2025-edd2aa33f0 (breezy-3.3.17-1.fc43 and python-dulwich-0.24.8-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.