Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 07:36:17 -0700 (PDT)
From:      Miguel Angel Vicente Serrano <unixroot@teleline.es>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/38857: "file" command hangs when using "-z" option with very little compressed files
Message-ID:  <200206031436.g53EaH9I036941@www.freebsd.org>

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

>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




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