Segmentation fault in 12.2 debian package...
David Relson
relson at osagesoftware.com
Tue May 13 00:31:51 CEST 2003
At 05:22 PM 5/12/03, Jim Correia wrote:
>On Monday, May 12, 2003, at 05:03 PM, David Relson wrote:
>
>>It seems fine on my PIII Mandrake Linux box. "bogofilter -v <msg.bad"
>>says "X-Bogosity: No, tests=bogofilter, spamicity=0.908845, version=0.12.2".
>
>[...]
>
>>It wouldn't be the first time that bogofilter has seg faulted :-(
>>However, we've been able to fix all the seg faults before now and I
>>expect we'll be able to get you going as well.
>
>David,
>
>I can reproduce this on Mac OS X with bogofilter 0.12.2.
>
>I don't have time to debug this here at the moment, but here is a
>backtrace in case it proves useful.
>
>Jim
>
>Program received signal EXC_BAD_ACCESS, Could not access memory.
>0x9007478c in memmove ()
>(gdb) bt
>#0 0x9007478c in memmove ()
>#1 0x000137dc in buff_shift (self=0xbffff4f0, start=0xeb03b "jge t g jb
>vbrerd>", length=54) at buff.c:86
Jim,
The "length=54" parameter is wrong, I think. I get the same value on my
Intel machine, so will be able to fix the problem.
Thanks for sending the backtrace!
David
>#2 0x00011d9c in kill_html_comment (buff=0xbffff4f0, comment_offset=59)
>at html.c:136
>#3 0x00011bac in process_html_comments (buff=0xbffff4f0) at html.c:55
>#4 0x00012c2c in yyinput (buf=0xeb000 "o\ng ejge t g jb vbrerd><!s
>sdboxstjjcrghfsswg\nzn\nevdco\ng ejge t g jb vbrerd>",
>max_size=4294967279) at lexer.c:281
>#5 0x0000985c in yy_get_next_buffer () at lexer_v3.c:1886
>#6 0x000095f4 in lexer_v3_lex () at lexer_v3.c:1721
>#7 0x0000cb54 in get_token () at token.c:94
>#8 0x00004350 in collect_words (wh=0x71b00) at collect.c:48
>#9 0x00001c3c in bogofilter (xss=0x71b00) at bogofilter.c:67
>#10 0x00001f28 in classify (argc=134708, argv=0xbffffd04, out=0xa0000d2c)
>at main.c:145
>#11 0x0000201c in main (argc=4, argv=0xbffffd04) at main.c:181
>#12 0x00001918 in _start (argc=4, argv=0xbffffd04, envp=0xbffffd18) at
>/SourceCache/Csu/Csu-45/crt.c:267
>#13 0x00001798 in start ()
>
>
>
>---------------------------------------------------------------------
>FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
>To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
>For summary digest subscription: bogofilter-digest-subscribe at aotto.com
>For more commands, e-mail: bogofilter-help at aotto.com
More information about the Bogofilter
mailing list