Bug 80118 - rpm 4.1 segmentation fault!
rpm 4.1 segmentation fault!
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-20 01:15 EST by percy lau
Modified: 2007-04-18 12:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-19 15:05:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description percy lau 2002-12-20 01:15:19 EST
Description of problem:
rpm install error!

Version-Release number of selected component (if applicable):
rehat 8.0 
rpm 4.1

How reproducible:


Steps to Reproduce:
1.rpm --initdb --root /home/test
2.rpm -ivh --root /home/test foo.i368.rpm
3.
    
Actual results:
Perparing...  ########################[100%]
Segmentation fault

Expected results:


Additional info:
Comment 1 Michael Lee Yohe 2002-12-20 10:22:21 EST
Please create an strace output of the RPM process to reveal where RPM actually
failed.

# strace rpm <parameters> 2> rpm_stderr.txt

Attach rpm_stderr.txt to this bug.
Comment 2 Jeff Johnson 2002-12-20 19:54:37 EST
Better than an strace:

Try using -ivv rather than -ivh, and attach output here
Comment 3 Need Real Name 2003-06-23 16:53:58 EDT
I can reproduce, upgraded from RedHat 8.0 with -Uvh glibc-common and then glibc
(both from 9.0 updates), all rpm commands thereafter will cause segmentation fault.
Comment 4 Need Real Name 2003-06-23 16:56:36 EDT
Ahem, all rpm -i and -e for package installation/removal commands, that is.
Have also tried the rpm rebuild procedure to no avail.
Please please help 
Comment 5 Need Real Name 2003-06-23 18:09:57 EDT
Yeehaa! found the solution:
030623 *** Found clue in bugzilla #86197

 Download all the below RPMs
 rpm-4.2
 elfutils-0.76
 elfutils-libelf-0.76
 popt-1.7
 nscd-2.3.2

 Some pseudocode here
 cd /
 for each foo
   rpm2cpio /downloads/foo > /home/foo
   cpio -i < /home/foo
 do
030623 Reinstalled glibc-2.3.2-27-9

Now RPM works again, and the guy responsible for glibc not including the above
dependencies shall be b---slapped...

/Patric

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