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 rpm-3.0.4-0.1 [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' failed. Aborted (core dumped) [fortytwo@manetheren dl]$
Created attachment 32 [details] possible patch
Thanks for the patch. This is already fixed as if (fd) Fclose(fd); 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.