On 11/15/2010 07:22 AM, Sebastian Kayser wrote:
> Hi,
> 
> we are packaging GNU tar for Solaris and since tar 1.24 we've been
> seeing segfaults when extracting archives (testing and creating archives
> works fine). It doesn't seem to be specific to a single archive. Even an
> archive created with GNU tar itself causes a segfault. It seems to be
> specific to
> 
> * the architecture:    x86   (SPARC is fine)
> * the tar version:     1.24+ (pre 1.24 is fine)
> * the Solaris release: 10U9  (pre 10U9 is fine)

> $ gtar xfvz hello-0.1.0.tar.gz 
> Segmentation Fault (core dumped)
> 
> Any idea what's going wrong?

Very likely the same latent bug that bit coreutils when trying to set
any file timestamps, and exposed only if you mix too-old gnulib with the
very latest Solaris kernel patches:
http://lists.gnu.org/archive/html/bug-coreutils/2010-11/msg00035.html

Have you tried tar 1.25, or tar.git with the latest gnulib.git?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to