From owner-freebsd-current@FreeBSD.ORG Sun Jul 29 06:30:14 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1B8510656E7 for ; Sun, 29 Jul 2012 06:30:13 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (mail.vx.sk [IPv6:2a01:4f8:150:6101::4]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9AD8FC12 for ; Sun, 29 Jul 2012 06:30:13 +0000 (UTC) Received: from core.vx.sk (localhost [127.0.0.2]) by mail.vx.sk (Postfix) with ESMTP id 6F528390CA; Sun, 29 Jul 2012 08:30:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk by core.vx.sk (amavisd-new, unix socket) with LMTP id fUFV39zCghag; Sun, 29 Jul 2012 08:30:10 +0200 (CEST) Received: from [10.0.0.28] (unknown [213.81.198.162]) by mail.vx.sk (Postfix) with ESMTPSA id 935EE390C3; Sun, 29 Jul 2012 08:30:10 +0200 (CEST) Message-ID: <5014D873.5090406@FreeBSD.org> Date: Sun, 29 Jul 2012 08:30:11 +0200 From: Martin Matuska User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Tim Kientzle References: <50141F96.5070808@zedat.fu-berlin.de> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org, "O. Hartmann" Subject: Re: r238860: bsdtar: eating up 100% CPU, hanging X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 06:30:15 -0000 I am also looking into it: 1. It happens only with libarchive 3.0.4 (3.0.3 works fine) 2. It happens only if archiving files located on ZFS (UFS works fine) 3. Backtrace: #0 setup_acl_posix1e (a=0x801c45100, entry=0x801d69100, acl=0x801d8a000, archive_entry_acl_type=256) at /base/head/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c:474 #1 0x0000000800879036 in archive_read_disk_entry_from_file (_a=0x801c45100, entry=0x801d69100, fd=6, st=Variable "st" is not available. ) at /base/head/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_disk_entry_from_file.c:434 #2 0x000000080087831e in _archive_read_next_header2 (_a=0x801c45100, entry=0x801d69100) at /base/head/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_disk_posix.c:1070 #3 0x00000000004078d5 in write_hierarchy (bsdtar=0x7fffffffd940, a=0x801c17140, path=Variable "path" is not available. ) at /base/head/usr.bin/tar/../../contrib/libarchive/tar/write.c:825 #4 0x0000000000407d51 in write_archive (a=0x801c17140, bsdtar=0x7fffffffd940) at /base/head/usr.bin/tar/../../contrib/libarchive/tar/write.c:471 #5 0x0000000000404fbd in main (argc=4, argv=Variable "argv" is not available. ) at /base/head/usr.bin/tar/../../contrib/libarchive/tar/bsdtar.c:668 This infinite loop has been fixed in libarchive master: https://github.com/libarchive/libarchive/commit/d8b9dbd d8b9dbd6dac0125957b997c2fe8d246237ec9f94 I suggest you backport to release also the following: f67370d5c33b336b103c43fe35984defe7e0e473 https://github.com/libarchive/libarchive/commit/f67370d c6d3cd33aecdc579966c3fbe7b9424cea83c7555 https://github.com/libarchive/libarchive/commit/c6d3cd3 Dňa 29. 7. 2012 3:18 Tim Kientzle wrote / napísal(a): > > On Jul 28, 2012, at 10:21 AM, O. Hartmann wrote: > >> When updating ports (like databases/sqlite3 or graphics/png via portmaster graphics/png), the installation process comes to a point where a backup of the old port is created with bsdtar. The process hangs then … > >> My operating system is >> FreeBSD 10.0-CURRENT #0 r238860: Sat Jul 28 11:28:38 CEST 2012 > > That's newer than my -CURRENT system here; I'm updating now. > Martin imported a few changes from upstream just recently, so this > is likely a new problem. > >> What to do? > > Can you get the full command line for the command that's > hanging? > > $ ps auxww | grep tar > > Knowing the exact options that were used will help narrow > it down. > > Thanks for reporting it, > > Tim > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >