(Adding in the loop the bogofilter devs.) Sjoerd, would you please supply an example email to help with reproducing the problem?
Cheers, Serafeim ------ forwarded email -------- From: Sjoerd Simons <sjo...@debian.org> To: Debian Bug Tracking System <sub...@bugs.debian.org> Subject: bogofilter: Bogofilter crashes on some mails Date: Sun, 19 Apr 2009 18:37:57 +0100 Package: bogofilter Version: 1.2.0-1+b1 Severity: important It seems like bogofilter crashes on some mails, i get the following backtrace when rebuilding with debugging symbols: (gdb) bt full #0 word_cmp (w1=0x21681f0, w2=0x0) at ../../src/word.c:40 r = <value optimized out> #1 0x0000000000417a44 in listsort (list=0x21460e0, compare= 0x40ed80 <compare_rstats_t>) at ../../src/listsort.c:113 p = 0x219dd10 q = 0x219dd50 e = 0xffffffff tail = 0x219dcd0 insize = 1 nmerges = <value optimized out> psize = 1 qsize = 1 #2 0x000000000040e73b in rstats_print (unsure=false) at ../../src/rstats.c:142 robn = <value optimized out> #3 0x000000000040d08e in write_spam_info () at ../../src/passthrough.c:138 No locals. #4 0x000000000040d326 in write_message (status=RC_HAM) at ../../src/passthrough.c:218 rf = 0x40ccf0 <read_mem> rfarg = 0x7ffff9541630 text = 0x2167e70 seen_subj = false #5 0x0000000000402ba8 in bogofilter (argc=<value optimized out>, argv=<value optimized out>) at ../../src/bogofilter.c:132 spamicity = 0 w = 0x2146030 msgcount = 1 status = RC_HAM register_opt = false register_aft = false write_msg = true words = 0x0 #6 0x0000000000404bd9 in bogomain (argc=0, argv=0x7ffff95417c8) at ../../src/bogomain.c:67 status = <value optimized out> exitcode = <value optimized out> #7 0x0000000000402dee in main (argc=5, argv=0x7ffff95417c8) at ../../src/main.c:31 exitcode = <value optimized out> (gdb) p * (rstats_t *)p $35 = {next = 0x219dd50, token = 0x21681f0, good = 0, bad = 2108, msgs_good = 0, msgs_bad = 6757, used = false, prob = -nan(0x8000000000000)} (gdb) p * (rstats_t *)q $36 = {next = 0x0, token = 0x0, good = 0, bad = 0, msgs_good = 0, msgs_bad = 0, used = false, prob = 0} (gdb) The compare_rstats_t function doesn't seem to cope well then the probabilities are incomparable and one of the sides doesn't actually have tokens... Sjoerd -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages bogofilter depends on: ii bogofilter-bdb 1.2.0-1 a fast Bayesian spam filter (Berke bogofilter recommends no packages. bogofilter suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org