Bug 1006738 - aborts in Python during comparing operation
Summary: aborts in Python during comparing operation
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcomps
Version: 20
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: ---
Assignee: Jindrich Luza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 08:26 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-20 11:19:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
traceback from gdb (33.59 KB, text/plain)
2013-09-11 08:26 UTC, Ales Kozumplik
no flags Details

Description Ales Kozumplik 2013-09-11 08:26:18 UTC
Created attachment 796291 [details]
traceback from gdb

On my private branch I'm using libcomps-0.1.3-3 to implement DNF Payload support in Anaconda. I am seeing the python process being aborted after the python runtime tries to compare libcomps.GroupID objects. Attached is the full traceback.

Please fix this ASAP, the progress on DNF Payload is blocked by this.

Comment 1 Ales Kozumplik 2013-09-11 12:57:57 UTC
Here's a reproducer (it doesn't make sense because it was created by a bug in the payload code, yet the python bindings rule applies: no python programming error should cause sigsegvs/aborts):

import libcomps
from pykickstart.parser import Group

comps = libcomps.Comps()
comps.fromxml_f('/tmp/dnf.cache/default/fedora/repodata/16e49bf17cb730f0ec316dfb0c813241a955f545b0dac7c51dbb582ea6da14c9-comps-f20.xml')
gid = comps.environments[0].group_ids[0]
g = Group(gid)
g in [Group('2'), Group(gid)]

Comment 2 Fedora Update System 2013-09-12 10:07:34 UTC
libcomps-0.1.3-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libcomps-0.1.3-4.fc20

Comment 3 Fedora Update System 2013-09-12 16:27:57 UTC
Package libcomps-0.1.3-4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libcomps-0.1.3-4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16523/libcomps-0.1.3-4.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-09-16 10:38:34 UTC
libcomps-0.1.3-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libcomps-0.1.3-5.fc20


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