Jean Meloche <[EMAIL PROTECTED]> writes:
> On Wednesday 06 December 2000 14:25, you wrote:
> > Jean Meloche <[EMAIL PROTECTED]> writes:
> > > rpm in rpm-4.0-10mdk
> > > and MandrakeUpdate in MandrakeUpdate-7.2-18mdk
> > >
> > > still dump core
> > >
> > > [root@rocks jean]# MandrakeUpdate.real
> > > Segmentation fault (core dumped)
> > > [root@rocks jean]#
> > >
> > > [root@rocks RPMS]# rpm -Uvh esound-0.2.22-2mdk.i586.rpm
> > > Segmentation fault (core dumped)
> > > [root@rocks RPMS]#
> > >
> > >
> > > I read there was others with similar problems.
> > > Anyone figured what's wrong?
> >
> > Could you check that one of your partitions are not full ?
>
> Here is an strace on the rpm
>
> lseek(6, 17203200, SEEK_SET) = 17203200
> read(6, "\0\0\0\0\0\0\0\0h\20\0\0g\20\0\0i\20\0\0\1\0\346\17\0\007"..., 4096)
> = 4096
> lseek(6, 17207296, SEEK_SET) = 17207296
> read(6, "\0\0\0\0\0\0\0\0i\20\0\0h\20\0\0\0\0\0\0\1\0\335\10\0\7"..., 4096) =
> 4096
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
>
> [root@rocks RPM]# cd /var/lib/rpm/
> [root@rocks rpm]# ls -l Packages
> -rw-r--r-- 1 root root 30117888 Dec 6 14:27 Packages
> [root@rocks rpm]#
>
> On all the packages that make it core dump, rpm always core dumps when
> reading the entry at offset 17207296 in Packages (a bit more than 1/2
> way through).
Have you tried an rpm --rebuilddb ? It can help if rpm indexes are
corrupted.
--
Fred - May the source be with you