registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #30823
[Bug 687594] Re: tar crashes with SIGSEGV when used with --listed-incremental option
** Description changed:
Binary package hint: tar
I have a backup script which is doing incremental backups on NFS share.
I am using an -g (--listed-incremental) option for that purpose. If the
snapshot file does not exists (which means tar is doing full backups)
everything works flawlessly. The problem occur whenever incremental
backup has to be taken. Tar crashes immediately with Segmentation Fault
error. I have tried to isolate NFS issues and copied the snapshot file
to local storage and instructed tar to put the archive to local drive as
- well. The result was exactly the same. When i tried with copying just
- small amount of data problem did not occur. I have recently migrated
- from Gentoo where tar worked perfectly with this setup.
+ well. The result was exactly the same. The problem occurs whenever the
+ root directory "/" is included in the backup.
+
+ TEST CASE:
+ $ tar cpf /tmp/test.tar -g /tmp/snap / --exclude="*"
+ $ tar cpf /tmp/test.tar -g /tmp/snap / --exclude="*"
+ Segmentation fault
+
+ After applying the fix in the linked branch, tar no longer segfaults. The patch is taken from this upstream commit:
+ http://git.savannah.gnu.org/cgit/tar.git/commit/?id=e21d54e8cd3d8026ad56f90cc6bde831106c2cb9
+
+ The bug is a regression introduced in Maverick.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tar 1.23-2
ProcVersionSignature: Ubuntu 2.6.35-22.35-server 2.6.35.4
Uname: Linux 2.6.35-22-server x86_64
Architecture: amd64
Date: Thu Dec 9 00:12:35 2010
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: tar
+
+ == Regression details ==
+ Discovered in version: 1.23-2
+ Last known good version: 1.22-2ubuntu1
** Summary changed:
- tar crashes with SIGSEGV when used with --listed-incremental option
+ tar crashes with SIGSEGV when used with --listed-incremental option and including the root directory
** Tags added: regression-release
--
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
https://bugs.launchpad.net/bugs/687594
Title:
tar crashes with SIGSEGV when used with --listed-incremental option and including the root directory