[dannf at hp.com: Bug#290434: bogofilter: x86 db not sharable on ia64]

Clint Adams schizo at debian.org
Sat Jan 15 18:58:19 CET 2005


Maybe make word_t use a fixed-width length var?

----- Forwarded message from dann frazier <dannf at hp.com> -----

I fetch my mail from multiple servers to my laptop, read & train bogofilter
locally, then rsync my updated db's periodically back to my mail servers.
My laptop is x86, as is one of my mail servers - the other server is ia64.

Recently, bogofilter started to segv on the ia64 server.  If I create a
database locally, it doesn't segfault - just seems to happen when its using
the database I created on my laptop.

I'm running the same versions of libdb4.3 & bogofilter on both machines.

(gdb) run
Starting program: /usr/bin/bogofilter

Program received signal SIGSEGV, Segmentation fault.
__db_des_get (dbenv=0x6000000000012d00, env_infop=0x6000000000013300,
    infop=0x6000000000013300, rpp=0x60000fffffff9458)
    at ../env/env_region.c:1066
1066                            if (infop->id == rp->id)
(gdb) bt
#0  __db_des_get (dbenv=0x6000000000012d00, env_infop=0x6000000000013300,
    infop=0x6000000000013300, rpp=0x60000fffffff9458)
    at ../env/env_region.c:1066
#1  0x20000000001a2030 in __db_e_attach (dbenv=0x6000000000012d00,
    init_flagsp=0x0) at ../env/env_region.c:42
#2  0x20000000001a2780 in __db_e_remove (dbenv=0x6000000000012d00, flags=1)
    at ../env/env_region.c:678
#3  0x200000000019b250 in __dbenv_remove_int (dbenv=0x6000000000012d00,
    db_home=0x1 <Address 0x1 out of bounds>, flags=4) at ../env/env_open.c:463
#4  0x200000000019a2a0 in __dbenv_open (dbenv=0x6000000000012d00,
    db_home=0x6000000000012c60 "/home/dannf/.bogofilter", flags=188449,
    mode=436) at ../env/env_open.c:164
#5  0x40000000000294f0 in dbe_xinit (
    directory=0x6000000000012c60 "/home/dannf/.bogofilter", numlocks=16384,
    numobjs=16384, flags=32) at datastore_db.c:983
#6  0x400000000002a0a0 in dbe_recover (
    directory=0x6000000000012c60 "/home/dannf/.bogofilter",
    catastrophic=false, force=false) at datastore_db.c:1183
#7  0x4000000000029d60 in dbe_init (
    directory=0x6000000000012c60 "/home/dannf/.bogofilter")
    at datastore_db.c:1113
#8  0x400000000000d630 in ds_init (
    directory=0x6000000000012c60 "/home/dannf/.bogofilter") at datastore.c:358
#9  0x4000000000023590 in list_searchinsert (
    directory=0x6000000000012c60 "/home/dannf/.bogofilter") at wordlists.c:73
#10 0x40000000000236a0 in open_wordlist (list=0x60000000000129c0, mode=DS_READ)
    at wordlists.c:91
#11 0x4000000000023b00 in open_wordlists (list=0x60000000000129c0,
    mode=DS_READ) at wordlists.c:155
#12 0x4000000000007da0 in bogomain (argc=1, argv=0x60000fffffffb938)
    at bogomain.c:58
#13 0x40000000000042b0 in main (argc=1, argv=0x60000fffffffb938) at main.c:25



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.8-1-mckinley
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages bogofilter depends on:
ii  libc6.1                     2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.3                    4.3.21-11    Berkeley v4.3 Database Libraries [
ii  libgsl0                     1.6-1        The GNU Scientific Library (GSL) -

-- no debconf information

----- End forwarded message -----



More information about the bogofilter-dev mailing list