From owner-freebsd-bugs Mon Jun 3 7:40:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0A2A037B412 for ; Mon, 3 Jun 2002 07:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g53Ee2T74462; Mon, 3 Jun 2002 07:40:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 7B54B37B400 for ; Mon, 3 Jun 2002 07:36:18 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g53EaHhG036942 for ; Mon, 3 Jun 2002 07:36:18 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g53EaH9I036941; Mon, 3 Jun 2002 07:36:17 -0700 (PDT) Message-Id: <200206031436.g53EaH9I036941@www.freebsd.org> Date: Mon, 3 Jun 2002 07:36:17 -0700 (PDT) From: Miguel Angel Vicente Serrano To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/38857: "file" command hangs when using "-z" option with very little compressed files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38857 >Category: misc >Synopsis: "file" command hangs when using "-z" option with very little compressed files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 03 07:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Miguel Angel Vicente Serrano >Release: 4.5 RELEASE >Organization: CIC (Spain) >Environment: 4.5 RELEASE >Description: I compress a very little file using gzip with those commands: echo aaaa > little ; gzip -9v little The result is little.gz and when I use the command: file -z little.gz the process hangs, using almosr 99% of cpu, as shown on "top" command >How-To-Repeat: echo aaaa > little gzip -9v little file -z little.gz ======> process hangs >Fix: to fix: gzcat little.gz | file - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message