2011/2/14 Jeff Johnson <n3...@mac.com>: > > On Feb 13, 2011, at 9:41 PM, Per Øyvind Karlsen wrote: > >> 2011/2/14 Jeff Johnson <n3...@mac.com>: >>> Hmmm ... rpmmiCount is supposed to be invoked lazily when needed, >>> not as part of every iteration. >>> >>> The conditions in rpmmiCount() may need adjustment. That I can >>> easily believe. >> in lib/psm.c:1666 >> >> rpmmiCount() is used, where rpmmiNext() has already created mi->mi_dbc >> without mi->mi_count being set. >> > > OK. > > So move rpmmiCount() out of the iteration loop in psm.c:1666 instead of > muck about in rpmmiNext() is what I would try. I tried that first, but that resulted in some deadlock for which I could only kill rpm with -SIGKILL...
-- Regards, Per Øyvind ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org