tar crashes with SIGSEGV when used with --listed-incremental option and including the root directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tar (Debian) |
Fix Released
|
Unknown
|
|||
tar (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tar
I have a backup script which is doing incremental backups on NFS share. I am using an -g (--listed-
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 (you have to delete the files in /tmp created with the faulty version before). The patch is taken from this upstream commit:
http://
The bug is a regression introduced in Maverick.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tar 1.23-2
ProcVersionSign
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
SourcePackage: tar
== Regression details ==
Discovered in version: 1.23-2
Last known good version: 1.22-2ubuntu1
Related branches
description: | updated |
summary: |
- 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 |
Changed in tar (Debian): | |
status: | Unknown → Fix Released |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Thank you for your bug report. Are you doing a backup which includes the root (i.e. "/") directory?