Re: [Dovecot] Dovecot 1.2.5 segfaults.

2009-09-23 Thread Tom Diehl

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  
rip  rsp 7fff83e31c88 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   tdi...@rogueind.com  Spamtrap address mtd...@rogueind.com


[Dovecot] Dovecot 1.2.5 segfaults.

2009-09-22 Thread Tom Diehl

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  rip 
 rsp 7fff83e31c88 error 14
Sep 22 17:31:06 vfoggy kernel: imap[18645]: segfault at  rip 
 rsp 7fffe70ee878 error 14
Sep 22 17:31:07 vfoggy kernel: imap[18682]: segfault at  rip 
 rsp 7fff3f95ac18 error 14
Sep 22 17:31:52 vfoggy kernel: deliver[18748]: segfault at  rip 
 rsp 7d6d3aa8 error 14
Sep 22 17:32:07 vfoggy kernel: deliver[18782]: segfault at  rip 
 rsp 7fff89c022e8 error 14
Sep 22 17:32:07 vfoggy kernel: deliver[18784]: segfault at  rip 
 rsp 7fff40a23718 error 14
Sep 22 17:32:07 vfoggy kernel: deliver[18786]: segfault at  rip 
 rsp 766eedb8 error 14
Sep 22 17:32:26 vfoggy kernel: deliver[18896]: segfault at  rip 
 rsp 7e99f0c8 error 14
Sep 22 17:33:07 vfoggy kernel: deliver[18994]: segfault at  rip 
 rsp 7fffb2b5ddc8 error 14
Sep 22 17:34:30 vfoggy kernel: deliver[19022]: segfault at  rip 
 rsp 7fffdfaac988 error 14
Sep 22 17:35:25 vfoggy kernel: deliver[19050]: segfault at  rip 
 rsp 7fff7865f198 error 14
Sep 22 17:35:26 vfoggy kernel: deliver[19052]: segfault at  rip 
 rsp 7fffb61b0f68 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19072]: segfault at  rip 
 rsp 7fffc7bd1118 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19073]: segfault at  rip 
 rsp 7fff9ceb4f48 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19074]: segfault at  rip 
 rsp 7fff7d762c78 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19075]: segfault at  rip 
 rsp 7fffefebafa8 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19076]: segfault at  rip 
 rsp 7fffe568c798 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19077]: segfault at  rip 
 rsp 7fffc2f2d2b8 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19078]: segfault at  rip 
 rsp 7fff6bb39a68 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19079]: segfault at  rip 
 rsp 7fff5c3ae628 error 14
Sep 22 17:36:42 vfoggy kernel: imap[19081]: segfault at  rip 
 rsp 7fffb75b4958 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: postmas...@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

Re: [Dovecot] Dovecot 1.2.5 segfaults.

2009-09-22 Thread Brandon Davidson

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  
rip  rsp 7fff83e31c88 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