current cvs segfault on Debian hppa

Clint Adams schizo at debian.org
Thu Oct 3 02:26:08 CEST 2002


> Also, the wordlist from my run of "-s" contains '\r' characters.  They 
> definitely should not be included.  Guess I have to fix lexer.l.

I just built current CVS (without Gyepi's patch) with gcc 3.0.4,
and got this:

Program received signal SIGSEGV, Segmentation fault.
collect_words (fd=1610320, msg_count=0x0, word_count=0x0) at bogofilter.c:194
194             if (w->msg_freq > MAX_REPEATS)
(gdb) bt
#0  collect_words (fd=1610320, msg_count=0x0, word_count=0x0)
    at bogofilter.c:194
#1  0x00011a88 in bogofilter (fd=1610320, xss=0xfaf00488) at bogofilter.c:533
#2  0x00011d7c in main (argc=1587836, argv=0xfaf00288) at main.c:203
(gdb) p w
$1 = (wordprop_t *) 0x14ffffff
(gdb) p *w
Cannot access memory at address 0x14ffffff
(gdb) p h
$2 = (wordhash_t *) 0x189250
(gdb) p n
$3 = (hashnode_t *) 0x14ffffff
(gdb) p *h
$4 = {bin = 0x189270, halloc_buf = 0x1aa750, iter_ptr = 0x4fe0b, 
  iter_head = 0x1aa760, iter_tail = 0x1ac2d1}
(gdb) p *n
Cannot access memory at address 0x14ffffff


For summay digest subscription: bogofilter-digest-subscribe at aotto.com



More information about the Bogofilter mailing list