segfaulting on startup

Jeffrey M. Vinocur jeff at litech.org
Mon Mar 11 05:50:05 UTC 2002


On Sun, 10 Mar 2002, Russ Allbery wrote:

> Jeffrey M Vinocur <jeff at litech.org> writes:
>
> > (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.

Nope -- Groups get malloc'd, and then through no fashion I can see gets
set to zero and later to -1.  It doesn't appear to be on purpose.


> But something is definitely wrong with the newsfeeds parsing, and
> possibly with the active file (which could be causing that crash).

The active file looks fine to casual inspection.


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list