hi,
I've installed a testversion from 2.0.12 and getting coredumps after login via IMAP/POP3. I don't know, if it is a simple config error or something else.
====== dovecot: [ID 583609 local7.error] master: Error: service(imap): child 29333 killed with signal 11 (core dumped)
[ID 583609 local7.error] master: Error: service(imap): child 29335 killed with signal 11 (core dumped)
my configure:
CPPFLAGS="-D_POSIX_PTHREAD_SEMANTICS" LDFLAGS="-L/opt/csw/lib -L/usr/lib -R/opt/csw/lib/" ./configure --prefix=/usr/local/dovecot/2.0.12-testinstanz --with-ssl=openssl --with-rundir=/var/run/dovecot-testinstanz --with-storages=maildir,mbox,sdbox,mdbox --with-ldap=yes --sysconfdir=/usr/local/dovecot/etc-testinstanz
2.0.9 works.
The gdb coredump shows:
gdb ../../dovecot2-testinstanz/libexec/dovecot/imap /var/run/dovecot-testinstanz/core
GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.8"... Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/libdovecot-storage.so.0...done. Loaded symbols for /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/libdovecot.so.0...done. Loaded symbols for /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/libdovecot.so.0 Reading symbols from /opt/csw/lib/libiconv.so.2...done. Loaded symbols for /opt/csw/lib//libiconv.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libsocket.so.1...done. Loaded symbols for /lib/libsocket.so.1 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libsendfile.so.1...done. Loaded symbols for /lib/libsendfile.so.1 Reading symbols from /lib/libc.so.1...done. Loaded symbols for /lib/libc.so.1 Reading symbols from /usr/sfw/lib/libgcc_s.so.1...done. Loaded symbols for /usr/sfw/lib/libgcc_s.so.1 Reading symbols from /lib/libaio.so.1...done. Loaded symbols for /lib/libaio.so.1 Reading symbols from /lib/libmd.so.1...done. Loaded symbols for /lib/libmd.so.1 Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib01_acl_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib01_acl_plugin.so Reading symbols from /lib/libscf.so.1...done. Loaded symbols for /lib/libscf.so.1 Reading symbols from /lib/libdoor.so.1...done. Loaded symbols for /lib/libdoor.so.1 Reading symbols from /lib/libuutil.so.1...done. Loaded symbols for /lib/libuutil.so.1 Reading symbols from /lib/libgen.so.1...done. Loaded symbols for /lib/libgen.so.1 Reading symbols from /lib/libmp.so.2...done. Loaded symbols for /lib/libmp.so.2 Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib02_imap_acl_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib02_imap_acl_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib10_quota_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib10_quota_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib11_imap_quota_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib11_imap_quota_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib11_trash_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib11_trash_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib15_notify_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib15_notify_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib20_autocreate_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib20_autocreate_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib20_fts_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib20_fts_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib20_listescape_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib20_listescape_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib20_mail_log_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib20_mail_log_plugin.so Reading symbols from /usr/local/dovecot/2.0.12-testinstanz/lib/dovecot/lib20_zlib_plugin.so...done. Loaded symbols for /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot//lib20_zlib_plugin.so Reading symbols from /opt/csw/lib/libz.so.1...done. Loaded symbols for /opt/csw/lib//libz.so.1 Reading symbols from /opt/csw/lib/libbz2.so.1.0...done. Loaded symbols for /opt/csw/lib//libbz2.so.1.0 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 Core was generated by `dovecot/imap'. Program terminated with signal 11, Segmentation fault. #0 0xfeb559f8 in strcmp () from /lib/libc.so.1
The same from pop3 after entering username/password
======= config =========
/usr/local/dovecot/dovecot2-testinstanz/sbin/dovecot -n
# 2.0.12: /usr/local/dovecot/etc-testinstanz/dovecot/dovecot.conf # OS: SunOS 5.10 i86pc zfs auth_debug = yes auth_username_format = %Lu auth_verbose = yes debug_log_path = /var/log/dovecot-testinstanz-debug.log disable_plaintext_auth = no hostname = xfire05.rbg.informatik.tu-darmstadt.de info_log_path = /var/log/dovecot-testinstanz.log lda_mailbox_autocreate = yes login_greeting = I'm alive for testing mail_debug = yes mail_gid = vmail mail_home = /imap/spool/%d/%1n/%n mail_location = maildir:/imap/spool/%d/%1n/%n:INDEX=/imap/spool/% d/indexes/%1n/%n mail_plugin_dir = /usr/local/dovecot/dovecot2-testinstanz/lib/dovecot/ mail_plugins = acl quota fts mail_privileged_group = vmail mail_temp_dir = /imap/spool/tmp mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date imapflags namespace { hidden = no inbox = yes location = prefix = separator = / subscriptions = yes type = private } namespace { inbox = no location = maildir:/imap/spool/public prefix = public/ separator = / subscriptions = no type = public } passdb { args = /usr/local/dovecot/etc-testinstanz/dovecot/conf.d/dovecot-ldap.conf.ext driver = ldap } passdb { args = scheme=plain-md5 username_format=% Lu /usr/local/dovecot/etc-testinstanz/dovecot/other-domain-users driver = passwd-file } plugin { acl = vfile:/imap/spool/%d/acl autocreate = Sent autocreate2 = Drafts autocreate3 = Trash autocreate4 = Spam autosubscribe = Sent autosubscribe2 = Drafts autosubscribe3 = Trash autosubscribe4 = Spam fts = squat fts_squat = partial=4 full=10 quota = maildir:User quota quota_rule2 = Trash:storage=+10%% quota_rule3 = Spam:storage=+20%% quota_warning = storage=80% % /usr/local/dovecot/dovecot2/bin/quota-warning.sh 80 quota_warning2 = storage=90% % /usr/local/dovecot/dovecot2/bin/quota-warning.sh 90 quota_warning3 = storage=95% % /usr/local/dovecot/dovecot2/bin/quota-warning.sh 95 sieve = /imap/spool/%d/%1n/%n/sieve/default.sieve sieve_dir = /imap/spool/%d/%1n/%n/sieve sieve_extensions = +imapflags trash = /usr/local/dovecot/etc-testinstanz/dovecot/conf.d/dovecot-trash.conf } postmaster_address = postmaster@domain.foo protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/auth-testinstanz { group = postdrop mode = 0600 user = postfix } } service imap-login { inet_listener imap { port = 1433 } inet_listener imaps { port = 9933 ssl = yes } process_min_avail = 8 vsz_limit = 1 G } service lmtp { unix_listener /var/spool/postfix/private/dovecot-testinstanz-lmtp { group = postdrop mode = 0666 user = postfix } } service managesieve-login { inet_listener sieve { port = 41900 } inet_listener sieve_deprecated { port = 20011 } } service pop3-login { inet_listener pop3 { port = 1100 } inet_listener pop3s { port = 9955 ssl = yes } } ssl_cert = </usr/local/dovecot/etc-testinstanz/dovecot/ssl/imapd.pem ssl_key = </usr/local/dovecot/etc-testinstanz/dovecot/ssl/imapd.pem syslog_facility = local7 userdb { args = /usr/local/dovecot/etc-testinstanz/dovecot/conf.d/dovecot-ldap.conf.ext driver = ldap } userdb { args = username_format=% Lu /usr/local/dovecot/etc-testinstanz/dovecot/other-domain-users driver = passwd-file } verbose_proctitle = yes protocol lda { mail_plugins = acl quota fts sieve quota fts fts_squat } protocol imap { imap_idle_notify_interval = 2 mins mail_max_userip_connections = 10 mail_plugins = acl quota fts fts_squat imap_acl imap_quota mail_log notify autocreate trash listescape fts fts_squat zlib } protocol lmtp { mail_plugins = acl quota fts fts_squat sieve } protocol pop3 { mail_plugins = acl quota fts quota fts fts_squat pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_reuse_xuidl = yes }
I'm changed several paths to make my "update way" easier with testing the new release before change the production version. Maybe, there are some typos ...
cu denny