[Dovecot] Dovecot 1.2.5 segfaults.
Hi,
I just updated to dovecot 1.2.5 on centos5.
1.2.4 did not show this problem. I am going to roll back for the time being but I am willing to do whatever I need to to fix this.
This is an x86_64 system. filesystem is ext3.
I am now seeing the following in the logs:
Sep 22 17:31:06 vfoggy kernel: imap[18644]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff83e31c88 error 14 Sep 22 17:31:06 vfoggy kernel: imap[18645]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffe70ee878 error 14 Sep 22 17:31:07 vfoggy kernel: imap[18682]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff3f95ac18 error 14 Sep 22 17:31:52 vfoggy kernel: deliver[18748]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007ffffd6d3aa8 error 14 Sep 22 17:32:07 vfoggy kernel: deliver[18782]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff89c022e8 error 14 Sep 22 17:32:07 vfoggy kernel: deliver[18784]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff40a23718 error 14 Sep 22 17:32:07 vfoggy kernel: deliver[18786]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007ffff66eedb8 error 14 Sep 22 17:32:26 vfoggy kernel: deliver[18896]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007ffffe99f0c8 error 14 Sep 22 17:33:07 vfoggy kernel: deliver[18994]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffb2b5ddc8 error 14 Sep 22 17:34:30 vfoggy kernel: deliver[19022]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffdfaac988 error 14 Sep 22 17:35:25 vfoggy kernel: deliver[19050]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff7865f198 error 14 Sep 22 17:35:26 vfoggy kernel: deliver[19052]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffb61b0f68 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19072]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffc7bd1118 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19073]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff9ceb4f48 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19074]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff7d762c78 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19075]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffefebafa8 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19076]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffe568c798 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19077]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffc2f2d2b8 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19078]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff6bb39a68 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19079]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff5c3ae628 error 14 Sep 22 17:36:42 vfoggy kernel: imap[19081]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffb75b4958 error 14
As per http://dovecot.org/bugreport.html Dovecot -n follows:
(vfoggy pts1) # dovecot -n # 1.2.5: /etc/dovecot.conf # OS: Linux 2.6.18-128.7.1.el5xen x86_64 CentOS release 5.3 (Final) protocols: imap imaps pop3 pop3sa managesieve listen: * login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_executable(managesieve): /usr/libexec/dovecot/managesieve-login first_valid_uid: 512 last_valid_uid: 512 first_valid_gid: 512 last_valid_gid: 512 mail_location: maildir:~/ fsync_disable(default): yes fsync_disable(imap): yes fsync_disable(pop3): yes fsync_disable(managesieve): no mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_executable(managesieve): /usr/libexec/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): imap_client_workarounds(managesieve): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): lda: postmaster_address: postmaster@tntechs.com mail_plugins: sieve quota fsync_disable: no auth default: mechanisms: plain login user: nobody worker_max_count: 50 passdb: driver: sql args: /etc/dovecot/sql.conf userdb: driver: static args: uid=512 gid=512 home=/var/spool/vmail/domains/%d/%n userdb: driver: sql args: /etc/dovecot/sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: vmail master: path: /var/run/dovecot/auth-master mode: 432 user: vmail group: vmail plugin: quota: dict:user::proxy::quotadict sieve: ~/.dovecot.sieve sieve_storage: ~/sieve acl: vfile:/etc/dovecot/acls trash: /etc/dovecot/trash.conf dict: quotadict: mysql:/etc/dovecot/dovecot-dict-quota.conf (vfoggy pts1) #
Please advise how to proceed.
Regards,
-- Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com
Tom,
Tom Diehl wrote:
I just updated to dovecot 1.2.5 on centos5.
1.2.4 did not show this problem. I am going to roll back for the time being but I am willing to do whatever I need to to fix this.
This is an x86_64 system. filesystem is ext3.
I am now seeing the following in the logs:
Sep 22 17:31:06 vfoggy kernel: imap[18644]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff83e31c88 error 14
I think I just posted a patch for your issue. It's possible there is another null function call in 1.2.5, but I'd bet against it.
I can provide updated RPMs for testing if you are interested.
-Brandon
Hi Brandon,
On Tue, 22 Sep 2009, Brandon Davidson wrote:
Tom,
Tom Diehl wrote:
I just updated to dovecot 1.2.5 on centos5.
1.2.4 did not show this problem. I am going to roll back for the time being but I am willing to do whatever I need to to fix this.
This is an x86_64 system. filesystem is ext3.
I am now seeing the following in the logs:
Sep 22 17:31:06 vfoggy kernel: imap[18644]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fff83e31c88 error 14
I think I just posted a patch for your issue. It's possible there is another null function call in 1.2.5, but I'd bet against it.
I can provide updated RPMs for testing if you are interested.
I just built a new rpm and installed it on one of my machines. So far so good.
It will be interesting to see if Timo agrees with this fix or if he wants to fix it in a different way.
Thanks for the patch.
Regards,
-- Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com
participants (2)
-
Brandon Davidson
-
Tom Diehl