reassign 510793 libdb4.6
found 510793 4.6.21-11
thanks

Hi,

Clint Adams schrieb am Wed 07. Jan, 03:13 (+0000):
> On Sun, Jan 04, 2009 at 10:35:47PM +0100, Jörg Sommer wrote:
> > Running bogofilter with the same message again, by hand, makes it
> > succeed. I don't think it's a bug in bogofilter but a linking problem. I
> > hand the same problem with exim: http://bugs.debian.org/150026
> 
> Linking problem how?
> 
> > It doesn't happen with every message and I can't reproduce it. If you
> > have an idea what I can do, please let me know.
> 
> Are you allowing it to dump core?

I've enabled core dumps and it looks like a problem in libdb. I was to
rashly with the guess of an ABI problem (that was what I've meant with
linking problem).

% gdb =bogofilter /var/tmp/core.bogofilter.15522
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libdb-4.6.so...Reading symbols from 
/usr/lib/debug/usr/lib/libdb-4.6.so.debug...done.
done.
Loaded symbols for /usr/lib/libdb-4.6.so
Reading symbols from /usr/lib/libgsl.so.0...done.
Loaded symbols for /usr/lib/libgsl.so.0
Reading symbols from /usr/lib/libgslcblas.so.0...done.
Loaded symbols for /usr/lib/libgslcblas.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Core was generated by `bogofilter -e -p'.
Program terminated with signal 11, Segmentation fault.
[New process 15522]
#0  __memp_bh_priority (bhp=0x11b9d92b) at ../dist/../mp/mp_mvcc.c:30
30      ../dist/../mp/mp_mvcc.c: No such file or directory.
        in ../dist/../mp/mp_mvcc.c

(gdb) bt full
#0  __memp_bh_priority (bhp=0x11b9d92b) at ../dist/../mp/mp_mvcc.c:30
        priority = <value optimized out>
#1  0xb7ebbc62 in __memp_fget (dbmfp=0x8b5d718, pgnoaddr=0xbf814154, txn=0x0, 
flags=0, addrp=0xbf814158)
    at ../dist/../mp/mp_fget.c:739
        state = FIRST_MISS
        alloc_bhp = (BH *) 0x0
        bhp = (BH *) 0x8b9d92c
        frozen_bhp = (BH *) 0x0
        oldest_bhp = (BH *) 0x0
        dbenv = (DB_ENV *) 0x8b5ce38
        read_lsnp = (DB_LSN *) 0x0
        dbmp = (DB_MPOOL *) 0x8b5dab8
        hp = (DB_MPOOL_HASH *) 0x8b5e188
        c_mp = (MPOOL *) 0x8b5db84
        mfp = (MPOOLFILE *) 0x8b5e8b4
        infop = (REGINFO *) 0x8b5db50
        t_infop = (REGINFO *) 0x0
        td = (TXN_DETAIL *) 0x0
        mf_offset = 146139316
        st_hsearch = 0
        b_incr = 0
        b_locked = <value optimized out>
        dirty = 0
        edit = 0
        extending = 0
        first = <value optimized out>
        makecopy = 0
        mvcc = <value optimized out>
        ret = <value optimized out>
#2  0xb7df4df8 in __bam_search (dbc=0x8b5e9b0, root_pgno=1, key=0xbf8143c0, 
flags=1409, slevel=1, recnop=0x0, 
    exactp=0xbf814248) at ../dist/../btree/bt_search.c:500
        cp = (BTREE_CURSOR *) 0x8b5eae8
        dbp = (DB *) 0x8b5d3c0
        dbenv = (DB_ENV *) 0x8b5ce38
        lock = {off = 0, ndx = 0, gen = 146135888, mode = DB_LOCK_NG}
        mpf = (DB_MPOOLFILE *) 0x8b5d718
        h = (PAGE *) 0x0
        base = 26
---Type <return> to continue, or q <return> to quit---
        i = <value optimized out>
        indx = 25
        inp = (db_indx_t *) 0x8b5f46c
        lim = <value optimized out>
        lock_mode = DB_LOCK_READ
        pg = 6531
        recno = 0
        adjust = 1
        cmp = 10
        deloffset = <value optimized out>
        ret = 0
        stack = 0
        t_ret = <value optimized out>
        func = (int (*)(DB *, const DBT *, const DBT *)) 0xb7de1050 
<__bam_defcmp>
#3  0xb7de4e37 in __bamc_search (dbc=0x8b5e9b0, root_pgno=0, key=0xbf8143c0, 
flags=26, exactp=0xbf814248)
    at ../dist/../btree/bt_cursor.c:2486
        cp = (BTREE_CURSOR *) 0x8b5eae8
        dbp = (DB *) 0x8b5d3c0
        h = (PAGE *) 0xbf814218
        indx = 47084
        inp = (db_indx_t *) 0x8b5ce38
        bt_lpgno = 262144
        recno = 0
        sflags = 1409
        cmp = 0
        ret = 0
        t_ret = <value optimized out>
#4  0xb7de600b in __bamc_get (dbc=0x8b5e9b0, key=0xbf8143c0, data=0xbf8143a4, 
flags=26, pgnop=0xbf8142c0)
    at ../dist/../btree/bt_cursor.c:961
        cp = (BTREE_CURSOR *) 0x8b5eae8
        dbp = (DB *) 0x8b5d3c0
        mpf = (DB_MPOOLFILE *) 0x8b5d718
        orig_pgno = 0
        orig_indx = 0
        exact = <value optimized out>
        ret = <value optimized out>
#5  0xb7e766d6 in __dbc_get (dbc_arg=0x8b5e9b0, key=0xbf8143c0, 
data=0xbf8143a4, flags=26)
    at ../dist/../db/db_cam.c:697
---Type <return> to continue, or q <return> to quit---
        dbp = (DB *) 0x8b5d3c0
        dbc = <value optimized out>
        dbc_n = (DBC *) 0x8b5e9b0
        opd = (DBC *) 0x0
        cp = (DBC_INTERNAL *) 0x8b5eae8
        cp_n = <value optimized out>
        dbenv = (DB_ENV *) 0x8b5ce38
        mpf = (DB_MPOOLFILE *) 0x8b5d718
        pgno = 0
        multi = 0
        orig_ulen = <value optimized out>
        tmp_flags = <value optimized out>
        tmp_rmw = 0
        type = <value optimized out>
        key_small = <value optimized out>
        ret = 1024
        t_ret = <value optimized out>
#6  0xb7e826b8 in __db_get (dbp=0x8b5d3c0, txn=0x0, key=0xbf8143c0, 
data=0xbf8143a4, flags=26)
    at ../dist/../db/db_iface.c:755
        dbc = (DBC *) 0x8b5e9b0
        mode = <value optimized out>
        ret = <value optimized out>
        t_ret = <value optimized out>
#7  0xb7e829b7 in __db_get_pp (dbp=0x8b5d3c0, txn=0x0, key=0xbf8143c0, 
data=0xbf8143a4, flags=0)
    at ../dist/../db/db_iface.c:681
        dbenv = (DB_ENV *) 0x8b5ce38
        ip = (DB_THREAD_INFO *) 0x0
        handle_check = 0
        ret = 0
        t_ret = <value optimized out>
        txn_local = 0
#8  0x0805a7e3 in ?? ()
No symbol table info available.
#9  0x08b5d3c0 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.

(gdb) info f
Stack level 0, frame at 0xbf813fd0:
 eip = 0xb7ec1cc2 in __memp_bh_priority (../dist/../mp/mp_mvcc.c:30); saved eip 
0xb7ebbc62
 called by frame at 0xbf8140b0
 source language c.
 Arglist at 0xbf813fc8, args: bhp=0x11b9d92b
 Locals at 0xbf813fc8, Previous frame's sp is 0xbf813fd0
 Saved registers:
  ebp at 0xbf813fc8, esi at 0xbf813fc4, eip at 0xbf813fcc

Bye, Jörg.
-- 
Wenn Du jedesmal stehen bleibst, wenn ein Hund bellt, wirst du Deine Reise
nie beenden.                                       (Arabisches Sprichwort)

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to