| Summary: | aborts in Python during comparing operation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ales Kozumplik <akozumpl> | ||||
| Component: | libcomps | Assignee: | Jindrich Luza <jluza> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 20 | CC: | jluza, jzeleny | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-20 11:19:39 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: | |||||
| Attachments: |
|
||||||
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)]
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 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). 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 |
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.