*BSD News Article 43198


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!uunet!nctuccca.edu.tw!news.cc.nctu.edu.tw!news!gate!taob
From: taob@gate.sinica.edu.tw (Brian Tao)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: GNU tar on FreeBSD 2.0
Date: 3 Mar 1995 11:29:44 GMT
Organization: Computing Center, Academia Sinica
Lines: 15
Message-ID: <3j6uj8$dlr@gate.sinica.edu.tw>
References: <WCP.95Feb25175036@lpds.lpds.com>
NNTP-Posting-Host: taob%@gate.sinica.edu.tw
X-Newsreader: TIN [version 1.2 PL2]

Walter C. Pelissero (wcp@lpds.sublink.org) wrote:
:
: It seems that I found a bug in GNU tar as distributed in FreeBSD 2.0.
:
: In create.c a msg_perror() call is made with a long long argument that
: makes stdarg routines (actually vfprintf()) dump a core. A proper cast
: to long fix the problem.

    I've had GNU tar segfault while trying to clone a filesystem using:

tar -cf - /usr/local | (cd /mnt ; tar -xvpf - )

    Using rdist worked nicely, but I never got around to tracking down
the cause of the segfault.  It looks like the same one you tracked down
though.  I'll give the patch a try.