Re: Error 0

Daniel Grund <[email protected]> Sat, 19 Jan 2008 00:40:55 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
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 -multivol new-volume-script="/root/bin/yacdbak/bin/yacdbak.cdrecord root 1 noburn" VOLHDR="FreeBSD 7.0-RC1 2008-01-08 14:17+0100 Level 1" -dump level=1 -dumpmeta tardumps=/var/db/yacdbak/root.snapshots -wtardumps -p -match-tree -tsize=133068 -no-fifo -nodump artype=exustar -sparse file=/tmp/secure/yacdbak.image fs-name=/ dumpdate=/tmp/secure/timestamp -dodesc -not pattern=.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 '././@PaxHeader'.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > movebytes (fromv=0x28300000, tov=0x28205800, cnt=10240) at movebytes.c:57
> > 57                                              DO8 (*tol++ = *froml++);
> > (gdb) bt
> > #0  movebytes (fromv=0x28300000, tov=0x28205800, cnt=10240) 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() with a 
> negative size. Now I see 10240.
> 
> > #1  0x0806dc13 in move_to_arch (move=0xbfbf2a48, p=0x28205800 "", amount=10240)
> >     at movearch.c:74
> > #2  0x0805d851 in cr_file (info=0xbfbf2c54, func=0x806dbe0 <move_to_arch>,
> >     arg=0xbfbf2a48, amt=10240, text=0x808ac95 "moving extended header") at create.c:1321
> > #3  0x080588f8 in write_xhdr (type=Variable "type" is not available.
> > ) at xheader.c:344
> > #4  0x0805917c in info_to_xhdr (info=0xbfbf53b4, ptb=0xbfbf3208) at xheader.c:549
> > #5  0x08053fbe in put_tcb (ptb=0xbfbf3208, info=0xbfbf53b4) at header.c:1098
> > #6  0x0805edf4 in createi (
> >     sname=0xbfbf4fb3 "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

Daniel