SEGV with rpm --rebuilddb

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

 



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@xxxxxxxxxxxxxxxxxx)

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux