Bug 178976 - rpm segmentation fault when updating rpm-4.4.1-22.x86_64.rpm
Summary: rpm segmentation fault when updating rpm-4.4.1-22.x86_64.rpm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-25 21:37 UTC by Scott Koranda
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-27 16:03:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
strace output on seg faulting rpm command (151.63 KB, text/plain)
2006-01-25 21:50 UTC, Scott Koranda
no flags Details

Description Scott Koranda 2006-01-25 21:37:40 UTC
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:

Comment 1 Scott Koranda 2006-01-25 21:50:41 UTC
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

Comment 2 Scott Koranda 2006-01-25 22:04:22 UTC
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 ?? ()


Comment 3 Jeff Johnson 2006-01-26 22:20:32 UTC
Does the problem reproduce with rpm-4.4.4 packages from
    http://wraptastic.org/pub/x86_64-CentOS4-linux/RPMS/{rpm,popt}-*

Comment 4 Scott Koranda 2006-01-27 16:03:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.