[Dovecot] Error: service(auth): child 2212 killed with signal 11
Hi,
Auth always crash (segfault) using vpopmail backend.
Any idea ?
vpopmail 5.5.0 os: ubuntu 10.04 on rackspace cloud
# dovecot -n
dovecot -n # 2.0.1: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.35.1-rscloud x86_64 Ubuntu 10.04.1 LTS auth_debug = yes auth_mechanisms = plain login cram-md5 auth_verbose = yes auth_verbose_passwords = plain disable_plaintext_auth = no first_valid_uid = 89 log_path = /var/log/dovecot/dovecot.log mail_debug = yes passdb { driver = vpopmail } protocols = imap pop3 service auth { unix_listener auth-userdb { group = vchkpw mode = 0600 user = vpopmail } user = root } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = vpopmail }
Log:
Aug 28 10:59:48 auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth Aug 28 10:59:48 auth: Debug: auth client connected (pid=2211) Aug 28 10:59:49 auth: Debug: client in: AUTH 1 CRAM-MD5 service=imap secured lip=184.106.217.69 rip=178.32.33.247 lport=143 rport=49099 Aug 28 10:59:49 auth: Debug: client out: CONT 1 PDM3MjI0MzQ4NjQzNTI3NjUuMTI4Mjk5MzE4OUByYWNrc3BhY2UuZGVkaW1haWwuZXU+ Aug 28 10:59:49 auth: Debug: client in: CONT<hidden> Aug 28 10:59:49 auth: Debug: vpopmail(toorop@respublica.fr,178.32.33.247): lookup user=toorop domain=respublica.fr Aug 28 10:59:49 auth: Debug: client out: OK 1 user=toorop@respublica.fr Aug 28 10:59:49 auth: Debug: master in: REQUEST 1 2211 1 e4920e51f96ae453663098df19c5b374 Aug 28 10:59:49 auth: Debug: vpopmail(toorop@respublica.fr,178.32.33.247): lookup user=toorop domain=respublica.fr Aug 28 10:59:49 imap-login: Info: Internal login failure (auth failed, 1 attempts): user=<toorop@respublica.fr>, method=CRAM-MD5, rip=178.32.33.247, lip=184.106.217.69, mpid=2214, TLS Aug 28 10:59:49 master: Error: service(auth): child 2212 killed with signal 11 (core dumps disabled)
strace : http://pastebin.com/kYsWHP5J
Thanks,
-- Toorop
«Ils ne savaient pas que c'était impossible, alors ils l'ont fait.» Mark Twain
On 28.8.2010, at 12.15, Toorop wrote:
Auth always crash (segfault) using vpopmail backend.
Any idea ?
Could you get gdb backtrace? http://dovecot.org/bugreport.html
Le 28/08/2010 13:25, Timo Sirainen a écrit :
Could you get gdb backtrace? http://dovecot.org/bugreport.html
gdb /usr/local/libexec/dovecot/auth /usr/local/var/run/dovecot/core GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 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/>... Reading symbols from /usr/local/libexec/dovecot/auth...done. [New Thread 2266]
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/local/lib/dovecot/libdovecot.so.0...done. Loaded symbols for /usr/local/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /home/vpopmail/lib/libvpopmail.so...(no debugging symbols found)...done. Loaded symbols for /home/vpopmail/lib/libvpopmail.so Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /home/vpopmail/etc/vpopmail.authmodule...(no debugging symbols found)...done. Loaded symbols for /home/vpopmail/etc/vpopmail.authmodule Core was generated by `dovecot/auth'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000000000 in ?? () (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x000000000041f735 in vpopmail_lookup (auth_request=0x23c4358, callback=0x410770 <auth_request_userdb_callback>) at userdb-vpopmail.c:99 _module = 0x23b13f0 vpop_user = "toorop", '\000' <repeats 74 times> vpop_domain = "respublica.fr", '\000' <repeats 67 times> vpw = 0x7fd8cdf51ce0 quota = <value optimized out> uid = <value optimized out> gid = <value optimized out> #2 0x00000000004109d6 in auth_request_lookup_user (request=0x23c4358, callback=<value optimized out>) at auth-request.c:826 userdb = 0x23b13f0 cache_key = <value optimized out> #3 0x0000000000411473 in auth_request_handler_master_request (handler=0x23c26a8, master=0x23c02a0, id=1, client_id=<value optimized out>) at auth-request-handler.c:613 request = 0x23c4358 reply = 0x23a8478 #4 0x000000000040d864 in master_input_request (conn=0x23c02a0) at auth-master-connection.c:103 client_id = 1 cookie = "\376\\\305!\273$\246\227\306\061vA\237\021\vb" buf = {data = 0x7fff84848860, used = 16, priv = {0x7fff84848860, 0x0, 0x10, 0x0, 0x0}} client_conn = 0x23a8538 id = 1 client_pid = 2265 #5 auth_master_input_line (conn=0x23c02a0) at auth-master-connection.c:413 No locals. #6 master_input (conn=0x23c02a0) at auth-master-connection.c:466 _data_stack_cur_id = 3 line = <value optimized out> ret = <value optimized out> #7 0x00007fd8ceda6e85 in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:212 ctx = 0x23bc0a0 event = 0x23bc110 list = 0x23c5170 io = 0x23c5130 tv = {tv_sec = 149, tv_usec = 995353} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 call = <value optimized out> #8 0x00007fd8ceda5f88 in io_loop_run (ioloop=0x23b05e0) at ioloop.c:350 No locals. #9 0x00007fd8ced958a3 in master_service_run (service=0x23b04b0, callback=0x7fff84848660) at master-service.c:496 No locals. #10 0x00000000004163d4 in main (argc=1, argv=0x23b0370) at main.c:282 c = <value optimized out>
If you want i can give you root acces, it's a testing VPS.
-- Toorop «Ils ne savaient pas que c'était impossible, alors ils l'ont fait.» Mark Twain
Le 28/08/2010 13:25, Timo Sirainen a écrit :
Auth always crash (segfault) using vpopmail backend.
Any idea ?
Could you get gdb backtrace? http://dovecot.org/bugreport.html
It works with vpopmail 5.4.30 (Same config, same host).
-- Toorop
«Ils ne savaient pas que c'était impossible, alors ils l'ont fait.» Mark Twain
participants (2)
-
Timo Sirainen
-
Toorop