Overview corruption (inn 2.3.3)

patricks at support.nl patricks at support.nl
Wed Oct 9 12:51:43 UTC 2002


On Mon, 7 Oct 2002, Russ Allbery wrote:

> > article <ugh3qugv2h2pmrp2mpsm0ntcf1vv2351qm at 4ax.com>
> > Connection closed by foreign host.
>
> > This is very strange.
>
> That sounds quite a lot like a segfault.  I think there's something else
> going on rather than corrupted overview.  Can you try running nnrpd under
> a debugger and giving it this command on stdin?

It is:

Program received signal SIGSEGV, Segmentation fault.
0x4014cf7e in vfprintf () from /lib/libc.so.6

This is caused by this line syslog line in nnrpd/misc.c

    /* Skip first two fields. */
    if ((p = strchr(buff, '\t')) == NULL) {
        syslog(L_ERROR, "%s bad_history at %ld for %s in BLANK", ClientHost, offset, HashToText(*key));
        return NULL;
    }

Apprantly this routine thinks the history is corrupt? I have rebuild the history
by contrib/fixhist, but this didn't find any errors.

I don't think the history is really corrupt. I do have a large history:

-rw-r--r--    1 news     news     5861595934 Oct  9 14:48 /usr/local/news/spool/db/history
-rw-r--r--    1 news     news           50 Oct  9 14:48 /usr/local/news/spool/db/history.dir
-rw-r--r--    1 news     news     1043413200 Oct  9 14:24 /usr/local/news/spool/db/history.hash
-rw-r--r--    1 news     news     1391217600 Oct  9 14:48 /usr/local/news/spool/db/history.index

The server holds lots of non-bin articles.

What's going on?

Thanks.

Patrick Schreurs



More information about the inn-workers mailing list