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

SEGV with rpm --rebuilddb



Using either the rpm from rpm-4.2.3-24_nonptl on an RHEL 3/x86 system
or a custom-built rpm-4.2 from the rpm-4_2 branch, I'm getting a SEGV
trying to --rebuilddb a database created on a Solaris machine (the
version of RPM on the Solaris machine is the custom-built rpm-4.2
version). We're moving the database from the Solaris machine to the
RHEL 3/x86 machine, hence the rebuild:
  # (tar RPM database from Solaris and copy it to RHEL 3/x86)
  # rm /opt/db/rs6000/__db*
  # /sysadm/rpm/rpm-4.2/bin/rpm --dbpath /opt/db/rs6000 --rebuilddb
  Segmentation fault (core dumped)
  # gdb /sysadm/rpm/rpm-4.2/lib/rpm/rpmd core.27062
  gdb> bt
  #0  0x0013ad18 in rpmdbNextIterator (mi=0x8fefad0) at rpmdb.c:2184
  #1  0x0013e4a1 in rpmdbRebuild (prefix=0x8fea5a8 "/", ts=0x8fe3ff8, 
      hdrchk=0x32f8f5 <headerCheck>) at rpmdb.c:3693
  #2  0x0034f39f in rpmtsRebuildDB (ts=0x8fe3ff8) at rpmts.c:177
  #3  0x08049643 in main (argc=4, argv=0xbfffa9e4) at rpmqv.c:620

Any ideas? I can successfully --rebuilddb the database on the Solaris
machine.

-- 
albert chin (china thewrittenword com)


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