I finally got around to recompiling imap and switching from skiplist to db3 for
tls_sessions.
So far I didnt have any dumps, but its to early to say yet.
However I had one core dump on start of cyrus. I think the cause was that the
tsl_sessions.db I converted from skiplist to db3, was owned by root instead of
cyrus. and cyrus couldnt even read it. Here is the dump trace:
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsasl2.so.2...done.
Reading symbols from /usr/local/lib/libdb3.so.2...done.
Reading symbols from /usr/lib/libssl.so.2...done.
Reading symbols from /usr/lib/libcrypto.so.2...done.
Reading symbols from /usr/lib/libmd.so.2...done.
Reading symbols from /usr/lib/libcom_err.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280e9ff2 in __txn_undo () from /usr/local/lib/libdb3.so.2
(gdb) bt
#0  0x280e9ff2 in __txn_undo () from /usr/local/lib/libdb3.so.2
#1  0x280e998e in txn_abort () from /usr/local/lib/libdb3.so.2
#2  0x280abb82 in __db_file_setup () from /usr/local/lib/libdb3.so.2
#3  0x280aaa6d in __db_dbopen () from /usr/local/lib/libdb3.so.2
#4  0x280aa920 in __db_open () from /usr/local/lib/libdb3.so.2
#5  0x804cecd in myopen (fname=0xbfbff824 "/var/imap/tls_sessions.db",
ret=0x8056aac) at cyrusdb_db3.c:345
#6  0x804b51d in tls_prune_sessions () at tls.c:1020
#7  0x804a44b in main (argc=1, argv=0xbfbffca8) at tls_prune.c:89

after changing ownership cyrus started fine.

Reply via email to