Bug 65641 - rpm 4.03 & 4.04 segfaults on --rebuilddb
Summary: rpm 4.03 & 4.04 segfaults on --rebuilddb
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-05-29 11:57 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-29 11:57:06 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2002-05-29 11:57:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20010901

Description of problem:
I started getting errors when adding packages after a clean 7.2 install. I tried
rpm --rebuilddb, but it segfaults. I downloaded the rpm update from the RH site,
but that does the same. I installed rpm 4.04 from the 7.3 disks, but the problem

I tried some of the other fixes such as those mentioned in 57112, and got rid of
the bad record rpm -qa was reporting, but I still can't rebuild my database.

Version-Release number of selected component (if applicable):
4.03 & 4.04

How reproducible:

Steps to Reproduce:
1.rpm --rebuilddb -vv

Actual Results:  lots of stuff, then:
D:   +++        162 findutils-4.1.7-1
D: adding "findutils" to Name index.
D: adding 10 entries to Basenames index.
D: adding "Applications/File" to Group index.
D: adding 12 entries to Requirename index.
D: adding "findutils" to Providename index.
D: adding 5 entries to Dirnames index.
D: adding 12 entries to Requireversion index.
D: adding "1:4.1.7-1" to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding 10 entries to Filemd5s index.
Segmentation fault (core dumped)

Expected Results:  Database rebuild completed.

Additional info:

A tarfile of my /var/lib/rpm can be found at:


Comment 1 Jeff Johnson 2002-05-30 23:24:41 UTC
Instance #65 was bad. Sorry I don't know what package
that was.

I've deleted instance #65, and done a --rebuilddb.
You can find a fixed copy of your rpm/Packages at
Download and install by doing (as root)
	cd /var/lib
	mv rpm/Packages rpm/Packages-SAVE
	tar xzvf rpmdb-65641-FIX.tar.gz
	rpm --rebuilddb -vv
and you should be OK.

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