[Dovecot] assertion failed
Does anyone know what might cause this?
# dovecot --version 1.1.7
Feb 17 18:21:51 imap-proxy-temp dovecot: Panic: auth(default): file passdb-cache.c: line 121 (passdb_cache_lookup_credentials): assertion failed: (*scheme_r != NULL || *password_r == NULL) Feb 17 18:21:51 imap-proxy-temp dovecot: auth(default): Raw backtrace: dovecot-auth [0x42c0ea] -> dovecot-auth [0x42c143] -> dovecot-auth [0x42b7f6] -> dovecot-auth [0x41acb6] -> dovecot-auth(auth_request_lookup_credentials+0x6f) [0x411cdf] -> dovecot-auth [0x416caf] -> dovecot-auth(auth_request_handler_auth_continue+0xc9) [0x4128e9] -> dovecot-auth [0x40e40a] -> dovecot-auth(io_loop_handler_run+0xf8) [0x42fb48] -> dovecot-auth(io_loop_run+0x1d) [0x42ea4d] -> dovecot-auth(main+0x2f7) [0x416367] -> /lib/libc.so.6(__libc_start_main+0xda) [0x7f83990e54ca] -> dovecot-auth [0x40cdba] Feb 17 18:21:51 imap-proxy-temp dovecot: child 20579 (auth) killed with signal 6
On Tue, 2009-02-17 at 18:28 +0000, Ian P. Christian wrote:
Does anyone know what might cause this?
# dovecot --version 1.1.7
Feb 17 18:21:51 imap-proxy-temp dovecot: Panic: auth(default): file passdb-cache.c: line 121 (passdb_cache_lookup_credentials): assertion failed: (*scheme_r != NULL || *password_r == NULL)
dovecot -n output? Anyway, I remember fixing something related to this recently, so simply upgrading will probably fix it.
2009/2/17 Timo Sirainen tss@iki.fi:
dovecot -n output? Anyway, I remember fixing something related to this recently, so simply upgrading will probably fix it.
Thanks for the quick reply. Unfortunately an upgrade to 1.1.11 hasn't sorted it.
Feb 17 19:25:34 proxy dovecot: Panic: auth(default): file passdb-cache.c: line 121 (passdb_cache_lookup_credentials): assertion failed: (*scheme_r != NULL || *password_r == NULL) Feb 17 19:25:34 proxy dovecot: auth(default): Raw backtrace: dovecot-auth [0x42f0d2] -> dovecot-auth [0x42f153] -> dovecot-auth [0x42e866] -> dovecot-auth [0x41cc33] -> dovecot-auth(auth_request_lookup_credentials+0x6f) [0x41394f] -> dovecot-auth [0x418946] -> dovecot-auth(auth_request_handler_auth_continue+0xd2) [0x4142c2] -> dovecot-auth [0x40fbfb] -> dovecot-auth(io_loop_handler_run+0xcb) [0x43295b] -> dovecot-auth(io_loop_run+0x18) [0x431dc8] -> dovecot-auth(main+0x238) [0x417ef8] -> /lib/libc.so.6(__libc_start_main+0xe6) [0x7f46563691a6] -> dovecot-auth [0x40e439] Feb 17 19:25:34 proxy dovecot: child 17318 (auth) killed with signal 6
# 1.1.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-1-xen-amd64 x86_64 Debian 5.0 syslog_facility: local5 protocols: managesieve imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login login_process_per_connection: no login_greeting_capability(default): yes login_greeting_capability(imap): yes login_greeting_capability(pop3): no login_greeting_capability(managesieve): no mail_max_userip_connections(default): 35 mail_max_userip_connections(imap): 35 mail_max_userip_connections(pop3): 10 mail_max_userip_connections(managesieve): 10 mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve auth default: mechanisms: plain cram-md5 digest-md5 login ntlm cache_size: 4096 cache_ttl: 7200 user: nobody passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: static args: static uid=mail gid=mail home=/dev/null
On Tue, 2009-02-17 at 19:32 +0000, Ian P. Christian wrote:
2009/2/17 Timo Sirainen tss@iki.fi:
dovecot -n output? Anyway, I remember fixing something related to this recently, so simply upgrading will probably fix it.
Thanks for the quick reply. Unfortunately an upgrade to 1.1.11 hasn't sorted it.
Could you do one more thing: Set auth_debug=yes and paste the logs what happens before the crash. Also show what you have in password_query in dovecot-sql.conf. Are you using mysql?
2009/2/17 Timo Sirainen tss@iki.fi:
Could you do one more thing: Set auth_debug=yes and paste the logs what happens before the crash. Also show what you have in password_query in dovecot-sql.conf. Are you using mysql?
These were sent offlist. One thing I really should have mentioned is that these errors only happen about 200-250 times a day, on a very busy server.
participants (2)
-
Ian P. Christian
-
Timo Sirainen