Re: bsdtar core dumps

From: Sean McNeil <sean_at_mcneil.com>
Date: Thu, 19 Aug 2004 12:40:43 -0700
On Tue, 2004-08-17 at 14:38, Giorgos Keramidas wrote:
> On 2004-08-17 14:19, Sean McNeil <sean_at_mcneil.com> wrote:
> > Don't think this is amd64-specific, but perhaps....
> 
> It could be.  Or it might be a recent change that I haven't caught up
> with yet at home (see below).
> 
> > I just tried to unarchive a file that didn't exist and got a core dump:
> > tar zxvvf nonexistent.tar.gz
> 
> $ sysctl hw.machine_arch
> hw.machine_arch: i386
> $ tar zxvvf nonexistent.tar.gz
> tar: Error opening archive: Failed to open 'nonexistent.tar.gz': No such file or directory
> $ uname -v
> FreeBSD 5.2-CURRENT #0: Sun Aug 15 23:21:29 EEST 2004     \
> sysop_at_gothmog.gr:/usr/obj/usr/src/sys/SOLERO
> 
> If versions of bsdtar more recent than Sunday night (around 19:00 UTC)
> all exhibit this problem, look for a recent change that causes this.
> 
> - Giorgos

-r-xr-xr-x  1 root  wheel  120648 Aug 18 14:25 /usr/bin/bsdtar

Still has the core dump.  I do not have debug compiled in right now, but
gdb tells me it is in __vfprintf.  I will recompile world with debug and
see.

sean_at_server sean]$ uname -a
FreeBSD server.mcneil.com 6.0-CURRENT FreeBSD 6.0-CURRENT #31: Wed Aug
18 19:19:58 PDT 2004    
root_at_server.mcneil.com:/usr/obj/usr/src/sys/AMD64  amd64

Sean
Received on Thu Aug 19 2004 - 17:40:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC