Sebastian Kayser
2009-Feb-10 00:14 UTC
[Dovecot] Dovecot 1.1.11 segfaults on auth configuration error
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
Timo Sirainen
2009-Feb-10 00:44 UTC
[Dovecot] Dovecot 1.1.11 segfaults on auth configuration error
On Tue, 2009-02-10 at 01:14 +0100, Sebastian Kayser wrote:> =>[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"This should fix it? http://hg.dovecot.org/dovecot-1.1/rev/bdc5391e52df -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090209/d8698fe1/attachment-0002.bin>
Sebastian Kayser
2009-Feb-10 01:15 UTC
[Dovecot] Dovecot 1.1.11 segfaults on auth configuration error
Timo Sirainen wrote:> On Tue, 2009-02-10 at 01:14 +0100, Sebastian Kayser wrote: >> =>[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" > > This should fix it? http://hg.dovecot.org/dovecot-1.1/rev/bdc5391e52dfWow, that was quick ... It does, indeed. Thanks, Timo. Sebastian
Apparently Analagous Threads
- 1.1.2 segfaults when using passdb passwd and md5 mechanism
- 1.1.beta8 crashes with segfault when SIGHUP
- (message_parse_header_next): assertion failed:, +(IS_LWSP(line->value[0])) 1.1beta14
- Samba 4.1.6 + RPC Problem + DNS + RSAT
- Abnormal Pagination Using SQL Server