Bug 1073890

Summary: Crash while loading CentOS yumgroups.xml
Product: [Fedora] Fedora Reporter: Pavol Babinčák <pbabinca>
Component: libcompsAssignee: Jindrich Luza <jluza>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jluza
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-10-07 09:04:13 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
Minimal reproducer none

Description Pavol Babinčák 2014-03-07 12:22:17 UTC
Created attachment 871881 [details]
Minimal reproducer

Description of problem:
I'm trying to load yumgroups.xml used for CentOS 4.9 using python bindings. Python interpreter crashes upon fromxml_f() call.

Version-Release number of selected component (if applicable):
libcomps-0.1.6-3.fc21.x86_64
python-libcomps-0.1.6-3.fc21.x86_64
python-2.7.5-11.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Download attached yumgroups.py and yumgroups.xml
2. Run yumgroups-biarchonly.py script with Python interpreter:
   python yumgroups.py

Actual results:
Segmentation fault

Expected results:
Successful load comps file

Additional info:
Comps file is from CentOS 4.9: http://vault.centos.org/4.9/os/x86_64/repodata/yumgroups.xml