Bug 102971 - rpm Segmentation Fault
rpm Segmentation Fault
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
athlon Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-08-23 18:59 EDT by Jonathan Desprey
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-25 13:37:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Desprey 2003-08-23 18:59:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)

Description of problem:
Hello, found a few bugs with similar problems, yet I can't get any solution to work. After I had installed a rpm package, webmin 1.050-1, the installation went okay, but as soon as I tried to install another rpm package (mysql server) it crashed. So then I tried to query to do rpm -qa and it reported the following

[root@localhost rpm]# rpm -qa
Segmentation fault
[root@localhost rpm]#

so then I went to the rpm webpage and ran through the hints section to try and rebuild the db using the page listed and when I ran the db verify it came up with this

[root@localhost rpm]# /usr/lib/rpm/rpmdb_verify Packages
db_verify: Page 3359: overflow page of invalid type 0
db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed
[root@localhost rpm]#

anyway so then I tried the step of backing up my package listings and then do a dump then a load and it "worked", followed by the rpm -qa again

once more

the same error as above.

HELP!!! :)

I'll post a tar backup of my database at

or if there is a utility that will allow me to view the inner workings of my rpmdatabase I could remove the record for webmin, but I dunno

Thanks JD

Version-Release number of selected component (if applicable):
rpm-4.2 kernel 2.4.20

How reproducible:

Steps to Reproduce:
1.rpm -qa

Additional info:
Comment 1 Jonathan Desprey 2003-08-23 19:34:53 EDT
D: adding 11 entries to Filemd5s index.
D:  read h#     546 Header sanity check: OK
D:   +++ h#       5 Header sanity check: OK
D: adding "webmin" to Name index.
D: adding 9572 entries to Basenames index.
D: adding "System/Tools" to Group index.
D: adding 4 entries to Requirename index.
D: adding "" to Providename index.
D: adding 573 entries to Dirnames index.
D: adding 4 entries to Requireversion index.
D: adding "" to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
Segmentation fault
[root@localhost rpm]

forgot here is the error from rpm -vv --rebuilddb
Comment 2 Jeff Johnson 2003-08-25 13:01:49 EDT
Hmmm, you have a screwed up rpmdb, duh.

Looking, maybe I can resurrect, news at 11.
Comment 3 Jeff Johnson 2003-08-25 13:37:21 EDT
Look for rpmdb-102971.tar.gz at ftp://people.redhat.com/jbj
in ~20 minutes.

Install by doing
    cd /var/lib/rpm
    mv Packages Packages-DELETE
    cd ..
    tar xzvf rpmdb-102971.tar.gz
    rpm --rebuilddb -vv

Can you also append any details about how webmin was installed? Thanks.
Comment 4 Jeff Johnson 2003-08-25 13:45:51 EDT
Hmmm, the file is actually rpmdb-102971-FIX.tar.gz, adjust procedure
Comment 5 Jonathan Desprey 2003-08-25 14:29:30 EDT
Thanks it seems to be working well now. As too how the install for webmin went, 
I can't be sure since it was about 2 weeks ago, but there was a 
error/connection failure when I was trying to install webmin remotely over ssh, 
dunno if that could have done it but its my old install of Linux updated and I 
am a newb :)

Thanks again

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