🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7333

INN1.4unoff4 crashes with segment violation

#7333
From: Dr. Ralph P. Sobek
Date: Tue, 07 May 1996 00:00
76 lines
2991 bytes
This evening our copy of INN1.4unoff4 crashed nicely trying to cancel
an article.  The target article was:

    MessageID = 0x3e42a8 "<4mkutp$me@netsrv2.spss.com>"

The backtrace is:

  [1] NGfind(Name = 0x348d38 "soc.religion.christian.bible-study"), line 265 in "innd/ng.c"
=>[2] ARTpost(cp = 0x654c4, Replic = (nil), ihave = 0x3e42a8 "<4mkutp$me@netsrv2.spss.com>"), line 1846 in "innd/art.c"
  [3] NCpostit(cp = 0x654c4), line 229 in "innd/nc.c"
  [4] NCproc(cp = 0x654c4), line 1003 in "innd/nc.c"
  [5] NCreader(cp = 0x654c4), line 1136 in "innd/nc.c"
  [6] CHANreadloop(), line 790 in "innd/chan.c"
  [7] main(ac = 0, av = 0xdffffeb4), line 897 in "innd/innd.c"

The crash is in the expression:

    for (c = *Name, ngp = htp->Groups, i = htp->Used; --i >= 0; ngp++)
-->	if (c == ngp[0]->Name[0] && EQ(Name, ngp[0]->Name))
	    return ngp[0];

where

Name = 0x348d38 "soc.religion.christian.bible-study"

*ngp[0] = {
    Start      = 1380991026
    Name       = 0x3221413b ""
    Dir        = 0x32215239 ""
    NameLength = 908411966
    Last       = 841045051
    Filenum    = 1377911867
    Lastwidth  = 1377913149
    PostCount  = 0
    LastString = 0x5625493b ""
    Rest       = 0x4224410a ""
    nSites     = 1294151752
    Sites      = 0x2d22452d
    Alias      = 0x4f282655

**htp->Groups = {
    Start      = 187144
    Name       = 0x390a68 "alt.winsock.voice"
    Dir        = 0x362160 "alt/winsock/voice"
    NameLength = 17
    Last       = 4
    Filenum    = 777999439
    Lastwidth  = 10
    PostCount  = 0
    LastString = 0xdf5bdb1a ""
    Rest       = 0xdf5bdb30 ""
    nSites     = 1
    Sites      = 0x3e7e30
    Alias      = (nil)

htp->Used = 14

j = 3683834513
*p = '\0'

Can somebody see what went wrong?  This was compiled with SunPro C
3.0.1 under Solaris 2.5.  I'll keep the core file around for awhile.  

Thanks in advance.

--
Dr. Ralph P. Sobek		  Disclaimer: The above ruminations are my own.
Ralph.Sobek@irit.fr			   Addresses are ordered by importance.
sobek@irit.fr					If all else fails, try:
newsmaster@irit.fr, postmaster@irit.fr             sobek@diva.eecs.berkeley.edu
Telephone: (+33)61-55-86-18  FAX:(+33)61-55-62-58  http//www.cerfacs.fr/~ralph/
===============================================================================
Ban methyl bromide!  What happend to American Health Care?

Technical Details
Message-ID: <SOBEK.96May7115940@dusty.irit.fr>
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: <SOBEK.96May7115940@dusty.irit.fr>
Subject: INN1.4unoff4 crashes with segment violation
Date: Tue, 07 May 1996 00:00:00 +0000
From: sobek@irit.fr (Dr. Ralph P. Sobek)
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: 153468372
Distribution: inet
To: barr@math.psu.edu (Dave Barr - inn1.4unoff4)
Organization: IRIT, Toulouse, France
Newsgroups: news.software.nntp