Bug 865579

Summary: python-greenlet segfaults on ppc64
Product: [Fedora] Fedora Reporter: Paulo de Rezende Pinatti <ppinatti>
Component: python-greenletAssignee: Lev Shamardin <shamardin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: bugproxy, gustavold, kevin, paulo.cesar.pereira.de.andrade, p, ppinatti, shamardin
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 865643 (view as bug list) Environment:
Last Closed: 2012-12-13 15:09:55 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:
Attachments:
Description Flags
Backported commit b17773a
none
Backport of pull request https://github.com/python-greenlet/greenlet/pull/7 none

Description Paulo de Rezende Pinatti 2012-10-11 20:02:21 UTC
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.

Comment 1 Fedora Update System 2012-10-12 00:01:50 UTC
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

Comment 2 Fedora Update System 2012-10-12 00:02:44 UTC
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

Comment 3 Fedora Update System 2012-10-12 00:03:18 UTC
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 4 Fedora Update System 2012-10-12 17:58:25 UTC
Package python-greenlet-0.3.1-11.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-greenlet-0.3.1-11.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16027/python-greenlet-0.3.1-11.fc18
then log in and leave karma (feedback).

Comment 5 Paulo de Rezende Pinatti 2012-10-19 18:40:17 UTC
It seems the updated package wasn't pushed to the ppc64 repositories. I am able to see it on the x86 repository though. Maybe some ppc64 tag is missing in the build?

Comment 6 Kevin Fenzi 2012-10-19 18:54:46 UTC
In Fedora, ppc is a secondary arch. They follow behind the primary arch... 
so there could well be some delay before it's built. 

Check ppc.koji.fedoraproject.org for progress.

Comment 7 Paulo de Rezende Pinatti 2012-11-14 19:00:41 UTC
Package reached repositories and I was able to successfully test it on Fedora 17.

Comment 8 Pádraig Brady 2013-02-07 10:41:43 UTC
*** Bug 819726 has been marked as a duplicate of this bug. ***

Comment 9 IBM Bug Proxy 2013-02-07 10:44:46 UTC
Created attachment 694386 [details]
Backport of pull request https://github.com/python-greenlet/greenlet/pull/7