From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
rpm -qa segfaults after displaying a few entries.
The Packages file got corrupted after installing perl v5.6.1 (it would not pass
db_verify), and rpm -qa would crash. I used db_dump Packages-ORIG | db_load
Packages in /var/lib/rpm. With the new Packages file, db_verify does not
complain anymore, but rpm still segfaults. rpm --rebuilddb exhibits the same
behavior.
Among the displayed entries, one can see perl 5.6.0 which has been replaced
with perl 561 on the system. The rpm db is out of sync.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Move Packages to /var/lib/rpm
2. run rpm -qa
Actual Results: Segfault without any trace
Expected Results: rpm -qa should have displayed the installed packages.
Additional info:
this is stock rpm v4.0.3.