bin/74385: libarchive - archive_write_header_pax: 'x' header failed

Michal Listos mcl at
Thu Nov 25 11:10:25 PST 2004

>Number:         74385
>Category:       bin
>Synopsis:       libarchive - archive_write_header_pax: 'x' header failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 19:10:24 GMT 2004
>Originator:     Michal Listos
>Release:        FreeBSD 5.3-RELEASE i386
System: FreeBSD madhatter 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  9 13:22:05 CET 2004     root at madhatter:/usr/obj/usr/src/sys/madhatter  i386

bsdtar 1.01.011, libarchive 1.01.013
bsdtar 1.01.020, libarchive 1.01.020

bsdtar is unable to archive attached directory.
Looks like both the non-printable character (which was an unicode
char in original name), and some directory depth/name length 
are needed to trigger this bug.
I failed to debug that issue.


# tar -xjf libarchivebug.tbz2
# cd libarchivebug
# tar -cf test.tar 1111111111111111111111111111111111111111111111111
archive_write_header_pax: 'x' header failed?!  This can't happen.

GNU tar archive with the problematic path follows.

begin 644 libarchivebug.tbz2
M1ZNT,F+N*Q5A`FR at M-G=$=N4UZ&](4R*RF3J<2IA<F".P"!6HK>R!`W`<@+A
M?G24HQPV@\V!"&PYJL!TVM9FXG&0L5F at 1C9P3!):$6F="6LD7I&*X7S:Z:A;
8PQB at J,PJ,`Z"RJ6HD:+N2*<*$A;@L9Y@



More information about the freebsd-bugs mailing list