[vox-tech] Segmentation Fault with RPM --rebuilddb
Richard Crawford
vox-tech@lists.lugod.org
03 Jan 2003 16:16:06 -0800
On Fri, 2003-01-03 at 11:34, ME wrote:
> Since it is immediate, and we see no other items in the trace, I would
> expect it is not a path issue with symlinks. It is sounding more and more
> like a file problem. Like there is an attempt to open a file (earlier)
> that is assumed to allready be open (no checking) and now, as we are
> getting to writing to the file descriptor, it is suddenly found to not be
> valid, or ? I guess it could be cause by a filesystem problem at the point
> on disk where one of the files it uses is stored (seems unlikely)
That would be odd... I have seen no other indications of any problems.
> The suggestion made by Charles Polisher is a good one, and puts you on
> what I would expect to be a good track. Try to find files used by this
> process of "rpm --rebuilddb" and move them (backup) to a different
> location. Then re-run the program to see if it segfaults.
I removed all of the /var/lib/rpm/__db* files, and moved all of the
files under /var/lib/rpmrebuilddb.* directories to a backup directory.
Still got a segmentation fault. I also tried moving all files in
/var/lib/rpm to a backup directory, and got all sorts of interesting
errors... before realizing that was the wrong thing to do and I replaced
the files. ;-)
--
Slainte,
Richard S. Crawford
mailto:rscrawford@mossroot.com http://www.mossroot.com
AIM: Buffalo2K ICQ: 11646404 Yahoo!: rscrawford
MSN: underpope@hotmail.com
"It is only with the heart that we see rightly; what is essential is
invisible to the eye." --Antoine de Saint Exupery
vi vi vi - the editor of the beast