Bug 87805

Summary: rpm segfaults when installing RPMs
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-03 16:37:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace of rpm segfaulting none

Description Chris Ricker 2003-04-02 19:17:52 UTC
This is on a fresh everything install of RHL 9, + Jakub's potential glibc errata
(glibc-2.3.2-22.9)

When I try to install wine RPMs (wine- and wine-devel-20020605-2.i386.rpm from
RHL 8.0, rebuilt on RHL 9), I get a segmentation fault

As a starting place, I'll attach the strace.  The RPMs are probably too big to
attach, but I can put 'em on the web if you'd like to download them

Comment 1 Chris Ricker 2003-04-02 19:19:50 UTC
Created attachment 90848 [details]
strace of rpm segfaulting

Comment 2 Jeff Johnson 2003-04-02 23:41:27 UTC
I can't tell much from the strace, other than that you
are segfaulting soon after trying to retrieve a public key
to verify a package.

Some mixture of the following usually fixes:
    a) rm -f /var/lib/rpm/__db*
    a) rpm --rebuilddb -vv
    b) erasing and reimporting the public key

SO which of those fixed the problem?

If not fixed, please include output of whatever
operation is segfaulting with -vv added.

Comment 3 Chris Ricker 2003-04-03 16:16:01 UTC
rpmdb --rebuilddb (which I did for other reasons; see Bug 87812) seems to have
fixed this....

Comment 4 Chris Ricker 2003-04-03 16:17:17 UTC
Oh, I actually did both (a) and (b)

rm -f /var/lib/rpm/__db*
rpmdb --rebuilddb

Comment 5 Jeff Johnson 2003-04-03 16:37:30 UTC
OK, looks solved.