Bug 1000449 - sigsegv testing membership in env.option_ids
Summary: sigsegv testing membership in env.option_ids
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcomps
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jindrich Luza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-23 13:17 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-27 14:21:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-08-23 13:17:53 UTC
with libcomps-0.1.3-1.fc19.x86_64 the following ends up with a SIGEGV on the last line:

#! /usr/bin/python

FN = '/home/akozumpl/tmp/repodata/6cb5995a4849a9bbd94300eae97e6511317cc60222350e511aa660a5922ab292-comps-rawhide.xml'

import dnf.comps

c = dnf.comps.Comps()
c.add_from_xml_filename(FN)
groups = c.groups
env = c.environment_by_pattern('*gnome*')
for grp in groups:
    id_ = grp.id
    print(id_ in env.option_ids)

Please treat this a high-prio as its blocking progress on the DNF Payload for Anaconda.

Comment 1 Jindrich Luza 2013-08-27 14:21:19 UTC
Bug is fixed in libcomps-0.1.3-2, which appear in fedora 20 after freeze.


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