Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1572150

Summary: Segmentation fault in infinite recursion test on CentOS 6
Product: Red Hat Software Collections Reporter: Jan Staněk <jstanek>
Component: pythonAssignee: Python Maintainers <python-maint>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rh-python36CC: cstratak, jstanek, pviktori
Target Milestone: alpha   
Target Release: 3.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-19 14:42:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Staněk 2018-04-26 09:38:16 UTC
Description of problem:
When rebuilding the package for CentOS, the test suite crashes due to segmentation fault in infinite recursion test.

Version-Release number of selected component (if applicable):
rh-python36-python-3.6.3-3.el6

How reproducible:
Rebuild the source package in CBS, in target sclo6-rh-python36-rh-el6

Actual results:
The build fails due to test suite crash.

Expected results:
The build passes.

Additional info:
- The failed build with logs: https://cbs.centos.org/koji/taskinfo?taskID=399798
- The issue seems to not manifest on RHEL.
- Rebuild of previous release (rh-python36-python-3.6.3-1.el6, https://cbs.centos.org/koji/buildinfo?buildID=20502) was completed successfully.

Comment 2 Charalampos Stratakis 2018-04-26 10:44:34 UTC
Seems related to https://bugs.python.org/issue27277

Will try to do some tests with increasing the stack size.

Comment 3 Charalampos Stratakis 2018-04-26 10:57:45 UTC
Tried in mock but the issue does not reproduce there, and I don't have any experience with the CentOS build system. Could you refer me to some guidelines on how to do a scratch build there?

Also check this as well: bug 1292462

Comment 4 Jan Staněk 2018-04-26 11:12:12 UTC
(In reply to Charalampos Stratakis from comment #3)
> Tried in mock but the issue does not reproduce there, and I don't have any
> experience with the CentOS build system. Could you refer me to some
> guidelines on how to do a scratch build there?

CBS guide: https://wiki.centos.org/HowTos/CommunityBuildSystem

However, this requires joining a SIG. Although I would certainly be grateful if you joined us, let me try it first with the `ulimit` workaround :)

Comment 5 Charalampos Stratakis 2018-04-26 11:20:13 UTC
(In reply to Jan Staněk from comment #4)
> (In reply to Charalampos Stratakis from comment #3)
> > Tried in mock but the issue does not reproduce there, and I don't have any
> > experience with the CentOS build system. Could you refer me to some
> > guidelines on how to do a scratch build there?
> 
> CBS guide: https://wiki.centos.org/HowTos/CommunityBuildSystem
> 
> However, this requires joining a SIG. Although I would certainly be grateful
> if you joined us, let me try it first with the `ulimit` workaround :)

Relevant line from the python3 fedora SPEC [0] (obviously we don't need it only for ppc here).

[0] https://src.fedoraproject.org/rpms/python3/blob/f26/f/python3.spec#_1132

Comment 6 Jan Staněk 2018-04-26 12:46:04 UTC
The `ulimit` workaround seems to work: https://cbs.centos.org/koji/taskinfo?taskID=400793

Comment 7 Petr Viktorin (pviktori) 2018-06-07 14:46:29 UTC
Can this issue be closed?

Comment 8 Jan Staněk 2018-06-12 12:21:26 UTC
The package was successfully built and passed testing, so it seems to work. The issue can be closed.