On Thu, Feb 05, 2004 at 11:05:30AM -0600, Brad Wyman wrote: > any body have a sec to help me figure this out. > fyi, i don't really know that I'm doing, these are things i found while > googling for an answer > > [root@panaserv rpm]# rpm -vv > RPM version 4.0.5 > > in /etc/rpm/macros: > %_dbi_config_Packages %{_dbi_htconfig}lockdbfd debug > > [root@panaserv rpm]# cd /var/lib/ > [root@panaserv lib]# tar czvf rpmdb.tar.gx rpm > > backed up, just to be safe. > > [root@panaserv rpm]# rpm -qa > <clipped lots-o-stuff> > psmisc-21.2-1mdk > Get Packages key (0x8053d98,4) data (0x40423008,6900) "#533" 44000000 rc 0 > dynamic-0.9-1mdk > Get Packages key (0x8053d98,4) data (0x40423008,34356) "#535" 46000000 rc 0 > Segmentation fault (core dumped) > > [root@panaserv rpm]# rpmdb --rebuilddb > <clipped lots-o-stuff> > +++ RMW Packages WRITECURSOR > Get Packages key (0xbffff79c,4) data (0x805eb50,4) "#0" c1 rc 0 > Put Packages key (0xbffff79c,4) data (0x805eb50,4) "#0" c2 rc 0 > Sync Packages > --- RMW Packages > +++ RMW Packages WRITECURSOR > *** dbiUpdateRecord: uh is NULL > --- RMW Packages > Sync Packages > Get Packages key (0x805a5e0,4) data (0x4040e008,34356) "#535" 46000000 > rc 0 > Segmentation fault (core dumped) > Hmmm, this smells like - fix: dangling pointer brain fart (#107835). See bugzilla #107835 for details. Workaround when seeing segfault is rm -f /var/lib/rpm/Pubkeys which is a brutal but simple way of specifying --nosignature everywhere. Repeat the command. If removing Pubkeys "fixes" the segfault, then this is likely to be #107835. The dangling ptr problem is fixed in rpm-4.2.2-0.8 and later. 73 de Jeff -- Jeff Johnson ARS N3NPQ jbj@xxxxxxxxxx (jbj@xxxxxxx) Chapel Hill, NC _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list