CVS: strange test failures on FreeBSD - ideas sought

Matthias Andree matthias.andree at gmx.de
Wed Sep 24 01:17:07 CEST 2003


On Tue, 23 Sep 2003, David Relson wrote:

> > I forced DCDFLIB on Linux, FreeBSD's GSL is too old (1.3 only), same
> > results.
> 
> If you want me to take a look, I've got some time.  Just create me a
> user with emacs privileges :-)

Not so easy, the machine isn't online for long -- if it's on at all
(quite noisy) and isn't reachable from the internet (NAT).

However, I've found something, breakpointing the prbf caller, gdb
backtrace and fis_stats info below.

So the problem might be in rob_compute_spamicity or fis_get_spamicity;
needs further investigation; anyways the P input that is passed to
fis_get_spamicity differs.

### LINUX:
#0  fis_get_spamicity (robn=26, P={mant = 0.015336472898994948, exp =
0}, Q=
      {mant = 3.7461709350412732e-61, exp = 0}) at fisher.c:115
#1  0x0804a98f in rob_compute_spamicity (wordhash=0x80feb20, fp=0x0)
    at robinson.c:257
#2  0x0804aa04 in rob_bogofilter (wordhash=0x80feb20, fp=0x0) at
robinson.c:364
#3  0x08049a9a in bogofilter (argc=1, argv=0xbffff16c) at
bogofilter.c:123
#4  0x08049c19 in main (argc=135450712, argv=0x8128110) at main.c:57
#5  0x40281857 in __libc_start_main () from /lib/libc.so.6
(gdb) print fis_stats
$2 = {s = {spamicity = 3.1291635949060037e-13}, robn = 26, 
  p_ln = -4.1775214378381698, q_ln = -139.13695643830485, 
  p_pr = 0.99999999999937417, q_pr = 0}


### FREEBSD:
#0  fis_get_spamicity (robn=26, P={mant = 0.015336472898994943, exp =
0}, Q={
      mant = 3.7461709350412753e-61, exp = 0})
    at ../../bogofilter/src/fisher.c:114
#1  0x804a988 in rob_compute_spamicity (wordhash=0x8108180, fp=0x0)
    at ../../bogofilter/src/robinson.c:257
#2  0x804ad3c in rob_bogofilter (wordhash=0x8108180, fp=0x0)
    at ../../bogofilter/src/robinson.c:364
#3  0x8049a79 in bogofilter (argc=1, argv=0xbfbffa10)
    at ../../bogofilter/src/bogofilter.c:123
#4  0x8049c2f in main (argc=1, argv=0xbfbffa10)
    at ../../bogofilter/src/main.c:57
$2 = {s = {spamicity = 3.1297187064183163e-13}, robn = 26, 
  p_ln = -4.1775214378381698, q_ln = -139.13695643830485, 
  p_pr = 0.99999999999937406, q_pr = 0}

Still no idea what's really going on there.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the bogofilter-dev mailing list