Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265913AbUFVU2A (ORCPT ); Tue, 22 Jun 2004 16:28:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265265AbUFVUZw (ORCPT ); Tue, 22 Jun 2004 16:25:52 -0400 Received: from [195.150.161.140] ([195.150.161.140]:4100 "EHLO gaia.cela.pl") by vger.kernel.org with ESMTP id S265484AbUFVUVE (ORCPT ); Tue, 22 Jun 2004 16:21:04 -0400 Date: Tue, 22 Jun 2004 22:20:32 +0200 (CEST) From: =?ISO-8859-2?Q?Maciej_=AFenczykowski?= To: Linux Kernel Mailing List Subject: 2.4.27-rc1 pipes - file -z hangs on some gzip files Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1752 Lines: 46 Hi! I'm investigating a weird hang of file -z (both newest version from Fedora Core 1 [4.02] and from Fedora Core 2 [4.07]) on a 2.4.27-rc1 kernel. file -z reiserfs.o.gz hangs, strace -f file -z reiserfs.o.gz shows the following end fragment. The same file binary [the 4.07 one] works on this file on a 2.6 kernel (the current default from FC2) but on a different system. The problem appears to be pipe related. [the data is correctly compressed, decompressed correctly, and I have two compressed files that behave this way] [pid 1033 is the file command, pid 1034 is gzip -cdq subprocess, piped i/o] [pid 1033] close(4) = 0 [pid 1033] close(7) = 0 [pid 1033] write(5, "\37\213\10\10_\207\330@\2\3reiserfs.o\0\314\375\v|T\325"..., 65536 [pid 1034] <... read resumed> "\37\213\10\10_\207\330@\2\3reiserfs.o\0\314\375\v|T\325"..., 32768) = 32768 [pid 1034] brk(0) = 0x80a6f70 [pid 1034] brk(0x80c7f70) = 0x80c7f70 [pid 1034] brk(0) = 0x80c7f70 [pid 1034] brk(0x80c8000) = 0x80c8000 [pid 1034] brk(0) = 0x80c8000 [pid 1034] brk(0) = 0x80c8000 [pid 1034] brk(0x80c7000) = 0x80c7000 [pid 1034] brk(0) = 0x80c7000 [pid 1034] write(1, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 32768 is this a kernel problem? shared library problem (libz?), any ideas? Thanks, MaZe. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/