Article View: news.software.nntp
Article #12911Re: newgroup bug in INN1.5 (b2) ?
From: Andrew A. Vasilyev
Date: Mon, 02 Dec 1996 00:00
Date: Mon, 02 Dec 1996 00:00
52 lines
2100 bytes
2100 bytes
In news.software.nntp Ragnar Lonn <prl@algonet.se> wrote:
> I have three coredumps made by innd when it has died like
> this, if anyone wants to look at them. It dies from a
> segmentation fault so maybe there's a wild pointer or
> something in there somewhere but it would likely take
> me ages to find it myself so I thought I'd just report it.
Try 1.5 release. If still the same then build innd with "-g" flag
w/o any optimization (-O -fast etc),
and say "dbx innd core" when core appears again. 'where' command
gives you a trace where error occured. If this is ARTpropagate(),
try the following:
*** ../../inn-1.5/innd/art.c Sat Nov 30 02:32:18 1996
--- art.c Sat Nov 30 18:22:40 1996
***************
*** 1641,1651 ****
if (funnel->FNLwantsnames) {
bp = &funnel->FNLnames;
p = &bp->Data[bp->Used];
if (bp->Used) {
*p++ = ' ';
bp->Used++;
}
bp->Used += strlen(strcpy(p, sp->Name));
}
}
}
--- 1661,1675 ----
if (funnel->FNLwantsnames) {
bp = &funnel->FNLnames;
p = &bp->Data[bp->Used];
+ /* XXX */ if(!p) {
+ syslog(L_ERROR, "%s ARTpropagate(%s) - no data buffer", LogName, funnel->Name ? funnel->Name : "UNKNOWN");
+ continue;
+ }
if (bp->Used) {
*p++ = ' ';
bp->Used++;
}
bp->Used += strlen(strcpy(p, sp->Name));
}
}
}
In any case please inform us about the trace.
________
ANDY
Technical Details
Message-ID:
<57ua02$bvc$1@news.demos.su>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:
<32A22D12.3478@algonet.se>Show Full Headers
Complete Article Headers
Message-ID: <57ua02$bvc$1@news.demos.su> Subject: Re: newgroup bug in INN1.5 (b2) ? Date: Mon, 02 Dec 1996 00:00:00 +0000 From: Andrew A. Vasilyev <andy@snm.demos.su> References: <32A22D12.3478@algonet.se> 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: 201950287 Distribution: world Content-type: text/plain; charset=US-ASCII Organization: Demos Online Service Mime-version: 1.0 Newsgroups: news.software.nntp