Article View: news.software.nntp
Article #46203Re: INN 2.3.0 public beta
From: Karl Kleinpaste
Date: Sun, 30 Apr 2000 00:00
Date: Sun, 30 Apr 2000 00:00
93 lines
4979 bytes
4979 bytes
Russ Allbery <rra@stanford.edu> writes:
> And... I think I found the arena corruption. In the keywords code:
You may have indeed found a problem, though it would be odd,
considering that the code is nearly unchanged in the 3+ years since I
first created it for INN 1.5.1 and 1.7.2, the latter of which ran
continuously for months on end on the previous server I admin'd,
news.jprc.com. I never bothered to upgrade that host to 2.x because
1.7.2 (insync1.1d) just kept plugging along very well for me. Perhaps
the code has simply never wanted to write a missed keyword count
higher than 99 -- it would certainly be possible.
Removing that questionable code didn't stop the problem. I've gotten
to a point where I can induce the error every single time I start
innd, with a single article. It doesn't matter whether keyword
generation is enabled or not. ARTpost() calls PLartfilter() long
before overview (and keyword) issues are relevant, and it dies there
every time for me now.
I'm off to debug inside PLartfilter(), but I know nothing of this
code, so it may not be the easiest thing for me to catch.
--karl
(gdb) att 27558
Attaching to program: /home/news/bin/innd, Pid 27558
Reading symbols from /home/news/lib/libstorage.so.2...done.
Reading symbols from /home/news/lib/libinn.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/lib/python1.5/lib-dynload/stropmodule.so...done.
0x4015017e in __select () from /lib/libc.so.6
(gdb) b ARTpost
Breakpoint 1 at 0x8063f04: file art.c, line 1929.
(gdb) b ARTmakeoverview
Breakpoint 2 at 0x8063d49: file art.c, line 1842.
(gdb) b ARTmakekeys
Breakpoint 3 at 0x80638c7: file art.c, line 1664.
(gdb) c
Continuing.
Breakpoint 1, ARTpost (cp=0x4020cb68) at art.c:1929
1929 BOOL ControlStore = FALSE;
(gdb) b 2018
Breakpoint 4 at 0x80642e0: file art.c, line 2018.
(gdb) c
Continuing.
Breakpoint 4, ARTpost (cp=0x4020cb68) at art.c:2018
2018 filterPath = HeaderFindMem(article->Data, article->Used, "Path", 4) ;
(gdb) n
2022 TMRstart(TMR_PYTHON);
(gdb)
2023 filterrc = PYartfilter(Data.Body,
(gdb)
2026 TMRstop(TMR_PYTHON);
(gdb)
2027 if (filterrc != NULL) {
(gdb)
2043 TMRstart(TMR_PERL);
(gdb)
2044 filterrc = PLartfilter(Data.Body, Data.LinesValue);
(gdb)
Program received signal SIGSEGV, Segmentation fault.
0x400fc712 in chunk_alloc (ar_ptr=0x40191d60, nb=24) at malloc.c:2764
2764 malloc.c: No such file or directory.
(gdb) bt
#0 0x400fc712 in chunk_alloc (ar_ptr=0x40191d60, nb=24) at malloc.c:2764
#1 0x400fc5ce in __libc_malloc (bytes=13) at malloc.c:2696
#2 0x809efc5 in Perl_safemalloc ()
#3 0x80a5205 in save_hek ()
#4 0x80a6b75 in Perl_share_hek ()
#5 0x80a56b8 in Perl_hv_store ()
#6 0x8071af9 in PLartfilter (
artBody=0x81be11f "help all,\r\nI need to find a few items on my trip to LA area. I will be in San Fernando\r\nValley and am looking for penis gag, and other bondage stuff to feminize\r\nmale sub. I leave in a day and so re"...,
lines=9) at perl.c:92
#7 0x8064378 in ARTpost (cp=0x4020cb68) at art.c:2044
#8 0x806d8e7 in NCpostit (cp=0x4020cb68) at nc.c:196
#9 0x806ed21 in NCproc (cp=0x4020cb68) at nc.c:927
#10 0x806f3e9 in NCreader (cp=0x4020cb68) at nc.c:1155
#11 0x806a41b in CHANreadloop () at chan.c:975
#12 0x806d378 in main (ac=3, av=0xbffffe84) at innd.c:940
(gdb)
Technical Details
Message-ID:
<vxkbt2rqx19.fsf@mesquite.charcoal.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.mbox.zip!not-for-mailReferences:
<yl7ldiu3j8.fsf@windlord.stanford.edu> <vxkg0s6t1oi.fsf@mesquite.charcoal.com> <vxk4s8msziu.fsf@mesquite.charcoal.com> <ylln1wghnk.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <vxkbt2rqx19.fsf@mesquite.charcoal.com>
Subject: Re: INN 2.3.0 public beta
Date: Sun, 30 Apr 2000 00:00:00 +0000
From: Karl Kleinpaste <karl@charcoal.com>
References: <yl7ldiu3j8.fsf@windlord.stanford.edu> <vxkg0s6t1oi.fsf@mesquite.charcoal.com> <vxk4s8msziu.fsf@mesquite.charcoal.com> <ylln1wghnk.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.mbox.zip!not-for-mail
X-Deja-AN: 617563221
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: postmaster@cs.cmu.edu
X-Trace: cantaloupe.srv.cs.cmu.edu 957118273 1244 128.2.194.2 (30 Apr 2000 18:11:13 GMT)
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Organization: Charcoal Communicators
Mime-Version: 1.0
User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2 (Iris)
NNTP-Posting-Date: 30 Apr 2000 18:11:13 GMT
Newsgroups: news.software.nntp