[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] segmentation fault in 1.15.91-20060523 with incremental backup
From: |
Sergey Myasnikov |
Subject: |
[Bug-tar] segmentation fault in 1.15.91-20060523 with incremental backups creation |
Date: |
Fri, 26 May 2006 22:53:11 +0400 |
Hi, all.
Seems a new snapshot file format resulted into a crash of incremental
tar. Below is a test script which produces segfault on at least 2 i386
machines I tried it on (kernel and linux distro don't make sense, those
machines are SLES 9 and FC 5):
=cut
#!/bin/sh
TESTDIR=test-sna
TAR=/home/tigra/tar-1.15.91-20060523/src/tar
rm -rf $TESTDIR
mkdir $TESTDIR
cd $TESTDIR
mkdir -p a/b
for i in `seq 1 142`; do
touch a/b/`printf "one_31_chars_long_file_name_%03d" $i`
done
$TAR cf a0.tar -g a.sna a
mv a/b a/c
$TAR cf a1.tar -g a.sna a
=cut
The file name doesn't make big sense. Initially I tried 600 files with
names "fileXXX". I suppose the sum of file names lengths should be
slightly more than 4K to trigger the crash.
--
Regards,
Sergey
- [Bug-tar] segmentation fault in 1.15.91-20060523 with incremental backups creation,
Sergey Myasnikov <=