Maxim Balabaev
2010-Apr-13 21:34 UTC
[Dovecot] Dovecot 2.0.beta4: auth-worker keeps crashing
Centos 5.4 x64, icc hg rev 11147 log: Apr 14 01:16:17 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 01:16:25 imap-login: Info: Disconnected (auth failed, 2 attempts): user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 01:16:40 master: Error: service(auth-worker): child 8642 killed with signal 11 (core dumps disabled) Apr 14 01:16:40 auth: Error: auth worker: Aborted request: Worker process died unexpectedly Everything works, but it`s crashing every time Gdb info: (gdb) bt full #0 0x000000000041782f in auth_stream_reply_find () No symbol table info available. #1 0x0000000000417d97 in lookup_credentials_callback () No symbol table info available. #2 0x00000000004223a2 in passdb_handle_credentials () No symbol table info available. #3 0x0000000000425b1a in sql_query_callback () No symbol table info available. #4 0x0000000000430494 in driver_mysql_query () No symbol table info available. #5 0x000000000042f306 in sql_query () No symbol table info available. #6 0x0000000000425dcb in sql_lookup_credentials () No symbol table info available. #7 0x0000000000418cf5 in auth_worker_input () No symbol table info available. #8 0x00002ad5677acead in io_loop_handler_run () from /opt/dovecot/lib/dovecot/libdovecot.so.0 No symbol table info available. #9 0x00002ad5677ab8d9 in io_loop_run () from /opt/dovecot/lib/dovecot/libdovecot.so.0 No symbol table info available. #10 0x00002ad567796f56 in master_service_run () ---Type <return> to continue, or q <return> to quit--- from /opt/dovecot/lib/dovecot/libdovecot.so.0 No symbol table info available. #11 0x000000000041c79d in main () Hope to get this fixed :)
On 04/13/2010 11:34 PM Maxim Balabaev wrote:> Centos 5.4 x64, icc > hg rev 11147 > > log: > Apr 14 01:16:17 auth: Info: mysql: Connected to 127.0.0.1 (mail) > Apr 14 01:16:25 imap-login: Info: Disconnected (auth failed, 2 attempts): > user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured > Apr 14 01:16:40 master: Error: service(auth-worker): child 8642 killed with > signal 11 (core dumps disabled) > Apr 14 01:16:40 auth: Error: auth worker: Aborted request: Worker process > died unexpectedly > > Everything works, but it`s crashing every time > Gdb info: > (gdb) bt full > #0 0x000000000041782f in auth_stream_reply_find () > No symbol table info available. > #1 0x0000000000417d97 in lookup_credentials_callback () > No symbol table info available. > #2 0x00000000004223a2 in passdb_handle_credentials () > No symbol table info available. > #3 0x0000000000425b1a in sql_query_callback () > No symbol table info available. > #4 0x0000000000430494 in driver_mysql_query () > No symbol table info available. > #5 0x000000000042f306 in sql_query () > No symbol table info available. > #6 0x0000000000425dcb in sql_lookup_credentials () > No symbol table info available. > #7 0x0000000000418cf5 in auth_worker_input () > No symbol table info available. > #8 0x00002ad5677acead in io_loop_handler_run () > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #9 0x00002ad5677ab8d9 in io_loop_run () > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #10 0x00002ad567796f56 in master_service_run () > ---Type <return> to continue, or q <return> to quit--- > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #11 0x000000000041c79d in main ()Hm, not very informative that backtrace. It would be more helpful if you could provide some debug symbols. Where is your `doveconf -n` output? I've configured {pass,user}db driver = {pam,passwd-file,sql} (SQL PostgreSQL). All users from all userdbs are able to login. No crashes. Regards, Pascal -- The trapper recommends today: defaced.1010400 at localdomain.org -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3690 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20100414/f100bff0/attachment-0002.bin>
Maxim Balabaev
2010-Apr-14 06:16 UTC
[Dovecot] Dovecot 2.0.beta4: auth-worker keeps crashing
Users login ok, crashing after. If you want - contact me via mail - i`ll give you access>From log more infoApr 14 10:10:43 master: Info: Dovecot v2.0.beta4 starting up (core dumps disabled) Apr 14 10:10:47 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 10:10:47 master: Error: service(auth-worker): child 10988 killed with signal 11 (core dumps disabled) Apr 14 10:10:47 auth: Error: auth worker: Aborted request: Worker process died unexpectedly Apr 14 10:10:47 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 10:10:53 imap-login: Info: Login: user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 10:10:53 imap(webmaster@): Debug: Effective uid=5000, gid=5000, home=/var/vmail/webmaster@/ Apr 14 10:10:53 imap(webmaster@): Debug: maildir++: root=/var/vmail/webmaster@, index=, control=, inbox=/var/vmail/webmaster@ Apr 14 10:10:53 imap(webmaster@): Info: Disconnected: Logged out bytes=56/744 Apr 14 10:10:53 master: Error: service(auth-worker): child 10989 killed with signal 11 (core dumps disabled) Apr 14 10:10:53 auth: Error: auth worker: Aborted request: Worker process died unexpectedly Apr 14 10:10:53 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 10:10:59 imap-login: Info: Login: user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 10:10:59 imap(webmaster@): Debug: Effective uid=5000, gid=5000, home=/var/vmail/webmaster@/ Apr 14 10:10:59 imap(webmaster@): Debug: maildir++: root=/var/vmail/webmaster@, index=, control=, inbox=/var/vmail/webmaster@ Apr 14 10:10:59 imap(webmaster@): Info: Disconnected: Logged out bytes=83/1022 Apr 14 10:10:59 auth: Error: auth worker: Aborted request: Worker process died unexpectedly Apr 14 10:10:59 master: Error: service(auth-worker): child 10992 killed with signal 11 (core dumps disabled) Apr 14 10:10:59 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 10:11:03 auth: Error: auth worker: Aborted request: Worker process died unexpectedly Apr 14 10:11:03 master: Error: service(auth-worker): child 10996 killed with signal 11 (core dumps disabled) Apr 14 10:11:03 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 10:11:05 imap-login: Info: Login: user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 10:11:05 imap(webmaster@): Debug: Effective uid=5000, gid=5000, home=/var/vmail/webmaster@/ Apr 14 10:11:05 imap(webmaster@): Debug: maildir++: root=/var/vmail/webmaster@, index=, control=, inbox=/var/vmail/webmaster@ Apr 14 10:11:05 imap-login: Info: Login: user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 10:11:05 imap(webmaster@): Debug: Effective uid=5000, gid=5000, home=/var/vmail/webmaster@/ Apr 14 10:11:05 imap(webmaster@): Debug: maildir++: root=/var/vmail/webmaster@, index=, control=, inbox=/var/vmail/webmaster@ Apr 14 10:11:05 imap(webmaster@): Info: Disconnected: Logged out bytes=71/741 Apr 14 10:11:05 imap(webmaster@): Info: Disconnected: Logged out bytes=343/5562 doveconf - driver mysql. mysql also compiled by icc. CC=icc CXX=icpc CPPFLAGS='-I/opt/mysql/include/mysql' LDFLAGS='-L/opt/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm' CFLAGS='-I/opt/mysql/include/mysql -O2 -gcc' ./configure --with-ssl=openssl --with-pop3d --without-passwd --without-passwd-file --without-shadow --without-static-userdb --without-ldap --prefix=/opt/dovecot --with-mysql auth_mechanisms = plain login cram-md5 disable_plaintext_auth = no first_valid_uid = 5000 last_valid_uid = 5000 log_path = /var/log/dovecot.log mail_debug = yes mail_gid = 5000 mail_location = maildir:%h mail_uid = 5000 passdb { args = /opt/dovecot/etc/dovecot/dovecot-sql.conf driver = sql } protocols = pop3 imap service auth { unix_listener auth-userdb { group = vmail mode = 0666 user = vmail } } ssl = no ssl_cert = /etc/ssl/certs/dovecot.pem ssl_key = /etc/ssl/private/dovecot.pem userdb { args = /opt/dovecot/etc/dovecot/dovecot-sql.conf driver = sql } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } protocol lda { info_log_path = /var/log/dovecot-deliver.log log_path = /var/log/dovecot-deliver.log postmaster_address = spam at example.ru } 2010/4/14 Pascal Volk <user+dovecot at localhost.localdomain.org<user%2Bdovecot at localhost.localdomain.org>>> On 04/13/2010 11:34 PM Maxim Balabaev wrote: > > Centos 5.4 x64, icc > > hg rev 11147 > > > > log: > > Apr 14 01:16:17 auth: Info: mysql: Connected to 127.0.0.1 (mail) > > Apr 14 01:16:25 imap-login: Info: Disconnected (auth failed, 2 attempts): > > user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured > > Apr 14 01:16:40 master: Error: service(auth-worker): child 8642 killed > with > > signal 11 (core dumps disabled) > > Apr 14 01:16:40 auth: Error: auth worker: Aborted request: Worker process > > died unexpectedly > > > > Everything works, but it`s crashing every time > > Gdb info: > > (gdb) bt full > > #0 0x000000000041782f in auth_stream_reply_find () > > No symbol table info available. > > #1 0x0000000000417d97 in lookup_credentials_callback () > > No symbol table info available. > > #2 0x00000000004223a2 in passdb_handle_credentials () > > No symbol table info available. > > #3 0x0000000000425b1a in sql_query_callback () > > No symbol table info available. > > #4 0x0000000000430494 in driver_mysql_query () > > No symbol table info available. > > #5 0x000000000042f306 in sql_query () > > No symbol table info available. > > #6 0x0000000000425dcb in sql_lookup_credentials () > > No symbol table info available. > > #7 0x0000000000418cf5 in auth_worker_input () > > No symbol table info available. > > #8 0x00002ad5677acead in io_loop_handler_run () > > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > > No symbol table info available. > > #9 0x00002ad5677ab8d9 in io_loop_run () > > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > > No symbol table info available. > > #10 0x00002ad567796f56 in master_service_run () > > ---Type <return> to continue, or q <return> to quit--- > > from /opt/dovecot/lib/dovecot/libdovecot.so.0 > > No symbol table info available. > > #11 0x000000000041c79d in main () > > Hm, not very informative that backtrace. It would be more helpful if you > could provide some debug symbols. > Where is your `doveconf -n` output? > > I've configured {pass,user}db driver = {pam,passwd-file,sql} (SQL > PostgreSQL). All users from all userdbs are able to login. No crashes. > > > Regards, > Pascal > -- > The trapper recommends today: defaced.1010400 at localdomain.org > >
Timo Sirainen
2010-Apr-14 13:12 UTC
[Dovecot] Dovecot 2.0.beta4: auth-worker keeps crashing
On Wed, 2010-04-14 at 01:34 +0400, Maxim Balabaev wrote:> #0 0x000000000041782f in auth_stream_reply_find () > No symbol table info available. > #1 0x0000000000417d97 in lookup_credentials_callback () > No symbol table info available.Hmm. Did I just fix this with http://hg.dovecot.org/dovecot-2.0/rev/4f06636cd03f ? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100414/91f0c4d1/attachment-0002.bin>