Bug 80196 - rpm -qa gives seg fault. Corrupt db ?
rpm -qa gives seg fault. Corrupt db ?
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-21 23:06 EST by Mark Winder
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-19 14:44:05 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 Mark Winder 2002-12-21 23:06:27 EST
Description of problem:
Bit of a newbie at this. Rpm has become eratic and doesn't work any more. I've 
had to kill it because it has hung while installing If you do rpm -qa the 
example now on my screen has popped up a box saying "Application gnome-terminal 
has crashed due to a fatal error (Segmentation Fault). Clicking start system 
ppackages also causes errors that range from an immediate re-boot to 
termination of all running shells, to  an error box similar to the above 
popping up, its not consistent. I'm reading the page at 
http://www.rpm.org/hintskinks/repairdb/ where Jeff Johnson says that if rpm -qa 
gives segfault here I should submit an entry on bugzilla,  and he'll tell me 
what to do. and so I am!
Its worth noting that rpm --rebuilddb also gives a segfault, but db_verify 
Packages completes silently. 

Version-Release number of selected component (if applicable):
rpm 4.1

How reproducible:
Every time on this machine now. 

Steps to Reproduce:
1. rpm -qa
2.
3.
    
Actual results:
Packages are listed out as expected, but after about 200 or more the 
Application gnome-terminal box appears. Clicking on this will close the shell, 
or all openb shells, and may freeze up the computer or cause a spontabious 
reboot. Occasionally a small grey error box appears here too. 

Expected results:
Command should run to completion

Additional info:
Comment 1 Tim Powers 2002-12-22 09:55:53 EST
Changed component to rpm
Comment 2 Jeff Johnson 2002-12-23 16:24:00 EST
What does "rpm --rebuilddb -vv" say?
Comment 3 Jeremy Katz 2005-04-19 14:44:05 EDT
Closing due to inactivity.  If this issue still occurs with current releases,
please reopen and set the release in which you've encountered the problem.

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