From owner-freebsd-current Fri Mar 17 09:43:32 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA00425 for current-outgoing; Fri, 17 Mar 1995 09:43:32 -0800 Received: from irbs.com ([199.182.75.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA00414 for ; Fri, 17 Mar 1995 09:43:20 -0800 Received: (from jc@localhost) by irbs.com (8.6.10/8.6.6) id KAA27792 for freebsd-current@freefall.cdrom.com; Fri, 17 Mar 1995 10:46:41 -0500 From: John Capo Message-Id: <199503171546.KAA27792@irbs.com> Subject: Re: Mysterious hang-type thingy... To: freebsd-current@freefall.cdrom.com (freebsd-current) Date: Fri, 17 Mar 1995 10:46:40 -0500 (EST) Reply-To: jc@irbs.com In-Reply-To: <199503171410.XAA05714@specgw.spec.co.jp> from "Atsushi MURAI" at Mar 17, 95 11:10:53 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1076 Sender: current-owner@FreeBSD.org Precedence: bulk On my system, with sources from 3/14 and 3/15, the hang occurs while building a library: cc -O -m486 -pipe -DFDDI -I. -I/u1/usr/src/lib/libpcap -c scanner.c -o scanner.o building standard pcap library The process that is hung is nm. The make can be interrupted but nm stays hung. A ps on the hung process causes ps to hang. Top shows this: 27370 root -18 0 492K 232K sleep 0:00 0.00% 0.00% ps 27223 root -18 0 188K 60K sleep 0:00 0.00% 0.00% nm When a process is hung in this mystery state, fstat will quite often core dump. After a bit it will be OK. It may always core when accessing a hung process descriptor, I don't know. jc elm 27332 1 / 414 crw--w---- ttyp1 rw jc elm 27332 2 / 414 crw--w---- ttyp1 rw jc elm 27332 3 /var 297 -rwx------ 65038 r root nm 27223 root - - none - Bus error Program received signal SIGBUS, Bus error. 0x8062f7a in bcopy () (gdb) where #0 0x8062f7a in bcopy () #1 0x0 in ?? () John Capo