Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 1997 14:55:03 -0700 (PDT)
From:      Chris Caputo <ccaputo@alt.net>
To:        Mikael Hugo <mikael.hugo@dataphone.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Innfeed dumps core upon start
Message-ID:  <Pine.BSI.3.93.971011144805.21512L-100000@baklava.alt.net>
In-Reply-To: <71859F034878D011AB8500A024E7C93C028128@niagara.se.dataphone.net>

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






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