[Dovecot] 1.1.beta9 deliver crashes with segfault
Hello,
after upgrade from beta8 to beta9 deliver process crashes with segfault. Deleting old maildirs does not help.
Here is backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0808e36d in mail_cache_field_get_decision (cache=0x8114da0, field_idx=128) at mail-cache-lookup.c:301 301 i_assert(field_idx < cache->fields_count); (gdb) bt #0 0x0808e36d in mail_cache_field_get_decision (cache=0x8114da0, field_idx=128) at mail-cache-lookup.c:301 #1 0x0808f351 in mail_cache_field_can_add (ctx=0x810ca58, seq=1, field_idx=4) at mail-cache-transaction.c:997 #2 0x0808351f in index_mail_want_cache (mail=0x810ce00, field=<value optimized out>) at index-mail.c:597 #3 0x08084046 in index_mail_cache_sizes (mail=0x810ce00) at index-mail.c:618 #4 0x080845a7 in index_mail_close (_mail=0x810ce00) at index-mail.c:971 #5 0x0808510e in index_mail_free (_mail=0x810ce00) at index-mail.c:1166 #6 0x080a8e20 in mail_free (mail=0x810cdcc) at mail.c:18 #7 0xb7e3dd3c in quota_mailbox_transaction_commit (ctx=0x810c6f8, uid_validity_r=0xbfedf444, first_saved_uid_r=0xbfedf444, last_saved_uid_r=0xbfedf444) at quota-storage.c:100 #8 0x080aa525 in mailbox_transaction_commit (t=0xbfedf484) at mail-storage.c:661 #9 0x08059304 in deliver_save (namespaces=0x80f1210, storage_r=0xbfedf558, mailbox=0x80d6918 "INBOX", mail=0x80f8260, flags=0, keywords=0x0) at deliver.c:146 #10 0x0805a6cd in main (argc=1301916, argv=0xbfedf614) at deliver.c:898
my dovecot -n output: # 1.1.beta9: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ syslog_facility: local0 protocols: pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/local/dovecot/libexec/dovecot/pop3-login login_greeting: Server. login_process_per_connection: no login_processes_count: 5 login_max_processes_count: 32 verbose_proctitle: yes first_valid_uid: 95 first_valid_gid: 95 mail_uid: 95 mail_gid: 95 mail_location: maildir:~/Maildir mail_debug: yes dotlock_use_excl: yes fsync_disable: yes mail_executable: /usr/local/dovecot/libexec/dovecot/pop3 mail_plugins: quota mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3 pop3_enable_last: yes pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 cram-md5 apop cache_size: 1024 cache_ttl: 600 cache_negative_ttl: 60 user: doveauth verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict dict: quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf
Regards, Arvids
On Tue, 2007-11-27 at 23:07 +0200, arvids wrote:
after upgrade from beta8 to beta9 deliver process crashes with segfault. .. #7 0xb7e3dd3c in quota_mailbox_transaction_commit (ctx=0x810c6f8, uid_validity_r=0xbfedf444, first_saved_uid_r=0xbfedf444, last_saved_uid_r=0xbfedf444) at quota-storage.c:100
Oh, quota.
Changed segfault to assert-crash: http://hg.dovecot.org/dovecot/rev/901467b1506e
And fixed the actual crash: http://hg.dovecot.org/dovecot/rev/019ccd4e9888
participants (2)
-
arvids
-
Timo Sirainen