help-tar
[Top][All Lists]
Advanced

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

Re: [Help-tar] Can't extract - get "Archive contains obsolescent base-64


From: Alexis Huxley
Subject: Re: [Help-tar] Can't extract - get "Archive contains obsolescent base-64 headers"
Date: Thu, 3 Feb 2005 23:55:57 +0100
User-agent: Mutt/1.4.2i

> I'm surprised that GNU tar 1.15.1 would output the message "Archive
> contains obsolescent base-64 headers" given the exact input that you
> described.  It outputs that message only if it sees a "-" or a "+" in
> the tar header, but the octal dump you sent didn't contain any "-" or
> "+"s.

I downloaded/compiled/tested again with the same results.

> Perhaps you can run tar 1.15.1 under a debugger, and put a breakpoint
> on the code that is issuing that warning, and see exactly what string
> it is complaining about.

Here's what I did, please let me know if I can provide any more information.
Many thanks for assistance.


Alexis
dione$ grep -n "Archive contains" *.c
compare.c:500:      _("Archive contains file names with leading prefixes 
removed.")));
list.c:725:                _("Archive contains obsolescent base-64 headers")));
list.c:797:                 _("Archive contains %.*s where numeric %s value 
expected"),
dione$ gdb ./tar
GNU gdb 6.3-debian
Copyright 2004 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-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) b list.c:725
Breakpoint 1 at 0x80580e1: file list.c, line 725.
(gdb) run tvf ../../tape.dump
Starting program: /diska/home/alexis/tar-1.15.1/src/tar tvf ../../tape.dump
[Thread debugging using libthread_db enabled]
[New Thread 1075236992 (LWP 10149)]
drwx------ alexis/alexis     0 2003-08-04 21:49:51 ./
/diska/home/alexis/tar-1.15.1/src/tar: Skipping to next header
/diska/home/alexis/tar-1.15.1/src/tar: Archive contains obsolescent base-64 
headers
[Switching to Thread 1075236992 (LWP 10149)]

Breakpoint 1, from_header (
    where0=0x807b694 
"+¯#BiSQ)\032?;]\tÊØOPõ$\214Hº\031B\207\026YŸ>address@hidden", digs=8, 
type=0x0, minus_minval=0, maxval=2147483647, 
    silent=false) at list.c:727
727           negative = *where++ == '-';
(gdb) bt
#0  from_header (
    where0=0x807b694 
"+¯#BiSQ)\032?;]\tÊØOPõ$\214Hº\031B\207\026YŸ>address@hidden", digs=8, 
type=0x0, minus_minval=0, maxval=2147483647, 
    silent=false) at list.c:727
#1  0x08056ffe in tar_checksum (header=0x807b600, silent=false) at list.c:309
#2  0x08057087 in read_header (raw_extended_headers=false) at list.c:360
#3  0x0805689a in read_and (do_something=0x8056ca0 <list_archive>) at list.c:82
#4  0x080608cf in main (argc=0, argv=0xbffff724) at tar.c:1699
(gdb) 

-- end --




reply via email to

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