On 13/01/2011 18:48, Timo Sirainen wrote:
On 13.1.2011, at 20.45, interfaSys sàrl wrote:
Hello, I've just updated to 2.0.9 and I've got lots of these in the logs now.
From 2.0.8?
Yes
Jan 13 18:57:13 master: Error: service(imap): child 40100 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes })
Is there a configuration change or something else I should have done while updating?
No.
OK
I tried to get some information by loading the binary into gdb and got this:
(gdb) bt full #0 0x00000008007c71fc in kevent () from /lib/libc.so.7
It's difficult to guess what the problem could be without a usable gdb backtrace, and you need a core file for that. In FreeBSD the easiest way would probably be to enable kern.sugid_coredump sysctl. http://dovecot.org/bugreport.html has more info.
Here is the info from the core file:
Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/dovecot/lib01_acl_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib01_acl_plugin.so Reading symbols from /usr/lib/dovecot/lib02_imap_acl_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib02_imap_acl_plugin.so Reading symbols from /usr/lib/dovecot/lib10_quota_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib10_quota_plugin.so Reading symbols from /usr/lib/dovecot/lib11_imap_quota_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib11_imap_quota_plugin.so Reading symbols from /usr/lib/dovecot/lib11_trash_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib11_trash_plugin.so Reading symbols from /usr/lib/dovecot/lib20_autocreate_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib20_autocreate_plugin.so Reading symbols from /usr/lib/dovecot/lib20_fts_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib20_fts_plugin.so Reading symbols from /usr/lib/dovecot/lib20_zlib_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib20_zlib_plugin.so Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.5 Reading symbols from /usr/lib/libbz2.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbz2.so.4 Reading symbols from /usr/lib/dovecot/lib21_fts_squat_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib21_fts_squat_plugin.so Reading symbols from /usr/lib/dovecot/lib30_imap_zlib_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib30_imap_zlib_plugin.so Reading symbols from /usr/lib/dovecot/lib90_antispam_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/lib90_antispam_plugin.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800430880 in dlsym () from /libexec/ld-elf.so.1 (gdb) bt full #0 0x0000000800430880 in dlsym () from /libexec/ld-elf.so.1 No symbol table info available. #1 0x00000008004309bd in dlclose () from /libexec/ld-elf.so.1 No symbol table info available. #2 0x0000000800597fd9 in module_dir_unload () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. #4 0x0000000800a37840 in ?? () No symbol table info available. #5 0x00007fffffffe6e0 in ?? () No symbol table info available. #6 0x00007fffffffecca in ?? () No symbol table info available. #7 0x0000000000424b40 in imap_ext_commands.12434 () No symbol table info available. #8 0x000000080049a281 in mail_storage_service_deinit () from /usr/lib/dovecot/libdovecot-storage.so.0 No symbol table info available. #9 0x0000000000000000 in ?? () No symbol table info available. #10 0x00000000004214eb in main () No symbol table info available.