Bug 1192920

Summary: Fix segfault on F21
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
Component: libgit2Assignee: Veeti Paananen <veeti.paananen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: i, veeti.paananen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libgit2-0.21.1-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 10:25:38 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 Pierre-YvesChibon 2015-02-16 08:44:01 UTC
Description of problem:
When running the tests for https://github.com/fedora-infra/pygit2_utils (clone the sources and run ``python setup.py test``, libgit/pygit2 segfaults.

bkabrda looked further into and found out that the segfault is related to:
https://github.com/libgit2/libgit2/commit/6d20006f7e8dbc26cf07bf8a945bc6972642c303#diff-2f07edcf8df8f205905e1e7d24631753.patch

Could it be possible to integrate this patch in a new release for F21?

Version-Release number of selected component (if applicable):
libgit2-0.21.1-2.fc21.x86_64

How reproducible:
always

Steps to Reproduce:
1. git clone https://github.com/fedora-infra/pygit2_utils.git
2. python setup.py test (or directly: nosetests)


Actual results:
segfaults

Expected results:
All tests pass

Additional info:

Comment 1 Fedora Update System 2015-02-16 16:28:07 UTC
libgit2-0.21.1-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libgit2-0.21.1-3.fc21

Comment 2 Veeti Paananen 2015-02-16 16:29:32 UTC
I pushed an update with this patch. Seems to work for me. Let me know how it goes and I'll try to upstream this on their 0.21 branch too.

Comment 3 Fedora Update System 2015-02-17 08:01:43 UTC
Package libgit2-0.21.1-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libgit2-0.21.1-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2119/libgit2-0.21.1-3.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-02-28 10:25:38 UTC
libgit2-0.21.1-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.