Hi,

I'm seeing the following message in my kern.log every morning when cyr_expire is run:

cyr_expire[14157] trap divide error ip:4432d5 sp:7fff96f38c90 error:0 in cyr_expire[400000+136000]

When I run gdb with the core file I see:

Core was generated by `/usr/cyrus-2.4.6/bin/cyr_expire -C /etc/cyrus-ugent/conf/mail21/imapd.conf -D 3'.
Program terminated with signal 8, Arithmetic exception.
#0 0x00000000004432d5 in hash_lookup (key=0x7f330b5050a9 <Address 0x7f330b5050a9 out of bounds>, table=0x7fff96f38fd0) at hash.c:163
163     hash.c: No such file or directory.
        in hash.c
(gdb) backtrace
#0 0x00000000004432d5 in hash_lookup (key=0x7f330b5050a9 <Address 0x7f330b5050a9 out of bounds>, table=0x7fff96f38fd0) at hash.c:163 #1 0x0000000000420a56 in prune_p (rock=0x7fff96f38d70, id=0x7f330b505098 <Address 0x7f330b505098 out of bounds>, idlen=<value optimized out>, data=0x7f330b5050c4 <Address 0x7f330b5050c4 out of bounds>,
    datalen=<value optimized out>) at duplicate.c:281
#2 0x000000000043ccda in myforeach (db=0x16b2b90, prefix=<value optimized out>, prefixlen=0, goodp=<value optimized out>, cb=<value optimized out>, rock=<value optimized out>, tidptr=0x0)
    at cyrusdb_skiplist.c:1101
#3 0x00000000004209c2 in duplicate_prune (days=8, expire_table=0x7fff96f38fd0) at duplicate.c:321 #4 0x0000000000407662 in main (argc=<value optimized out>, argv=0x0) at cyr_expire.c:496


I provide the full core dump uppon request.

Thanks!

Rudy

Reply via email to