Bug 126123 - rpm --rebuilddb results in segfault
Summary: rpm --rebuilddb results in segfault
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-16 11:44 UTC by Christian Dias Løgberg
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-09-26 21:52:53 UTC


Attachments (Terms of Use)
output of rpm -qa -vv (56.43 KB, text/plain)
2004-06-16 13:43 UTC, Christian Dias Løgberg
no flags Details
output of rpm --rebuilddb -vv (437.45 KB, text/plain)
2004-06-17 15:05 UTC, Christian Dias Løgberg
no flags Details

Description Christian Dias Løgberg 2004-06-16 11:44:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040207 Firefox/0.8

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 | \
/usr/lib/rpm/db_load Packages


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):


How reproducible:
Always

Steps to Reproduce:
1. Run rpm
2.
3.
    

Actual Results:  Segmentation fault

Expected Results:  An install, upgrade, removal, or other handling of
specified package

Additional info:

rpm v. 4.3.1

Comment 1 Jeff Johnson 2004-06-16 12:36:20 UTC
Can you attach rpm -qa -vv output?

Comment 2 Christian Dias Løgberg 2004-06-16 13:43:04 UTC
Created attachment 101186 [details]
output of rpm -qa -vv

Comment 3 Jeff Johnson 2004-06-17 13:11:31 UTC
ok, all the headers appear intact.

now what happens with rpm --rebuilddb -vv? The
last header instance printed may be damaged ...

Comment 4 Christian Dias Løgberg 2004-06-17 15:05:42 UTC
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
output?

Comment 5 Paul Nasrat 2005-09-26 21:52:53 UTC
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.


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