Subject: dovecot-common: segfaults on start if dovecot-pop3d not installed
Package: dovecot-common
Version: 1:1.1.12-1~unstrip
Severity: important

Hi,

After upgrading to 1:1.1.12-1, dovecot segfaults on startup if
dovecot-pop3d is not installed.

I rebuild un unstripped version of the package and got the following
backtrace:

r...@restaurant:/etc/dovecot# gdb dovecot
GNU gdb (GDB) 6.8.50.20090106-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) r
Starting program: /usr/sbin/dovecot

Program received signal SIGSEGV, Segmentation fault.
0x000000000040ca42 in settings_fix (set=0x6369e0, nochecks=<value
optimized out>, nofixes=false)
    at master-settings.c:926
926             p = strstr(set->server->pop3->login_executable, " -D");
(gdb) bt
#0  0x000000000040ca42 in settings_fix (set=0x6369e0, nochecks=<value
optimized out>, nofixes=false)
    at master-settings.c:926
#1  0x000000000040d577 in master_settings_read (path=<value optimized
out>, nochecks=false,
    nofixes=<value optimized out>) at master-settings.c:1630
#2  0x000000000040aeda in main (argc=<value optimized out>,
argv=0x7fffffffe858) at main.c:548

Here's my output of dovecot -n. It looks right to me..

# 1.1.12: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-1-amd64 x86_64 Debian squeeze/sid ext3
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps managesieve
listen(default): *
listen(imap): *
listen(managesieve): *:2000
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: vmail
mail_location: maildir:/var/vmail/%d/%n
mail_debug(default): no
mail_debug(imap): no
mail_debug(managesieve): yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
sieve_storage(default):
sieve_storage(imap):
sieve_storage(managesieve): /var/vmail/%d/%n/sieve_store
sieve(default):
sieve(imap):
sieve(managesieve): /var/vmail/%d/%n/sieve
auth default:
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (400, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dovecot-common depends on:
ii  adduser              3.110               add and remove users and groups
ii  libbz2-1.0           1.0.5-1             high-quality block-sorting
file co
ii  libc6                2.9-4               GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description
library
ii  libdb4.7             4.7.25-6            Berkeley v4.7 Database
Libraries [
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-11 MIT Kerberos runtime
libraries - k
ii  libk5crypto3         1.6.dfsg.4~beta1-11 MIT Kerberos runtime
libraries - C
ii  libkrb5-3            1.6.dfsg.4~beta1-11 MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libmysqlclient15off  5.0.51a-24          MySQL database client library
ii  libpam-runtime       1.0.1-7             Runtime support for the PAM
librar
ii  libpam0g             1.0.1-7             Pluggable Authentication
Modules l
ii  libpq5               8.3.6-1             PostgreSQL C client library
ii  libsqlite3-0         3.5.9-6             SQLite 3 shared library
ii  libssl0.9.8          0.9.8g-15           SSL shared libraries
ii  openssl              0.9.8g-15           Secure Socket Layer (SSL)
binary a
ii  ucf                  3.0016              Update Configuration File:
preserv
ii  zlib1g               1:1.2.3.3.dfsg-12   compression library -
runtime

dovecot-common recommends no packages.

Versions of packages dovecot-common suggests:
ii  ntpdate                 1:4.2.4p6+dfsg-1 client for setting system
time fro

-- no debconf information
-- 
Obey Arthur Liu
<http://www.milliways.fr>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to