[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: segfault with just running "rpm -qa"



Paul Heinlein wrote:

On Wed, 24 Sep 2003, Stephen Smoogen wrote:



My first course of action would be to see if the Red Hat default
2.4.x kernel showed this problem. If it doesnt then I would say it
is something in the latest test NPTL items that eneds to be looked
at. I would also get the latest rpm from either rawhide or rpm.org.
Try to get it update itself.



The easy way to test if NPTL is the problem is to use the LD_ASSUME_KERNEL hack:

LD_ASSUME_KERNEL=2.2.5 rpm -qa

I'm running SGI's XFS-friendly kernel on a Red Hat 9 box, and I've got
to set that silly environment variable any time I want to query or
update the rpm database.



LD_ASSUME_KERNEL is OK, but rebuilding rpm-4.2.1 (or rpm-4.2) without the 2 occurences
of --enable-posixmutexes in autogen;sh and rpm.spec will solve the problem too.


You will lose unified process/thread locks and won't care a bit, as process locks are
all that's needed atm for concurrent access from applications that wish to access rpmdb.


73 de Jeff





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]