[exim] Segfaults with tidydb

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Thomas Reifferscheid
Date:  
À: exim-users
Sujet: [exim] Segfaults with tidydb
Hello list,

I'm on Debian jessie with exim 4.84.2 and anything db related is
segfaulting. Example:

root@reifferscheid:/var/spool/exim4# exim_dumpdb /var/spool/exim4/
wait-remote_smtp
BDB3004 individual cache size too large: maximum is 10TB
BDB1565 DB->compact: method not permitted before handle's open method
Segmentation fault

root@reifferscheid:/var/spool/exim4# exim_tidydb /var/spool/exim4
wait-remote_smtp
Tidying Exim hints database /var/spool/exim4/db/wait-remote_smtp
BDB3004 individual cache size too large: maximum is 10TB
BDB1565 DB->compact: method not permitted before handle's open method
Segmentation fault


After deleting the files and restarting exim tidydb and dumpdb keep
segfaulting.
However regular exim operation seems to be ok with no segaults.

What could it be?

Thanks
Thomas


Details:

This is an upgrade from an older installation.

root@reifferscheid:/var/spool/exim4# ls -al db/
total 28
drwxr-x--- 2 Debian-exim Debian-exim  4096 Jun 15 08:40 .
drwxr-x--- 7 Debian-exim Debian-exim  4096 Jun 15 08:40 ..
-rw-r----- 1 Debian-exim Debian-exim 12288 Jun 14 23:14 retry
-rw-r----- 1 Debian-exim Debian-exim     0 Jun 14 07:30 retry.lockfile
-rw-r----- 1 Debian-exim Debian-exim 12288 Jun 14 07:30 wait-remote_smtp
-rw-r----- 1 Debian-exim Debian-exim     0 Jun 14 07:30 
wait-remote_smtp.lockfile
root@reifferscheid:/var/spool/exim4# file db/*
db/retry:                     Berkeley DB (Hash, version 9, native 
byte-order)
db/retry.lockfile:            empty
db/wait-remote_smtp:          Berkeley DB (Hash, version 9, native 
byte-order)
db/wait-remote_smtp.lockfile: empty
root@reifferscheid:/var/spool/exim4# ldd /usr/sbin/exim_tidydb
         linux-vdso.so.1 (0x00007ffd275f5000)
         libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 
(0x00007fcf81f31000)
         libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 
(0x00007fcf81cfa000)
         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcf819f8000)
         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcf817f4000)
         libdb-5.3.so => /usr/lib/x86_64-linux-gnu/libdb-5.3.so 
(0x00007fcf81433000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcf81087000)
         /lib64/ld-linux-x86-64.so.2 (0x0000564624fe1000)
         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fcf80e6a000)