From owner-freebsd-isp Sat Oct 11 14:55:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA11399 for isp-outgoing; Sat, 11 Oct 1997 14:55:14 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from baklava.alt.net (root@baklava.alt.net [207.14.113.9]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA11385 for ; Sat, 11 Oct 1997 14:55:10 -0700 (PDT) (envelope-from ccaputo@alt.net) Received: from baklava.alt.net (ccaputo@baklava.alt.net [207.14.113.9]) by baklava.alt.net (8.8.5/8.7.3) with SMTP id OAA24403; Sat, 11 Oct 1997 14:55:03 -0700 (PDT) Date: Sat, 11 Oct 1997 14:55:03 -0700 (PDT) From: Chris Caputo Reply-To: Chris Caputo To: Mikael Hugo cc: freebsd-isp@FreeBSD.ORG Subject: Re: Innfeed dumps core upon start In-Reply-To: <71859F034878D011AB8500A024E7C93C028128@niagara.se.dataphone.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I ran into this same thing on 2.1-stable. The dump happens in endpoint.c setSigHandler() when a signal() call returns failure. I don't know why it does, but using sigaction() instead works around the problem (example below). Chris --- Makefile.971006 Mon Oct 6 07:23:13 1997 +++ Makefile Mon Oct 6 07:23:23 1997 @@ -33,7 +33,7 @@ # # Add -DUSE_INN_INCLUDES to get INN headers files used (see INCDIRS below) # Add -DNO_SBRK if compilation of malloc.c complains about sbrk() prototype. -DEFINES = +DEFINES = -DUSE_SIGACTION # Any system specific libraries. If you get undefines at link time for names # matching yy*, then you may need ``-ly -ll''. On Sat, 11 Oct 1997, Mikael Hugo wrote: > The innfeed system dumps core when it starts: > > Oct 12 00:05:27 nntp01 innfeed[7122]: signal failed: Operation now in > progress > Oct 12 00:05:33 nntp01 /kernel: pid 7122 (innfeed), uid 8: exited on > signal 6 (core dumped) > > Im running a 2.2-stable system, and innfeed innfeed-0.10.1. > > Thanks > > Mikael Hugo > >