Red Hat Bugzilla – Bug 117081
rpm.headerLoad call causes segfault
Last modified: 2014-01-21 17:49:20 EST
Description of problem:
When Yum calls rpm.headerLoad to verify downloaded headers, it segfaults.
rpm-python 4.3-0.14 is responsible for the segfault.
Steps to Reproduce:
1. Install rpm-python 4.3-0.14
2. yum list updates.
seg fault the first time it checks a header
continuing to check headers
Downgrading to rpm-python-4.3-0.9.1 fixes the problem, so the problem
lies squarely in rpm-python-4.3-0.14
segfaults in rpmlib are invariably because of bad data is the general
otherwise, try -0.16, if segfault persists, then attach the
hdr here. short *.py reproducer will expedite fix.
Upgrading to -0.16 fixes it. After messing around with it, it seems
that it was caused by rpm-python's dependances. rpm-python -0.14
doesn't require rpm -0.14. So when yum updated, it upgraded
rpm-python from -0.9 to -0.14 before upgrading rpm. The result was
that it segfaulted right afterwards, leaving rpm at -0.9.
rpm-python deliberately does not depend on explcit release of