Red Hat Bugzilla – Bug 126123
rpm --rebuilddb results in segfault
Last modified: 2007-11-30 17:10:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
Rpm segfaults when I attempt to handle packages. I tried removing the
__* lock-files and rebuilding the database.
$ mv Packages Packages-ORIG /usr/lib/rpm/db_dump Packages-ORIG | \
Checks seem to work fine:
$ /usr/lib/rpm/rpmdb_verify /var/lib/rpm/Packages works fine
$ rpm -qa also works fine
but when I try to rebuild with rpm --rebuilddb, a segfault occurs
I still can't handle packages :(
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run rpm
Actual Results: Segmentation fault
Expected Results: An install, upgrade, removal, or other handling of
rpm v. 4.3.1
Can you attach rpm -qa -vv output?
Created attachment 101186 [details]
output of rpm -qa -vv
ok, all the headers appear intact.
now what happens with rpm --rebuilddb -vv? The
last header instance printed may be damaged ...
Created attachment 101219 [details]
output of rpm --rebuilddb -vv
This command also results in a segfault, but I can't see any problems in the
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 release, reopen and change the version to match.