🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69100

Re: inn2 core dump

#69100
From: Jeffrey M. Vinocur
Date: Sat, 08 May 2004 22:30
42 lines
2553 bytes
In article <pan.2004.05.08.09.12.35.487849@jgaa.com>,
Jarle Aase  <jgaa@jgaa.com> wrote:
>
>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

I haven't looked at your script, but in principle no matter what
a program feed program does, it shouldn't crash INN itself.  Huh.


>(no debugging symbols found)...(gdb) backtrace
>#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 ()

The absence of debugging information makes it difficult to use
the core dump.  If you've installed from source, it should be
pretty easy to recompile with detailed debugging so that next
time we know precisely what line the program was on when it
crashed.

So do `make clean` (you don't need to re-run ./configure) and
then recompile.  I haven't tested this (I usually just build with
`make warnings` which includes debugging by default), but I think
it should work if you do `make COPT=-g`.  Then let it run some
more and hopefully the next core should be more useful.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <c7jn1c$dm7$1@puck.litech.org>
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.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <pan.2004.05.08.09.12.35.487849@jgaa.com>

Show Full Headers
Complete Article Headers
Message-ID: <c7jn1c$dm7$1@puck.litech.org>
Subject: Re: inn2 core dump
Date: Sat, 08 May 2004 22:30:04 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
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.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 42
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1084055404 14023 66.218.0.75 (8 May 2004 22:30:04 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sat, 8 May 2004 22:30:04 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)