buffindex

Gunther Nitzsche gnitzsche at netcologne.de
Wed Apr 3 15:12:22 UTC 2002


At 17:42 29.03.02 +0900, you wrote:
 >>} ovopensearch failed for group control.cancel
 >
 >I'd like see where if fails.  Could do you investigate
 >by gdb to find it?

I don't know gdb very well, so I give it a try:
(probably too much noise in the info..)

(gdb) run
Starting program: 
/usr/local/news/inn-STABLE-20020213/storage/buffindexed/buffindexed 
alt.aeffle.und.pferdle
GROUPheader->freelist.recno is 19714(0x00004d02)
base 17279(2), cur 145302(1), expired at Wed Apr  3 03:07:25 2002

alt.aeffle.und.pferdle: low is 42506, high is 43557, count is 756, flag is 'y'

Breakpoint 1, ovopensearch (group=0xffbedc4c "", low=42506, high=43557,
     needov=1) at buffindexed.c:1632
1632      gloc = GROUPfind(group, FALSE);
(gdb)
(gdb) cont
Continuing.

Breakpoint 2, ovgroupmmap (ge=0xfee902e0, low=43557, high=756, needov=-4269112)
     at buffindexed.c:1506
1506      OV                    ov = ge->baseindex;
(gdb)
(gdb) cont
Continuing.

Breakpoint 4, getovbuff (ov={blocknum = 17279, index = 2}) at buffindexed.c:703
703       OVBUFF        *ovbuff = ovbufftab;
(gdb)
....(some 's' ..)

(gdb)
ovgroupmmap (ge=0xfee902e0, low=42506, high=43557, needov=1)
     at buffindexed.c:1615
1615            return FALSE;
(gdb) s
1625    }
(gdb) s
ovopensearch (group=0xffbefe00 "alt.aeffle.und.pferdle", low=42506,
     high=43557, needov=1) at buffindexed.c:1643
1643        return NULL;
(gdb) s
1654    }
(gdb) s
main (argc=-8260, argv=0xffbefe00) at buffindexed.c:2092
2092        fprintf(stderr, "ovopensearch failed for group %s\n", group);
(gdb) s
ovopensearch failed for group alt.aeffle.und.pferdle
2093        exit(1);
(gdb)

does this help anyway?

best greetings,
Gunther
-- 
Gunther Nitzsche         | IRC: MotoGuzzi
gnitzsche at netcologne.de  | MUD,Netrek: Cedric
                          | HAM: DH1KAT
It never can be that bad, that it can´t get worse...



More information about the inn-workers mailing list