Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 12:50:06 -0800 (PST)
From:      Duncan Idaho <sydney13@mail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/11562: tar verification doesn't work
Message-ID:  <200101232050.f0NKo6i83502@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/11562; it has been noted by GNATS.

From: Duncan Idaho <sydney13@mail.com>
To: freebsd-gnats-submit@FreeBSD.org, mjacob@quarm.feral.com
Cc:  
Subject: Re: gnu/11562: tar verification doesn't work
Date: Tue, 23 Jan 2001 21:48:38 +0100

 I've the same problem with tar under 5.0 CURRENT.
 
 Here is the output from a backtraced core dump:
 
 # uname -a
 FreeBSD soleil 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jan 22 01:51:40
 CET 2001     root@soleil:/usr/src/sys/compile/URANUS  i386
 # /usr/obj/usr/src/gnu/usr.bin/tar/tar --verify -cf ports.tar
 ports/Makefile
 tar in free(): error: junk pointer, too high to make sense.
 Abort (core dumped)
 # gdb -core tar.core /usr/obj/usr/src/gnu/usr.bin/tar/tar
 GNU gdb 4.18
 Copyright 1998 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i386-unknown-freebsd"...
 Core was generated by `tar'.
 Program terminated with signal 6, Abort trap.
 #0  0x808a868 in kill ()
 (gdb) bt
 #0  0x808a868 in kill ()
 #1  0x8089c7a in abort () at /usr/src/lib/libc/../libc/stdlib/abort.c:71
 #2  0x8088a85 in wrterror (
     p=0x8099120 "junk pointer, too high to make sense.\n")
     at /usr/src/lib/libc/../libc/stdlib/malloc.c:293
 #3  0x8088aa4 in wrtwarning (
     p=0x8099120 "junk pointer, too high to make sense.\n")
     at /usr/src/lib/libc/../libc/stdlib/malloc.c:301
 #4  0x8089459 in ifree (ptr=0xbfbffcdc)
     at /usr/src/lib/libc/../libc/stdlib/malloc.c:1046
 #5  0x8089999 in free (ptr=0xbfbffcdc)
     at /usr/src/lib/libc/../libc/stdlib/malloc.c:1101
 #6  0x8050e57 in read_header () at /usr/src/gnu/usr.bin/tar/list.c:411
 #7  0x804c6a9 in verify_volume () at
 /usr/src/gnu/usr.bin/tar/diffarch.c:521
 #8  0x8049ce5 in close_archive () at
 /usr/src/gnu/usr.bin/tar/buffer.c:1255
 #9  0x804a5b5 in create_archive () at
 /usr/src/gnu/usr.bin/tar/create.c:178
 #10 0x8052c9d in main (argc=5, argv=0xbfbffba8)
     at /usr/src/gnu/usr.bin/tar/tar.c:240
 #11 0x8048135 in _start ()
 (gdb) quit
 
 $FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.55 2000/12/09 09:35:32 obrien
 Exp $
 $FreeBSD: src/gnu/usr.bin/tar/tar.c,v 1.23 2000/12/24 10:52:23 obrien
 Exp $
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101232050.f0NKo6i83502>