Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 05:07:19 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        freebsd-current@FreeBSD.org
Subject:   libarchive extattr i386/amd64 syscall issue
Message-ID:  <20090604010719.GC15659@hades.panopticon>

next in thread | raw e-mail | index | archive | help
Hi!

The problem: on recent current, 32bit bsdtar won't write archives when
running under 64bit kernel, dying with exit code 140 and `Bad system call'
message. I've ran into that using i386 tinderbox jail on amd64 host.
The problem actually happens in libarchive:

--- lib/libarchive/archive_read_disk_entry_from_file.c ---
   484		if (!a->follow_symlinks)
   485			list_size = extattr_list_link(path, namespace, NULL, 0);   // <-- HERE
   486		else
   487			list_size = extattr_list_file(path, namespace, NULL, 0);
--- lib/libarchive/archive_read_disk_entry_from_file.c ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



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