[Dovecot] Dovecot 1.1.11 segfaults on auth configuration error

Sebastian Kayser sebastian at skayser.de
Tue Feb 10 02:14:58 EET 2009


Hi,

i have compiled & packaged Dovecot 1.1.11 on Solaris 8 x86 with Sun
Studio 11 and installed the result on Solaris 10 x86 zone.

When i now configure auth mechanisms other than "login" or "plain" while
only providing pam as the passdb, Dovecot segfaults on startup. I know
that my configuration is wrong here, but i guess this still qualifies
as a bug. Remedy would be appreciated.

# /opt/csw/sbin/dovecot -F
dovecot: Feb 06 22:56:24 Info: dovecot v1.1.11 starting up
dovecot: Feb 06 22:56:25 Error: child 26870 (auth) returned error 89 (Fatal failure)
Segmentation Fault (core dumped)

# /opt/SUNWspro/bin/dbx -f /opt/csw/sbin/dovecot core
(dbx) where
=>[1] hash_lookup(table = (nil), key = 0x68f6), line 159 in "hash.c"
  [2] child_process_lookup(pid = 26870), line 31 in "child-process.c"
  [3] log_it(log_io = 0x80b8598, line = 0x80b7d4a "DIGEST-MD5 mechanism can't be supported with given passdbs", continues = 0), line 129 in "log.c"
  [4] log_write_pending(log_io = 0x80b8598), line 52 in "log.c"
  [5] log_read(log_io = 0x80b8598), line 191 in "log.c"
  [6] log_deinit(), line 331 in "log.c"
  [7] auth_process_destroy(p = 0x80b86f8), line 357 in "auth-process.c"
  [8] auth_process_input(process = 0x80b86f8), line 244 in "auth-process.c"
  [9] io_loop_handler_run(ioloop = 0x80b3518), line 204 in "ioloop-poll.c"
  [10] io_loop_run(ioloop = 0x80b3518), line 336 in "ioloop.c"
  [11] main(argc = 2, argv = 0x80478dc), line 599 in "main.c"

# /opt/csw/sbin/dovecot -n
# 1.1.11: /etc/opt/csw/dovecot/dovecot.conf
# OS: SunOS 5.10 i86pc
log_path: /dev/stderr
login_dir: /var/opt/csw/run/dovecot/login
login_executable: /opt/csw/libexec/dovecot/imap-login
auth default:
  mechanisms: plain digest-md5
  debug: yes
  passdb:
    driver: pam
  userdb:
    driver: passwd

Please let me know in case there is any other information required
to nail down the culprit. Thanks.

Sebastian


More information about the dovecot mailing list