🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by System Operator Mon, 12 Jan 1998 00:00
dbz "can't tag" errors
#25112
Author: System Operator
Date: Mon, 12 Jan 1998 00:00
79 lines
3118 bytes

Hi.  Has anyone seen errors like this in the news errlog?

  can't tag value 0x12d2c2e tagboth = 0xff000000
  can't tag value 0x12d2c58 tagboth = 0xff000000
  can't tag value 0x12d2c7c tagboth = 0xff000000

We have thousands of them this morning after starting inn from
scratch on two new stripe sets yesterday.  We started with empty
history and spool and a new full active file to reset.  We didn't
see errors like this when we first upgraded to inn 1.7.2 a couple
of weeks ago, however.

I found where the message is printed, in dbz.c.  dbz 3.3 prints this
message, and looking at dbz 3.2 I see that that one can fail in the
same way but it does so silently, without complaining to errlog.
Unfortunately, I'm extremely green at C, so don't understand it well.
Our history* files have news owner and group permissions, and appear
to be updating ok today.  Here's the dbz.c code:

dbz3.3:
--------------------------------
[...]
#define CANTAG(o)       (((o)&tagboth) == 0)
[...]

/*
 - set - store a value into a location previously found by search
 */
static int                      /* 0 success, -1 failure */
set(sp, value)
register struct searcher *sp;
of_t value;
{
        register of_t place = sp->place;
        register of_t v = value;

        if (sp->aborted)
                return(-1);

        if (CANTAG(v) && !conf.olddbz) {
                v |= sp->tag | taghere;
                if (v != UNBIAS(VACANT))        /* BIAS(v) won't look VACANT */
#ifdef OVERFLOW
                        if (v != LONG_MAX)      /* and it won't overflow */
#endif
                        value = v;
        } else {
                fprintf(stderr, "can't tag value 0x%lx", v);
                fprintf(stderr, " tagboth = 0x%lx\n", tagboth);
        }
        DEBUG(("tagged value is 0x%lx\n", value));
        value = BIAS(value);
        value = MAPOUT(value);

        /* If we have the index file in memory, use it */
        if (corepag != NULL && place < conf.tsize) {
                corepag[place] = value;
                DEBUG(("set: incore\n"));
#ifdef MMAP
                return(0);
#else
                if (!writethrough)
                        return(0);
#endif
------------------------------------------

(dbz 3.2 omits the fprintf(stderr...) else clause.)

We don't have MMAP enabled for dbz.  We are on DEC DU 4.0b.

Many thanks in advance for any advice.

-Ann Cantelow
 cantelow@athena.csdco.com
 sysop@atlas.csd.net

Re: dbz "can't tag" errors
#25116
Author: System Operator
Date: Mon, 12 Jan 1998 00:00
26 lines
1305 bytes
sysop@atlas.csd.net (me, Ann Cantelow, Sys Oper) writes:

>Hi.  Has anyone seen errors like this in the news errlog?

>  can't tag value 0x12d2c2e tagboth = 0xff000000
>  can't tag value 0x12d2c58 tagboth = 0xff000000
>  can't tag value 0x12d2c7c tagboth = 0xff000000

>We have thousands of them...

-Never mind...

It turned out to be something that is fixed in dbz version
3.3.2.  I had 3.3.1 installed.  When we upgraded to dbz 3.3.2
the error messages stopped.  This all happened when we started
from empty history* files.

Thanks to everyone who has worked on dbz.  I am very pleased to
have it available.

-Ann Cantelow
 cantelow@athena.csdco.com
 sysop@atlas.csd.net

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads