Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 1999 11:31:50 -0600 (CST)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-current@FreeBSD.org
Subject:   gzip(1) hanging
Message-ID:  <Pine.OSF.4.10.9911061122060.8338-100000@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9911061122060.8338-100000>