On 07/26/2011 09:44 AM, Orion Poplawski wrote: > On 07/26/2011 09:31 AM, Joe Pruett wrote: >> i have done some strace'ing and it is dieing while reading >> /var/cache/yum/rpmforge/primary.xml.gz. i have externally tested that >> file and can gunzip it just fine and xmllint doesn't find any issues >> either, so it would appear to be the data itself. i'll do a bit more >> poking to see if i can track down anything further. > > I've been updating the bug. Looks like the pkgId for mhash is null. strlen > gets called on the null pointer. Still need to look deeper. > >
So, yes there is a bug in yum, but it is triggered by a bad primary.xml file: <package type="rpm"><name>mhash-devel</name><arch>x86_64</arch><version epoch="0" ver="0.9.9" rel="1.el5.rf"/><checksum type="sha" pkgid="YES"></checksum><summary>Header files and libraries for developing apps which will use mhash</summary> The above is missing the checksum. compare to: <package type="rpm"><name>mhash</name><arch>x86_64</arch><version epoch="0" ver="0.9.9" rel="1.el5.rf"/><checksum type="sha" pkgid="YES">6d99a4ae71018caea53b2ee45c4feedf6d12a4f0</checksum><summary>Thread-safe hash library</summary> -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane [email protected] Boulder, CO 80301 http://www.cora.nwra.com _______________________________________________ users mailing list [email protected] http://lists.repoforge.org/mailman/listinfo/users
