[Dovecot] v1.1.alpha5 crashes with segmentation fault

arvids arvids at mpe.lv
Sat Sep 15 19:41:56 EEST 2007


Hello,

dovecot process crashes on startup with segmentation fault.
Here is backtrace:

(gdb) r
Starting program: /usr/local/dovecot/sbin/dovecot

Program received signal SIGSEGV, Segmentation fault.
settings_is_active (set=0x0) at master-settings.c:505
505             if (*set->protocols == '\0') {
(gdb) bt full
#0  settings_is_active (set=0x0) at master-settings.c:505
No locals.
#1  0x080535d5 in master_settings_read (path=<value optimized out>, nochecks=false, nofixes=false) at master-settings.c:1397
        ctx = {type = SETTINGS_TYPE_ROOT, parent_type = SETTINGS_TYPE_ROOT, protocol = MAIL_PROTOCOL_ANY, root = 0x80721d0, server = 0x80721d0,
  auth = 0x80727c8, socket = 0x807293c, auth_socket = 0x8072930, auth_passdb = 0x8072878, auth_userdb = 0x80728e0, namespace = 0x0, level = 0}
        server = <value optimized out>
        prev = (struct server_settings *) 0x80721d0
        auth = <value optimized out>
        ns = <value optimized out>
        temp = <value optimized out>
#2  0x08051407 in main (argc=1, argv=0xbfdf9524) at main.c:445
        exec_protocol = 0x0
        exec_section = 0x0
        foreground = false
        ask_key_pass = false
        log_error = false
        dump_config = false
        dump_config_nondefaults = false
        i = -1208668172
(gdb)

dovecot -n also crashes, but here is dovecot -n output taken with previous version:
# 1.1.alpha4: /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
verbose_proctitle: yes
first_valid_uid: 95
first_valid_gid: 95
mail_uid: 95
mail_gid: 95
mail_location: maildir:~/Maildir
mail_debug: 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: 2048
  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