Hi Sergey,

Thanks for your message and for the fix!

I've applied the patch and compiled GNU tar version 1.20 with Cygwin but
when executing tar command I get a segmentation fault:

      9 [main] tar 460 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)
/cygdrive/c/MY_BACKUP/bin/backup.sh: line 86:   460 Segmentation fault
(core dumped) 
tar -cpvzf $HOME_BK/sets/$1/backups/$1_bk_`date +"%d-%m-%Y-%Hh%Mm%Ss"`.full
-g $HOME_BK/sets/$1/snapshots/$_snapshot_`date +"%d-%m-%Y-%Hh%MmSs"`.full -T
$HOME_BK/sets/$1/conf/$1.in `cat $HOME_BK/sets/$1/conf/$1.out`

      9 [main] tar 1560 _cygtls::handle_exceptions: Error while dumping
state (probably corrupted stack)
/cygdrive/c/MY_BACKUP/bin/backup.sh: line 86:  1560 Segmentation fault
(core dumped) 
tar -cpvzf $HOME_BK/sets/$1/backups/$1_bk_`date +"%d-%m-%Y-%Hh%Mm%Ss"`.diff
-g $HOME_BK/sets/$1/tmp/$1_working_snapshot -T$HOME_BK/sets/$1/conf/$1.in
`cat $HOME_BK/sets/$1/conf/$1.out`

Despite the apparent complexity of the above tar's command arguments, think
of it as just an execution of tar with "--listed-incremental" option.

Any help will be very appreciated.

Thanks again and kind regards!

Enric Hernández


-----Mensaje original-----
De: Sergey Poznyakoff [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 31 de julio de 2008 8:52
Para: Enric Hernandez
CC: [email protected]
Asunto: Re: [Bug-tar] Possible Bug?

Hi Enric,

> I'm using GNU tar version 1.20 for executing incremental backups.
> 
> I don't dare to flag it as a bug but I'm a little bit confused with 
> the following use case so that any help will be very appreciated.

It is a bug, indeed.  Please, find attached a fix.

Thanks for reporting.

Regards,
Sergey




Reply via email to