[PLUG] why segfault
Paul Heinlein
heinlein at attbi.com
Mon Nov 4 18:41:09 UTC 2002
On Mon, 4 Nov 2002, Mike De La Mater wrote:
> I've got a corrupted rpm database on a RH 7.3 system, so:
> #rpm -rebuilddb
I assume you mean 'rpm --rebuilddb' (with two hyphens, not just one).
> It runs for a while, but instead of finishing, I get:
> Seegmentation fault
The best thing to do is wrap rpm in strace so you can figure out which
system call is the one causing it to hang:
# strace -o /tmp/rpmcrash.txt rpm --rebuilddb
You might also consider verifying the db files to see if you can spot
the error:
# db3_verify /var/lib/rpm/*
--Paul Heinlein <heinlein at attbi.com>
More information about the PLUG
mailing list