segfaulting on startup

Russ Allbery rra at stanford.edu
Mon Mar 11 05:42:00 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> Ok, now innd is segfaulting on startup.  I don't know much about INN
> internals, but I did manage to attach GDB (that was interesting).

> #0  0x805e2a4 in SITEsetlist (patlist=0x812bbec, subbed=0x812b468 "",
>     poison=0x812b828 "", poisonEntry=0x80ae51c) at newsfeeds.c:387
> #1  0x805e563 in SITEparseone (Entry=0x80e2450 "ME", sp=0x80ae500,
>     subbed=0x812b468 "", poison=0x812b828 "") at newsfeeds.c:500
> #2  0x805f3b3 in SITEparsefile (StartSite=true) at newsfeeds.c:881
> #3  0x8059b5c in ICDsetup (StartSites=true) at icd.c:91
> #4  0x805b06c in main (ac=2, av=0xbffffe74) at innd.c:584

> On further inspection, we see

> (gdb) print Groups
> $7 = (NEWSGROUP *) 0xffffffff

> which surely isn't right, is it?

It might be... that's -1, which could be used as some sort of marker
entry.  But something is definitely wrong with the newsfeeds parsing, and
possibly with the active file (which could be causing that crash).

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list