🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16774

Re: innd dies silently

#16774
From: Tomasz R. Surmacz
Date: Tue, 08 Apr 1997 00:00
89 lines
3302 bytes
Mathieu Guillaume <mat@niki.isdnet.net> wrote:
: I'm having a problem with INN-1.5.1 : it regularly dies without telling me
: anything.
: More precisely, when I look at the process list, only innwatch remains, no
: trace of innd. I don't have any error message in my logs, and innd doesn't
: dump core.

I think I already wrote about it, but it seems that innd 1.5.1 has
some bugs with memory handling.  At least this is what I can tell from
running it on the Solaris 2.4 machine.  I had two really bad days about
2 weeks ago and 5 weeks ago when innd was crashing and dumping core
every 2-3 hours.  Since then - everything works ok, but I am sure it
can happen again.

Backtrace from coredumps shows:

Core was generated by `/usr/local/news/etc/innd -p4 -r -i0'.
Program terminated with signal 11, Segmentation fault.
(gdb) bt
#0  0xef67bfac in realfree ()
#1  0xef67bd74 in realloc ()
#2  0x2e568 in xrealloc ()
#3  0x1bb10 in CHANreadtext ()
#4  0x2201c in NCreader ()
#5  0x1c210 in CHANreadloop ()
#6  0x1efe0 in main ()

or:

(gdb) bt
#0  0xef656a30 in memcpy ()
#1  0x1abf0 in BUFFset ()
#2  0x1bab8 in WCHANsetfrombuffer ()
#3  0x291ec in SITEflush ()
#4  0x1861c in CCflush ()
#5  0x1a76c in CCreader ()
#6  0x1c068 in CHANreadloop ()
#7  0x1efe0 in main ()

or:

(gdb) bt
#0  0xef67c084 in realfree ()
#1  0xef67c844 in cleanfree ()
#2  0xef67b9a4 in _malloc_unlocked ()
#3  0xef67b8a0 in malloc ()
#4  0x2e4ec in xmalloc ()
#5  0x150e4 in ARTcancelverify ()
#6  0x1530c in ARTcancel ()
#7  0x154bc in ARTcontrol ()
#8  0x178b0 in ARTpost ()
#9  0x1f9a8 in NCpostit ()
#10 0x21988 in NCproc ()
#11 0x2209c in NCreader ()
#12 0x1c210 in CHANreadloop ()
#13 0x1efe0 in main ()

or:

(gdb) bt
#0  0xef67b9dc in _malloc_unlocked ()
#1  0xef67bdec in realloc ()
#2  0x2e568 in xrealloc ()
#3  0x280ec in SITEwritefromflags ()
#4  0x28684 in SITEsend ()
#5  0x17938 in ARTpost ()
#6  0x1f9a8 in NCpostit ()
#7  0x21988 in NCproc ()
#8  0x2209c in NCreader ()
#9  0x1c210 in CHANreadloop ()
#10 0x1efe0 in main ()

So it definitely is a problem with memory allocation/deallocation.
It runs ok now, but if only this problems shows up again I am going to
recompile innd with the debugging info added and see in more detail why
it coredumps.

If anybody needs some more data about my config.data, etc. - let me know.
And I still have about 10 coredumps from that 'bad' time :-)

Tomasz
-- 
 _________
(_   _' __) Tomasz R. Surmacz *--* Work:(071)320-2636 tsurmacz@ict.pwr.wroc.pl
  |  (__  \ http://www.ict.pwr.wroc.pl/~tsurmacz/ *----* Home: ts@wroc.apk.net
  |__(____/ For PGP key finger tsurmacz@asic.ict.pwr.wroc.pl *---* irc: TomekS

Technical Details
Message-ID: <5iecjv$n77$1@okapi.ict.pwr.wroc.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5ho3pv$4o8$1@news2.isdnet.net>

Show Full Headers
Complete Article Headers
Message-ID: <5iecjv$n77$1@okapi.ict.pwr.wroc.pl>
Subject: Re: innd dies silently
Date: Tue, 08 Apr 1997 00:00:00 +0000
From: Tomasz R. Surmacz <tsurmacz@spamfilter.ict.pwr.wroc.pl>
References: <5ho3pv$4o8$1@news2.isdnet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 231626600
Organization: Technical University of Wroclaw, Poland
Newsgroups: news.software.nntp