Jens & Matt,

Thanks for trying to get some debug log files.  I was able to reproduce the
problem, and I just pushed a fix (maybe not the final one) to git.

Could you please test that change?  You can either apply the diff (see
below), manually replace BackupPC_tarExtract
<https://raw.githubusercontent.com/backuppc/backuppc/master/bin/BackupPC_tarExtract>
(edit the "use lib" path to make sure it is correct), or reinstall using
makeDist / configure.pl from git master.

Thanks,
Craig

shell$ git diff 072762c700175f8a873b5b2413d7f25138094775 HEAD
diff --git a/bin/BackupPC_tarExtract b/bin/BackupPC_tarExtract
index da433a2..13adce2 100755
--- a/bin/BackupPC_tarExtract
+++ b/bin/BackupPC_tarExtract
@@ -26,7 +26,7 @@
 #
 #========================================================================
 #
-# Version 4.1.1, released 29 Mar 2017.
+# Version 4.1.2, released 15 Apr 2017.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -987,6 +987,7 @@ sub dirCacheNewDir
     my $all = $AttrNew->getAll($dir);
     $bpc->flushXSLibMesgs();
     foreach my $name ( keys(%$all) ) {
+        next if ( $name eq "." || $name eq ".." );
         print("dirCacheNewDir: populating dir = $dir with $name\n")
                      if ( $Conf{XferLogLevel} >= 4 );
         $DirCache{$dir}{$name} = 1;
@@ -1113,10 +1114,9 @@ sub copyInodes

     my $dirPath  = $AttrNew->getFullMangledPath($dirName);

-    print("copyInodes: dirName = $dirName, dirPath = $dirPath\n") if (
$Conf{XferLogLevel} >= 3 );
+    print("copyInodes: dirName = $dirName, dirPath = $dirPath\n") if (
$Conf{XferLogLevel} >= 4 );

     my $attrAll = $AttrNew->getAll($dirName);
-    print("copyInodes: finished getAll()\n");
     $bpc->flushXSLibMesgs();

     #
@@ -1140,6 +1140,7 @@ sub copyInodes
     }

     foreach my $fileUM ( keys(%$attrAll) ) {
+        next if ( $fileUM eq "." || $fileUM eq ".." );
         my $a = $attrAll->{$fileUM};
         if ( $a->{type} == BPC_FTYPE_DIR ) {
             #


On Fri, Apr 21, 2017 at 9:09 AM, Craig Barratt <
[email protected]> wrote:

> Matt,
>
> Thanks.  Yes, please re-run with XferLogLevel set to 6 and send me the
> interesting parts (or all) of the log file.
>
> Craig
>
> On Fri, Apr 21, 2017 at 6:56 AM, Bedynek, Matthew J. <[email protected]>
> wrote:
>
>> Craig,
>>
>> It was very short so I’ll probably redo it today with more debugging.
>> The high point being that I saw similar behavior.
>>
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: copyInodes: finished getAll()
>> tarExtract: *** stack smashing detected ***: /usr/bin/perl terminated
>> tarExtract: ======= Backtrace: =========
>> tarExtract: /lib64/libc.so.6(__fortify_fail+0x37)[0x7fcb4317b047]
>> tarExtract: /lib64/libc.so.6(__fortify_fail+0x0)[0x7fcb4317b010]
>> tarExtract: /usr/lib64/perl5/vendor_perl/auto/BackupPC/XS/XS.so(+0x7a80)
>> [0x7fcb3b602a80]
>> tarExtract: /usr/lib64/perl5/CORE/libperl.so(Perl_pp_entersub+0x58f)[0x7
>> fcb4447842f]
>> tarExtract: /usr/lib64/perl5/CORE/libperl.so(Perl_runops_standard+0x16)[
>> 0x7fcb44470ba6]
>> tarExtract: /usr/lib64/perl5/CORE/libperl.so(perl_run+0x355)[0x7fcb4440d
>> 9a5]
>> tarExtract: /usr/bin/perl[0x400d99]
>> tarExtract: /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fcb4308db35]
>> tarExtract: /usr/bin/perl[0x400dd1]
>> tarExtract: ======= Memory map: ========
>>
>> [..]
>> BackupPC_tarExtract exited with fail status 6
>> Xfer PIDs are now
>> Got fatal error during xfer (BackupPC_tarExtract exited with fail status
>> 6)
>> Backup aborted (BackupPC_tarExtract exited with fail status 6)
>> BackupFailCleanup: nFilesTotal = 1469, type = full, BackupCase = 4,
>> inPlace = 0, lastBkupNum = 2
>> Keeping non-empty backup #2 (/backups/...)
>> Running BackupPC_refCountUpdate -h m8u-test -f on m8u-test
>> Xfer PIDs are now 7965
>> BackupPC_refCountUpdate: host m8u-test got 0 errors (took 17 secs)
>>
>>
>>
>> I somehow missed that.  Can you re-send to me please?
>>
>>
>> Matt
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BackupPC-users mailing list
>> [email protected]
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:    http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to