From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010803 Description of problem: rpm crashes on rpm -qa and rpm --rebuilddb with segmentation fault. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run rpm -qa 2. after long list of packages, rpm dies 3. Additional info:
Update: this happened after update to rpm 4.0.2 (rpm-4.0.2-6x.src.rpm)
Try rpm-4.0.3-0.57.6x from ftp://ftp.rpm.org/pub/rpm/test-4.0.3 as many (all I've seen) segfaults from bad headers are fixed there.
Assuming problem fixed.