Bug 87805 - rpm segfaults when installing RPMs
rpm segfaults when installing RPMs
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-04-02 14:17 EST by Chris Ricker
Modified: 2007-04-18 12:52 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-03 11:37:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace of rpm segfaulting (34.20 KB, application/octet-stream)
2003-04-02 14:19 EST, Chris Ricker
no flags Details

  None (edit)
Description Chris Ricker 2003-04-02 14:17:52 EST
This is on a fresh everything install of RHL 9, + Jakub's potential glibc errata

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 14:19:50 EST
Created attachment 90848 [details]
strace of rpm segfaulting
Comment 2 Jeff Johnson 2003-04-02 18:41:27 EST
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 11:16:01 EST
rpmdb --rebuilddb (which I did for other reasons; see Bug 87812) seems to have
fixed this....
Comment 4 Chris Ricker 2003-04-03 11:17:17 EST
Oh, I actually did both (a) and (b)

rm -f /var/lib/rpm/__db*
rpmdb --rebuilddb
Comment 5 Jeff Johnson 2003-04-03 11:37:30 EST
OK, looks solved.

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