Red Hat Bugzilla – Bug 7624
"rpm -qp[il]" dumps core for non-existant files
Last modified: 2008-05-01 11:37:53 EDT
If rpm is called with a "-qp" option and given the name of a non-existant
file, it will crash like this:
[fortytwo@manetheren dl]$ rpm -q rpm
[fortytwo@manetheren dl]$ rpm --version
RPM version 3.0.4
[fortytwo@manetheren dl]$ rpm -qip feh
open of feh failed: No such file or directory
rpm: rpmio.c:2398: Fclose: Assertion `fd && fd->magic == 0xbeefdead'
Aborted (core dumped)
Created attachment 32 [details]
Thanks for the patch. This is already fixed as
If you're interested in helping to debug rpm-3.0.4, please check Raw Hide often
for updates as there will be lots of fixes in the next 2-3 weeks.
Otherwise, you're probably better off reverting to the production rpm-3.0.3.