🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69134

Re: inn2 core dump

#69134
From: Russ Allbery
Date: Mon, 17 May 2004 07:36
43 lines
2681 bytes
Jarle Aase <jgaa@jgaa.com> writes:

> I've noticed that it crash from time to time (usually at least once a
> week) when I run the program below:

> /etc/news/newsfeeds:

> groupstats!:*:Tc,WsbND:/usr/local/bin/groupstats \
>         --verbose \
>         --out-interval=5 \
>         --save-file=/var/lib/news/groupstats.save \
>         --out-html=/var/www/groupstats.html \
>          2>&1 | cat >> /var/log/news/groupstats.log

[...]

> #0  0x402f3fbf in memcpy () from /lib/tls/libc.so.6
> #1  0x406a274c in ?? ()
> #2  0x083145b4 in ?? ()
> #3  0x0806c3bb in SITEwrite ()
> #4  0x0806ca9f in SITEsend ()
> #5  0x0805554c in ARTpost ()
> #6  0x0805e8f7 in NCwriteshutdown ()
> #7  0x0805fd09 in NCwriteshutdown ()
> #8  0x0805bb29 in CHANreadloop ()
> #9  0x0805de50 in main ()

There's something wrong with this core dump and backtrace.  SITEsend never
calls SITEwrite.  Only two functions in INN call SITEwrite; the handler
for exploder feeds (which that isn't), or the handler for the ctlinnd send
command, which doesn't fit the above backtrace at all.

Not to mention that NCwriteshutdown can't call ARTpost.

Unfortunately, that means that the core dump is pretty much worthless;
from that, I have no idea what might be happening, since it looks like the
calling stack is corrupt.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87smdzjyig.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <pan.2004.05.08.09.12.35.487849@jgaa.com>

Show Full Headers
Complete Article Headers
Message-ID: <87smdzjyig.fsf@windlord.stanford.edu>
Subject: Re: inn2 core dump
Date: Mon, 17 May 2004 00:36:39 -0700
From: Russ Allbery <rra@stanford.edu>
References: <pan.2004.05.08.09.12.35.487849@jgaa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 43
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1084779400 9544 171.64.19.147 (17 May 2004 07:36:40
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:5/2yasJDdC9/iQ6aEC1VJVACvow=