From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Description of problem: [root@moon ~]# ls -l rpm-4.4.1-22.x86_64.rpm -rw-r--r-- 1 root root 596341 Jul 13 2005 rpm-4.4.1-22.x86_64.rpm [root@moon ~]# md5sum rpm-4.4.1-22.x86_64.rpm 37b01382694ac79ce43ab8308cd789cf rpm-4.4.1-22.x86_64.rpm [root@moon ~]# rpm -vv -Uh rpm-4.4.1-22.x86_64.rpm D: ============== rpm-4.4.1-22.x86_64.rpm D: Expected size: 596341 = lead(96)+sigs(344)+pad(0)+data(595901) D: Actual size: 596341 D: opening db environment /var/lib/rpm/Packages joinenv D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0 D: read h# 812 Header sanity check: OK D: ========== DSA pubkey id b44269d0 4f2a6fd2 (h#812) D: rpm-4.4.1-22.x86_64.rpm: Header V3 DSA signature: OK, key ID 4f2a6fd2 Segmentation fault Version-Release number of selected component (if applicable): rpm-4.4.1-21 How reproducible: Always Steps to Reproduce: 1. See submitted description. 2. 3. Additional info:
Created attachment 123694 [details] strace output on seg faulting rpm command Output from the command strace rpm -vv -Uh rpm-4.4.1-22.x86_64.rpm >& strace.out
gdb shows this stack at the time of the seg fault: (gdb) bt #0 0x00002aaaaac08008 in rpmfiFree () from /usr/lib64/librpm-4.4.so #1 0x00002aaaaac0a090 in rpmfiNew () from /usr/lib64/librpm-4.4.so #2 0x00002aaaaac150b1 in rpmteNew () from /usr/lib64/librpm-4.4.so #3 0x00002aaaaabeb18a in rpmtsAddInstallElement () from /usr/lib64/librpm-4.4.so #4 0x00002aaaaac0d5da in rpmInstall () from /usr/lib64/librpm-4.4.so #5 0x000000000040499d in ?? () #6 0x00000032f141c4cc in __libc_start_main () from /lib64/libc.so.6 #7 0x00000000004039a9 in ?? () #8 0x00007fffff8f0818 in ?? () #9 0x0000000000000000 in ?? ()
Does the problem reproduce with rpm-4.4.4 packages from http://wraptastic.org/pub/x86_64-CentOS4-linux/RPMS/{rpm,popt}-*
My apologies. It looks like there are substantial problems with the system as other programs not related to PRM are now seg faulting. Please consider this not a bug and let it be close.