bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [GNU tar 1.27] testsuite: 63 85 failed


From: Nathan Stratton Treadway
Subject: Re: [Bug-tar] [GNU tar 1.27] testsuite: 63 85 failed
Date: Tue, 22 Oct 2013 16:02:36 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Oct 22, 2013 at 14:27:09 +0200, Peter Kruse wrote:
> Hello,
> 
> `make check' fails under Solaris/Sparc 10.
> These tests also fail with an older version (1.23).
> If I can be of any help to resolve these issues please let me know.

Both these failures turn out to be tar segfaulting when the ".."
directory is has "a-r" permissions.  Perhaps interestingly, in the first
of the tests the segfault happens in "-x" mode, while in the second its
in "-c" mode.

Here are the key snippets from the log file:


63. extrac09.at:24: testing no need to save dir with unreadable . and .. ...

[...]
mkdir dir
mkdir dir/sub
mkdir dir/sub/extract
genfile --file dir/sub/f
cd dir/sub

tar -cf archive.tar f

chmod a-r . ..
tar -xvf archive.tar -C extract f
[...]
0a1,2
> /ae/data/soft/opensource/build/tar/S510-sparcv9/tar-1.27/tests/testsuite.dir/at-groups/63/test-source:
>  line 97: 22961 Segmentation Fault      (core dumped) tar -xvf archive.tar -C 
> extract 
[...]


85. listed03.at:24: testing incremental dump when the parent directory is 
unreadable ...
[...]
mkdir dir
mkdir dir/sub
mkdir dir/sub/a
genfile --file dir/sub/a/file
cd dir/sub

chmod a-r ..
tar -c -f archive.tar --listed-incremental=db.1 -v a
[...]
1c1
< tar: a: Directory is new
---
> /ae/data/soft/opensource/build/tar/S510-sparcv9/tar-1.27/tests/testsuite.dir/at-groups/85/test-source:
>  line 94: 23967 Segmentation Fault      (core dumped) tar -c -f archive.tar 
> --listed-incremental=db.1 -v a



                                                        Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  address@hidden  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239



reply via email to

[Prev in Thread] Current Thread [Next in Thread]