doveadm + ldap userdb

Павел Батьков pbatkov at hostcomm.ru
Thu Oct 1 20:39:35 UTC 2015


Sorry, I attached old backtrace..

auth[28503]: segfault at 28 ip 00007f6aadc0c831 sp 00007ffc368ae0e0 
error 4 in auth[7f6aadbef000+49000]

(gdb) bt full
#0  auth_worker_server_resume_input (conn=0x0) at auth-worker-server.c:476
No locals.
#1  0x00007f6aadc1a4ee in userdb_blocking_iter_deinit 
(_ctx=_ctx at entry=0x7f6aae0e0ac8) at userdb-blocking.c:126
         ctx = <optimized out>
         ret = 0
#2  0x00007f6aadc008d1 in master_input_list_finish (ctx=0x7f6aae0e0ac0) 
at auth-master-connection.c:448
         __FUNCTION__ = "master_input_list_finish"
#3  0x00007f6aadc00e3d in auth_master_connection_destroy 
(_conn=_conn at entry=0x7ffc368ae140) at auth-master-connection.c:785
         conn = 0x7f6aae0df650
#4  0x00007f6aadc01b34 in auth_master_connections_destroy_all () at 
auth-master-connection.c:834
         conn = 0x0
#5  0x00007f6aadbfda5f in main_deinit () at main.c:279
         l = <optimized out>
#6  main (argc=1, argv=0x7f6aae09e3a0) at main.c:395
         c = <optimized out>


{   "signal": 11
,   "executable": "/usr/libexec/dovecot/auth"
,   "stacktrace":
       [ {   "crash_thread": true
         ,   "frames":
               [ {   "address": 140096158353457
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 120881
                 ,   "function_name": "auth_worker_server_resume_input"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 }
               , {   "address": 140096158409966
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 177390
                 ,   "function_name": "userdb_blocking_iter_deinit"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 }
               , {   "address": 140096158304465
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 71889
                 ,   "function_name": "master_input_list_finish"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 }
               , {   "address": 140096158305853
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 73277
                 ,   "function_name": "auth_master_connection_destroy"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 }
               , {   "address": 140096158309172
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 76596
                 ,   "function_name": "auth_master_connections_destroy_all"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 }
               , {   "address": 140096158292575
                 ,   "build_id": "f367e23a12ce8b183a0d3abe4abfe69734c0a787"
                 ,   "build_id_offset": 59999
                 ,   "function_name": "main"
                 ,   "file_name": "/usr/libexec/dovecot/auth"
                 } ]
         } ]
}

01.10.2015 15:28, Pavel Batkov пишет:
> Hi!
>
> OS: CentOS Linux release 7.1.1503 (Core)
> Dovecot: 2.2.18
> Run user listing - doveadm user '*', single user - work.
>
> auth[20540]: segfault at 8 ip 00007fd554340c6b sp 00007ffc17c886e0 
> error 4 in libauthdb_ldap.so[7fd55433b000+a000]
>
> dovecot: auth: Fatal: master: service(auth): child 20540 killed with 
> signal 11 (core dumped)
> dovecot: auth: Error: net_connect_unix(auth-worker) failed: No such 
> file or directory
>
> Backtrace:
>
> {   "signal": 11
> ,   "executable": "/usr/libexec/dovecot/auth"
> ,   "stacktrace":
>       [ {   "crash_thread": true
>         ,   "frames":
>               [ {   "address": 139954408369259
>                 ,   "build_id": 
> "62d54c5834c6675c5ec229927d4c087a3277c1d2"
>                 ,   "build_id_offset": 23659
>                 ,   "function_name": "ldap_input"
>                 ,   "file_name": 
> "/usr/lib64/dovecot/auth/libauthdb_ldap.so"
>                 }
>               , {   "address": 139954486291015
>                 ,   "build_id": 
> "9ab58d2125033b7eef9f04560a7d7d28737585ce"
>                 ,   "build_id_offset": 502343
>                 ,   "function_name": "io_loop_call_io"
>                 ,   "file_name": "/usr/lib64/dovecot/libdovecot.so.0"
>                 }
>               , {   "address": 139954486294735
>                 ,   "build_id": 
> "9ab58d2125033b7eef9f04560a7d7d28737585ce"
>                 ,   "build_id_offset": 506063
>                 ,   "function_name": "io_loop_handler_run"
>                 ,   "file_name": "/usr/lib64/dovecot/libdovecot.so.0"
>                 }
>               , {   "address": 139954486289816
>                 ,   "build_id": 
> "9ab58d2125033b7eef9f04560a7d7d28737585ce"
>                 ,   "build_id_offset": 501144
>                 ,   "function_name": "io_loop_run"
>                 ,   "file_name": "/usr/lib64/dovecot/libdovecot.so.0"
>                 }
>               , {   "address": 139954485950947
>                 ,   "build_id": 
> "9ab58d2125033b7eef9f04560a7d7d28737585ce"
>                 ,   "build_id_offset": 162275
>                 ,   "function_name": "master_service_run"
>                 ,   "file_name": "/usr/lib64/dovecot/libdovecot.so.0"
>                 }
>               , {   "address": 139954491066353
>                 ,   "build_id": 
> "9e3bf53b9c2ecb0bec470c65ace47166336e650f"
>                 ,   "build_id_offset": 59377
>                 ,   "function_name": "main"
>                 ,   "file_name": "/usr/libexec/dovecot/auth"
>                 } ]
>         } ]
> }
>
> From gdb:
>
> Core was generated by `dovecot/auth'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007f49accbac6b in ldap_input () from 
> /usr/lib64/dovecot/auth/libauthdb_ldap.so
>
> (gdb) bt full
> #0  0x00007f49accbac6b in ldap_input () from 
> /usr/lib64/dovecot/auth/libauthdb_ldap.so
> No symbol table info available.
> #1  0x00007f49b170aa47 in io_loop_call_io () from 
> /usr/lib64/dovecot/libdovecot.so.0
> No symbol table info available.
> #2  0x00007f49b170b8cf in io_loop_handler_run () from 
> /usr/lib64/dovecot/libdovecot.so.0
> No symbol table info available.
> #3  0x00007f49b170a598 in io_loop_run () from 
> /usr/lib64/dovecot/libdovecot.so.0
> No symbol table info available.
> #4  0x00007f49b16b79e3 in master_service_run () from 
> /usr/lib64/dovecot/libdovecot.so.0
> No symbol table info available.
> #5  0x00007f49b1b987f1 in main ()
> No symbol table info available.


More information about the dovecot mailing list