[Dovecot] 1.1.beta8 crashes with segfault when SIGHUP

arvids arvids at mpe.lv
Tue Nov 27 23:40:03 EET 2007


Hello,

this problem still persists in beta9.
I took backtrace for it(with beta9):

Program received signal SIGSEGV, Segmentation fault.
log_unref (log_io=0x0) at log.c:268
268             i_assert(log_io->refcount > 0);
(gdb) bt
#0  log_unref (log_io=0x0) at log.c:268
#1  0x0804c193 in dict_process_destroyed (process=0x80769d0, pid=14881, 
abnormal_exit=false) at dict-process.c:168
#2  0x0804bd2d in sigchld_handler (signo=17, context=0x0) at 
child-process.c:160
#3  0x08059fe7 in signal_read (context=0x0) at lib-signals.c:91
#4  0x08059a21 in io_loop_handler_run (ioloop=0x8075960) at ioloop-epoll.c:201
#5  0x08058dc9 in io_loop_run (ioloop=0x8075960) at ioloop.c:305
#6  0x080516c0 in main (argc=1, argv=0xbff5a624) at main.c:497

Regards, Arvids


On Tuesday 20 November 2007 20:23:08 arvids wrote:
> Hello,
>
> dovecot crashes when it receives -HUP signal. It happens always if there
> was some activity - for example, if I start dovecot, check any account
> through POP3 and then send -HUP to dovecot process, it crashes with the
> following log entry:
> 	segfault at 00000008 eip 0804d3fb esp bfdd3860 error 4
> If there were no activity at all since starting, it does not crash.
>
> my dovecot -n output:
> # 1.1.beta8: /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_process_size: 64
> 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: 4096
>   cache_ttl: 28800
>   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


More information about the dovecot mailing list