From owner-freebsd-current Sat Nov 6 9:31:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id E914C14F30 for ; Sat, 6 Nov 1999 09:31:52 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id LAA23242 for ; Sat, 6 Nov 1999 11:31:51 -0600 (CST) Date: Sat, 6 Nov 1999 11:31:50 -0600 (CST) From: Steve Price To: freebsd-current@FreeBSD.org Subject: gzip(1) hanging Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I've got a -current box freshly CVSup'd and built from last night that is exhibiting some rather bizarre behavior. I actually noticed the problem on my Alpha package building machine, but the same behavior exists on my i386 box. To see what I'm seeing (or maybe not :) all you have to do is this: cd /usr/ports/graphics/jpeg make extract The gzip(1) process is hanging in pipdwt. I run the equivalent commands from the commandline and it works fine. I 'kill -6'd the offending process and this is what the stack trace looks like. (gdb) bt #0 0x80502b4 in write () #1 0x804e319 in write_buf (fd=1, buf=0x80a6300, cnt=32768) at /usr/src/gnu/usr.bin/gzip/util.c:162 #2 0x804e2d6 in flush_window () at /usr/src/gnu/usr.bin/gzip/util.c:139 #3 0x804d47c in inflate_codes (tl=0x80b8008, td=0x80bd008, bl=9, bd=6) at /usr/src/gnu/usr.bin/gzip/inflate.c:580 #4 0x804df09 in inflate_dynamic () at /usr/src/gnu/usr.bin/gzip/inflate.c:857 #5 0x804e00a in inflate_block (e=0xbfbfd8c8) at /usr/src/gnu/usr.bin/gzip/inflate.c:902 #6 0x804e06c in inflate () at /usr/src/gnu/usr.bin/gzip/inflate.c:933 #7 0x804c7d0 in unzip (in=4, out=1) at /usr/src/gnu/usr.bin/gzip/unzip.c:120 #8 0x8048db3 in treat_file ( iname=0xbfbfdaed "/usr/ports/distfiles//jpegsrc.v6b.tar.gz") at /usr/src/gnu/usr.bin/gzip/gzip.c:820 #9 0x804873d in main (argc=5, argv=0xbfbfd9b8) at /usr/src/gnu/usr.bin/gzip/gzip.c:599 #10 0x80480e9 in _start () Can anyone confirm this happens on their box? Anyone have any ideas on how to go about fixing this? Thanks. -steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message