Bug 865643

Summary: python-greenlet segfaults on ppc64
Product: Red Hat OpenStack Reporter: Pádraig Brady <pbrady>
Component: python-greenletAssignee: Pádraig Brady <pbrady>
Status: CLOSED WONTFIX QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0 (Essex)CC: apevec, gustavold, ppinatti
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-greenlet-0.3.1-11.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 865579 Environment:
Last Closed: 2012-12-14 00:14:42 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 Pádraig Brady 2012-10-12 01:20:12 UTC
+++ This bug was initially created as a clone of Bug #865579 +++

Created attachment 625672 [details]
Backported commit b17773a

Description of problem:

Whenever the library's switch function is used it segfaults. How to reproduce:

>>> from greenlet import greenlet
>>> def test():
...     print 12
... 
>>> def run():
...     gr = greenlet(test)
...     gr.switch()
... 
>>> run()
12
Segmentation fault


Version-Release number of selected component (if applicable): 0.3.1-9.fc17


How reproducible: always

There is already a fix available upstream. The package can either be updated to the 0.4.0 version or the commit b17773a can be cherry-picked. A backported version of the commit is attached.

--- Additional comment from updates on 2012-10-11 20:01:50 EDT ---

python-greenlet-0.3.1-11.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-greenlet-0.3.1-11.fc17

--- Additional comment from updates on 2012-10-11 20:02:44 EDT ---

python-greenlet-0.3.1-11.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-greenlet-0.3.1-11.fc18

--- Additional comment from updates on 2012-10-11 20:03:18 EDT ---

python-greenlet-0.3.1-11.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-greenlet-0.3.1-11.el6

Comment 2 Pádraig Brady 2012-10-22 17:09:11 UTC
TBH, testing that it still works on x86 is fine here (and it should as it's separate). This should be looked as low hanging fruit to support OpenStack on power.

Comment 3 Yaniv Kaul 2012-10-23 07:10:10 UTC
Note to QE: perform sanity (via Tempest) on x86.