Thomas Zajic
2007-Aug-01 19:37 UTC
[Dovecot] dovecot: child 1690 (auth-worker) killed with signal 11
Hi there, I've been seeing this for quite a while now, but only today finally got off my lazy you-know-what and did a backtrace. Here's the requested info as per http://dovecot.org/bugreport.html: * Dovecot version [root at airframe]:~# dovecot --version 1.0.3 * Operating system or Linux distribution name Slackware 10.2, both kernel 2.6.21.3 and dovecot self-compiled * CPU architecture (x86 or something else?) x86 (AMD Athlon XP 3200+) * Filesystem you used (especially if you use NFS or not) ext3, local (no NFS) * Some kind of description of what you were doing and with what IMAP client. Thunderbird 2.0.0.4 (also happened with earlier versions) mail-notification-4.1 (" " " " " ) * If the problem can be reproduced, it helps a lot if you can tell how. Happens in almost regular intervals, not sure when exactly though. Usually when doing something in TB again (deleting or moving mails) after it has been sitting idling for a while. From the log files going back to July 22nd: [root at airframe]:~# grep "dovecot: child .* (auth-worker) killed with signal 11" /var/log/maillog* | wc -l 258 TB is configured to use TLS and secure authentication, use IDLE, and 5 cached server connections. Mail Notification is configured to use TLS, and to autodetect both the authentication mechanism and IDLE availability. * Dovecot configuration with dovecot -n [root at airframe]:~# dovecot -n # 1.0.3: /usr/local/etc/dovecot.conf login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_greeting_capability: yes verbose_proctitle: yes mail_location: maildir:/home/%u/Maildir:INBOX=/home/%u/Maildir/.INBOX mail_debug: yes fsync_disable: yes maildir_copy_with_hardlinks: yes mail_drop_priv_before_exec: yes auth default: mechanisms: plain digest-md5 cram-md5 debug: yes passdb: driver: shadow args: blocking=yes passdb: driver: passwd-file args: /usr/local/etc/dovecot-passwd userdb: driver: passwd args: blocking=yes * Backtrace [root at airframe]:~# gdb /usr/local/libexec/dovecot/dovecot-auth /usr/local/stow/dovecot-data/var/run/dovecot/core GNU gdb 6.3 [...] Core was generated by `dovecot-auth -w'. Program terminated with signal 11, Segmentation fault. [...] (gdb) bt full #0 0x00000000 in ?? () No symbol table info available. #1 0x08056954 in auth_worker_handle_passl (client=0x8089e18, id=3, args=0x808a082 "user=zlatko-mail\tservice=IMAP\tlip=192.168.1.3\trip=192.168.1.1\tsecured=1") at auth-worker-client.c:242 auth_request = (struct auth_request *) 0x808a3f0 credentials_str = 0x2 <Address 0x2 out of bounds> #2 0x08056c15 in auth_worker_handle_line (client=0x8089e18, line=0x808a078 "PASSL\t1\t2\tuser=zlatko-mail\tservice=IMAP\tlip=192.168.1.3\trip=192.168.1.1\tsecured=1") at auth-worker-client.c:326 id = 3 #3 0x08056ca7 in auth_worker_input (context=0x8085ac8) at auth-worker-client.c:359 client = (struct auth_worker_client *) 0x8089e18 line = 0x808a076 "3\tPASSL\t1\t2\tuser=zlatko-mail\tservice=IMAP\tlip=192.168.1.3\trip=192.168.1.1\tsecured=1" ret = 118 #4 0x0806b841 in io_loop_handler_run (ioloop=0x80851a8) at ioloop-poll.c:199 ctx = (struct ioloop_handler_context *) 0x80851d0 pollfd = (struct pollfd *) 0x80851f0 tv = {tv_sec = 1, tv_usec = 999620} io = (struct io *) 0x8089f88 t_id = 2 msecs = 134765256 ret = 0 call = true #5 0x0806ae89 in io_loop_run (ioloop=0x80851a8) at ioloop.c:329 No locals. #6 0x0805a04b in main (argc=2, argv=0xbfa36e98) at main.c:321 foreground = false (gdb) Please let me know if you need any additional info (log snippets, etc.). Thanks, Thomas -- =-------------------------------------------------------------------------- Thomas "ZlatkO" Zajic <zlatko at gmx.at> Linux-2.6.21 & Thunderbird-2.0 - - "It is not easy to cut through a human head with a hacksaw." (M. C.) - =-------------------------------------------------------------------------=
Thomas Zajic
2007-Aug-01 19:48 UTC
[Dovecot] dovecot: child 1690 (auth-worker) killed with signal 11
* Thomas Zajic, 2007-08-01 21:37> #1 0x08056954 in auth_worker_handle_passl (client=0x8089e18, id=3, > args=0x808a082 "user=zlatko-mail\tservice=IMAP\tlip=192.168.1.3\trip=192.168.1.1\tsecured=1") at auth-worker-client.c:242 > auth_request = (struct auth_request *) 0x808a3f0 > credentials_str = 0x2 <Address 0x2 out of bounds>Sorry, forgot to mention that in the original report: I don't know if that's important, but the problematic credentials_str *always* has the same value (0x2), in each and every core dump. HTH, Thomas -- =-------------------------------------------------------------------------- Thomas "ZlatkO" Zajic <zlatko at gmx.at> Linux-2.6.21 & Thunderbird-2.0 - - "It is not easy to cut through a human head with a hacksaw." (M. C.) - =-------------------------------------------------------------------------=
Timo Sirainen
2007-Aug-09 12:05 UTC
[Dovecot] dovecot: child 1690 (auth-worker) killed with signal 11
On Wed, 2007-08-01 at 21:37 +0200, Thomas Zajic wrote:> I've been seeing this for quite a while now, but only today finally got > off my lazy you-know-what and did a backtrace. Here's the requested info > as per http://dovecot.org/bugreport.html:..> #1 0x08056954 in auth_worker_handle_passl (client=0x8089e18, id=3, > args=0x808a082 "user=zlatko-mail\tservice=IMAP\tlip=192.168.1.3\trip=192.168.1.1\tsecured=1") at auth-worker-client.c:242 > auth_request = (struct auth_request *) 0x808a3f0 > credentials_str = 0x2 <Address 0x2 out of bounds>Thanks, this should fix it: http://hg.dovecot.org/dovecot-1.0/rev/870e4d1cf2b3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070809/f3363bab/attachment-0002.bin>
Thomas Zajic
2007-Aug-10 06:31 UTC
[Dovecot] dovecot: child 1690 (auth-worker) killed with signal 11
* Timo Sirainen, 2007-08-09 14:05> Thanks, this should fix it: > http://hg.dovecot.org/dovecot-1.0/rev/870e4d1cf2b3Yup, seems like it did - no more crashes so far. Thanks! :-) -- =-------------------------------------------------------------------------- Thomas "ZlatkO" Zajic <zlatko at gmx.at> Linux-2.6.22 & Thunderbird-2.0 - - "It is not easy to cut through a human head with a hacksaw." (M. C.) - =-------------------------------------------------------------------------=