🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25360

innd dying - maybe a perl filter problem ?

#25360
From: Doug S
Date: Tue, 20 Jan 1998 00:00
70 lines
3491 bytes
I've been running INN 1.7.2+insync for almost a month now, and before
that INN 1.5.1+ton of patches + perl filter. Most of the time it runs
fine, but three times recently, it has "frozen" - readers and feeders
won't connect, ctlinnd won't run, etc.

I did a kill -6 on innd today, and it generated a 49MB core file.
a $C traceback in adb yielded an 824-line traceback, 393 of which
were calls to "regmatch".

core file = core -- program ``innd''
SIGIOT 6: abort
$C
regrepeat() + 20
        [savfp=0xeffef560,savpc=0x9b5fc]
regmatch(0x7fff,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 8ec
        [savfp=0xeffef560,savpc=0x9b5fc]
regmatch(0x49,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 960
        [savfp=0xeffef600,savpc=0x9b5fc]
regmatch(0x0,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 960
        [savfp=0xeffef6a0,savpc=0x9b324]
regmatch(0x61,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 688
        [savfp=0xeffef740,savpc=0x9b5fc]
regmatch(0x1,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 960
        [savfp=0xeffef7e0,savpc=0x9b5fc]
regmatch(0x4c,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 960
        [savfp=0xeffef880,savpc=0x9b5fc]
regmatch(0x0,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 960
        [savfp=0xeffef920,savpc=0x9b324]
regmatch(0x60,0x150e59,0x150800,0x150c00,0x151800,0x152000) + 688
        [savfp=0xeffef9c0,savpc=0x9b5fc]

(repeated ad nauseum with minor variations)

regtry(0x24dd208,0x2f0d59e,0x24a7008,0x70,0x151800,0x2495008) + 74
        [savfp=0xefffead0,savpc=0x9a2d8]
Perl_pregexec(0x24dd208,0x2f0d008,0x2f0f41c,0x2f0d008,0x0,0x0) + 328
        [savfp=0xefffeb68,savpc=0x6b44c]
Perl_pp_match(0x2f0d008,0x1b,0x2f0f41c,0x0,0x0,0x0) + 41c
        [savfp=0xefffebe8,savpc=0x68c04]
Perl_runops(0x2494ac8,0xefffed20,0x151800,0x2439008,0x151800,0x1) + 28
        [savfp=0xefffec58,savpc=0x3e528]
perl_call_sv(0x0,0x265f00c,0xffffffff,0x0,0x68,0x0) + 430
        [savfp=0xefffed50,savpc=0x3e048]
perl_call_pv(0x9f578,0x4,0x3,0x4,0x151800,0x2495008) + 10
        [savfp=0xefffedc0,savpc=0x3e024]
perl_call_argv(0x9f578,0x4,0x0,0x2952498,0x2d8a4d,0xa) + d4
        [savfp=0xefffee30,savpc=0x367ec]
HandleArticle(0x276eab1,0x9bf90,0x4,0x9c400,0x81010100,0xff00) + 188
        [savfp=0xefffeea0,savpc=0x220cc]

It *looks* to be related to the perl article filter. My filter_innd.pl
(based on Jeremy Nixon's) hasn't been changed in two weeks, and runs
clean with a "perl -c".

Has anyone seen something like this ? 

Followup: it happened again (53MB core this time, similar features).
For what it's worth, this is a Sparc5 running Solaris 2.4, with 64MB.
I just replaced the perl filter with a "null" version (the sample that
came with INN 1.7.2) to see if that makes a difference.

Thanks in advance, Doug
-- 
Doug S. (doug@cc.ysu.edu) (http://cc.ysu.edu/~doug/)

If you get hung up on what you did wrong, you're never gonna get anywhere.
        -- Kenneth Copeland

Technical Details
Message-ID: <6a3ou5$1hgc@unix1.cc.ysu.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6a3ou5$1hgc@unix1.cc.ysu.edu>
Subject: innd dying - maybe a perl filter problem ?
Date: Tue, 20 Jan 1998 00:00:00 +0000
From: doug@cc.ysu.edu (Doug S)
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: 317887467
Organization: Youngstown State University
Newsgroups: news.software.nntp