Re: Error 0

[email protected] (Joerg Schilling) Mon, 21 Jan 2008 16:29:38 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <4794ba62.IBhvQZi2+c5Gxql+%[email protected]>
Daniel Grund <[email protected]> wrote:

> On 17.01.2008 17:04, Joerg Schilling wrote:
>
> > > Tweaking the command line did not help. I called star under gdb:
> > >
> > > Starting program: /usr/local/bin/star -c -silent -no-statistics -M -m=
ultivol new-volume-script=3D"/root/bin/yacdbak/bin/yacdbak.cdrecord root 1 =
noburn" VOLHDR=3D"FreeBSD 7.0-RC1 2008-01-08 14:17+0100 Level 1" -dump leve=
l=3D1 -dumpmeta tardumps=3D/var/db/yacdbak/root.snapshots -wtardumps -p -ma=
tch-tree -tsize=3D133068 -no-fifo -nodump artype=3Dexustar -sparse file=3D/=
tmp/secure/yacdbak.image fs-name=3D/ dumpdate=3D/tmp/secure/timestamp -dode=
sc -not pattern=3D.snap -C "/.snap/backupmount" .
> > > Type of this level 1P dump: partial
> > > Date of this level 1P dump: Tue Jan  8 14:17:16 2008
> > > Date of last level 0P dump: Fri Nov 30 16:44:31 2007
> > > /usr/local/bin/star: Error 0. Error moving extended header '././@PaxH=
eader'.
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > movebytes (fromv=3D0x28300000, tov=3D0x28205800, cnt=3D10240) at move=
bytes.c:57
> > > 57                                              DO8 (*tol++ =3D *from=
l++);
> > > (gdb) bt
> > > #0  movebytes (fromv=3D0x28300000, tov=3D0x28205800, cnt=3D10240) at =
movebytes.c:57
> > =

> > This is a completely different view than with your last mail.
> > =

> > The last mail makes me belive that there was a cal to move_to_arch() wi=
th a =

> > negative size. Now I see 10240.
> > =

> > > #1  0x0806dc13 in move_to_arch (move=3D0xbfbf2a48, p=3D0x28205800 "",=
 amount=3D10240)
> > >     at movearch.c:74
> > > #2  0x0805d851 in cr_file (info=3D0xbfbf2c54, func=3D0x806dbe0 <move_=
to_arch>,
> > >     arg=3D0xbfbf2a48, amt=3D10240, text=3D0x808ac95 "moving extended =
header") at create.c:1321
> > > #3  0x080588f8 in write_xhdr (type=3DVariable "type" is not available.
> > > ) at xheader.c:344
> > > #4  0x0805917c in info_to_xhdr (info=3D0xbfbf53b4, ptb=3D0xbfbf3208) =
at xheader.c:549
> > > #5  0x08053fbe in put_tcb (ptb=3D0xbfbf3208, info=3D0xbfbf53b4) at he=
ader.c:1098
> > > #6  0x0805edf4 in createi (
> > >     sname=3D0xbfbf4fb3 "usr/local/lib/perl5/site_perl/5.8.8/mach/auto=
",
> > =

> > How many file name entries has this directory?
>
> $ ls /usr/local/lib/perl5/site_perl/5.8.8/mach/auto | wc -l
>       47

This is much less than I expect to see for a 10240 byte sized 'x' headers.
Something is wrong:

-	Your first mail looks like the parameter was negative.

-	Now it looks as if it os too big.

J=F6rg

-- =

 EMail:[email protected] (home) J=F6rg Schilling D-13353 Be=
rlin
       [email protected]                (uni)  =

       [email protected]     (work) Blog: http://schily.blogspo=
t.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/sch=
ily