Bug 50105 - rpm --rebuildb Segmentation fault
rpm --rebuildb Segmentation fault
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.2
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-26 17:17 EDT by tanner
Modified: 2007-04-18 12:35 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-26 17:17:37 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 tanner 2001-07-26 17:17:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010710

Description of problem:
Upgraded to rpm-4.0.2-6x using the rpm -Uhv command.
The upgrade Segmentation faulted.

Tried rpm -q rpm, it seg faulted.
Tried rpm -qa, it seg faulted.
Tried rpm --rebuilddb, it seg faulted.

Doing a rpm -vv --rebuildb showed:

D: adding "nfs-utils" to Name index.
D: adding 73 entries to Basenames index.
D: adding "System Environment/Daemons" to Group index.
D: adding 17 entries to Requirename index.
D: adding 6 entries to Providename index.
D: adding 3 entries to Triggername index.
Segmentation fault

I removed nfs-utls to see if that would fix the problem, another 
rpm -vv --rebuilddb shows this:

D: adding "mutt" to Name index.
D: adding 52 entries to Basenames index.
D: adding "Applications/Internet" to Group index.
D: adding 17 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding 1 entries to Conflictname index.
Segmentation fault


I cannot install or remove any software.

How reproducible:
Always

Steps to Reproduce:
	The upgrade Segmentation faulted.

Tried rpm -q rpm, it seg faulted.
Tried rpm -qa, it seg faulted.
Tried rpm --rebuilddb, it seg faulted.

Doing a rpm -vv --rebuildb showed:

D: adding "nfs-utils" to Name index.
D: adding 73 entries to Basenames index.
D: adding "System Environment/Daemons" to Group index.
D: adding 17 entries to Requirename index.
D: adding 6 entries to Providename index.
D: adding 3 entries to Triggername index.
Segmentation fault

I removed nfs-utls to see if that would fix the problem, another
rpm -vv --rebuilddb shows this:

D: adding "mutt" to Name index.
D: adding 52 entries to Basenames index.
D: adding "Applications/Internet" to Group index.
D: adding 17 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding 1 entries to Conflictname index.
Segmentation fault


Additional info:
Comment 1 Jeff Johnson 2001-07-26 17:47:20 EDT
Try rpm-4.0.3-0.57.6x packages (there are 5) from
	ftp://ftp.rpm.org/pub/rpm/test-4.0.3
Most segfaults from bad headers in the database are fixed there.

Please reopen this bug if "rpm --rebuilddb" with rpm-4.0.3-0.57
does not fix your problem.

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