🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15845

Re: innd 1.5.1 dumps core. buffer overflow?

#15845
From: Dennis Simpson
Date: Thu, 13 Mar 1997 00:00
44 lines
2440 bytes
> >Program terminated with signal 11, Segmentation fault.

We have been seeing this ever since going to 1.5.1 on our Solaris
2.5.1 machine. 1.4unoff4 never had it. In our case, the finish of
nntpsend (cron job) causes the crash. I rebuilt -g and the stack
looks like so:

%[29] adb innd /news/inndcore.970307.10:19
core file = /news/inndcore.970307.10:19	-- program ``innd'' on platform
SUNW,SPARCsystem-600
SIGSEGV: Segmentation Fault
$c
t_splay(0x946f20,0x946f38,0x946f28,0x37383220,0xd038d8,0x2589340) + 138
t_delete(0x946f20,0xef5d5a68,0x3f12760,0x946f30,0x35948,0x946f18) + 58
realloc(?) + 118
__fnonstd_used(0x9115d8,0x35d48,0x67c78,0x2,0x150f8,0x946f20) +	137ac
xrealloc(0x9115d8,0x35d48,0xffffffff,0x0,0x6a988,0x3303c) + 4c
SITEwritefromflags(0xed6490,0xeffff208,0xffffffff,0x6d1b8,0x0,0xed64ec)
+ 31a0
SITEsend(0xed6490,0xeffff208,0xae7,0xfa52c7,0x5e104,0x9939c8) +	8c
ARTpost(0xdf1ab8,0x1feb884,0x0,0x415,0x8,0x99d678) + 2230
NCpostit(0x6a728,0xf026b8c8,0x400,0x11c0423,0x11c0464,0x11c0464) + 10c
NCproc(0x6a728,0xf026b8c8,0x994460,0x6a780,0x6a780,0x11c0466) +	d00
NCreader(0x6a728,0xcb9a20,0x2fe,0x0,0xefffdd30,0x994460) + 168
CHANreadloop(0x6a6f8,0x6a728,0x5b,0x2b,0xc,0x2fe) + 794
main(0x4,0xeffffe74,0xeffffe88,0x67400,0x1,0x0)	+ 1808

This one also looks like a malloc problem, in that it would appear
something is being re-alloc'ed that is free.

I've not yet set aside the time to debug further, but if anyone else
is dealing with a similar crash, or has solved it already, I'd like
to know.

Thx,
dennis
--
/---------------------------------------------------------------------\
| Dennis Simpson  dennis@bconnex.net http://www.bconnex.net/~dennis   |
| "A winner listens, a loser waits for their turn to talk." - unknown |
\---------------------------------------------------------------------/

Technical Details
Message-ID: <3328C2BA.44B7@bconnex.net>
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
References: <5fmjjf$qcg$1@news1.xs4all.nl> <5g356j$2do@papaioea.manawatu.gen.nz>

Show Full Headers
Complete Article Headers
Message-ID: <3328C2BA.44B7@bconnex.net>
Subject: Re: innd 1.5.1 dumps core. buffer overflow?
Date: Thu, 13 Mar 1997 00:00:00 +0000
From: Dennis Simpson <dennis@bconnex.net>
References: <5fmjjf$qcg$1@news1.xs4all.nl> <5g356j$2do@papaioea.manawatu.gen.nz>
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: 225382789
Organization: Barrie Connex Inc.
Newsgroups: news.software.nntp